[Dave Jones] from EEVBlog.com takes “Arduino fan boys” off the garden path getting down and dirty with different methods to capture, evaluate and retransmit IR remote control codes. Capturing and reproducing IR remote control codes is nothing new, however, [Dave] carves his own roads and steers us around some “traps for young players” along the way.
[Dave] needed a countdown timer that could remotely start and stop recording on his Cannon video camera, which he did with simplicity in a previous EEVBlog post using a commercial learning remote control unit. The fans demanded better so he delivered with this excellent tutorial capturing IR codes on his oscilloscope from an IR decoder (yellow trace) as well as using an IR photo transistor (blue trace) which showed the code inclusive of 38 KHz carrier frequency. Either capture method could easily be used to examine the transmitted code. The second lesson learned from the captured waveforms was the type of code modulation being used. [Dave’s] remote transmitted NEC (Japanese) pulse length encoding — which can be assertaind by referencing the Infrared Remote Control Techniques (PDF). Knowing the encoding methodology it was trivial to manually translate the bits for later use in an Arduino transmitter sketch. We find it amazing how simple [Dave] makes the process seem, even choosing to write his own sketch to reproduce and transmit the IR codes and carrier instead of taking the easy road looking for existing libraries.
A real gem of knowledge in the video was when it didn’t work! We get to follow along as [Dave] stumbles before using a Saleae Logic analyzer to see that his transmitter was off frequency even though the math in his sketch seemed correct. Realizing the digital write routine was causing a slowdown he fudged his math to make the needed frequency correction. Sure, he could have removed the performance glitch by writing some custom port control but logic dictates using the fastest and simplest solution when hacking a one-off solution.
[Dave’s] video and links to source code after the break.
Continue reading “Learn to Translate IR Codes and Retransmit Using Arduino”
Since the 70s, NASA, NOAA, and the USGS have been operating a series of satellites designed to look at vegetation health around the world. These satellites, going under the name Landsat, use specialized camera filters that look at light reflecting off chlorophyll to gauge the health of forests, plains, oceans, and even farms. It’s all very interesting technology, and a few very cool people want to put one of these near infrared cameras in the hands of everyone.
The basic idea behind gauging the health of plants from orbit, or the Normalized Difference Vegetation Index, is actually pretty simple: absorb red and blue light (thus our verdant forests), and reflect nearly all infrared light. By removing the IR filter from a digital camera and adding a ‘superblue’ filter, the NDVI can be calculated with just a little bit of image processing.
The folks behind this have put up a Kickstarter with rewards including a modified webcam, a custom point and shoot camera, and a very low-cost source of one of these superblue filters. Just the thing to see how your garden grows or how efficiently you can kill a houseplant.
[Michael Kohn] only accomplished about half of what he set out to, but we still think his TV channel switcher from a Chromebook turned out nicely. When starting the project he wanted to include a grid of listing so that he could choose a specific program, but decided that scraping the data was too much work for this go-round.
The Chromebook doesn’t include an IR transmitter so he built one using an MSP430 chip. He had previously built a little transmitter around an AVR chip and was surprised to find that the internal oscillator on that was quite a bit more accurate than on the MSP430. Timing is everything with the Manchester encoded signals used for IR remote controls so he used his oscilloscope to tune the DCO as accurately as possible.
Continue reading “Chromebook hack controls your television”
For a final design project, [Frank] and his group took on an augmented reality project. The goal was to make objects interactively controllable by pointing a smartphone at them. Their solution was Augmented Reality Universal Controller and Identifier (ARUCI).
The system locates controllable objects by sensing IR beacons that contain identifiers for each object. The IR is received by a Wiimote sensor, which has been integrated into a custom PCB. This board sits in a 3D printed enclosure, and mounts to the back of a smartphone. The electronics are powered by tapping off of the phone’s battery.
Commands are sent to devices using a custom 2.4 GHz protocol which was implemented using the ATmega128RFA1. Each device has another ATmega to receive the signal and control the real world object. In their demo, the group shows the system controlling devices including a TV, a radio, and an RC car.
The system provides an interesting way to interact with objects, and the hardware integration is quite impressive. After the break, watch [Frank] give a demo.
Continue reading “IR Based Augmented Reality”
We’re really starting to enjoy the home entertainment control hacks which use a universal receiver to act on commands from any remote. This one is especially interesting as it uses a single remote to control the system but rolls in lots of extras.
Looking at the receiver itself the white plastic dome of the PIR sensor should raise an eyebrow. Since the cable box takes a while to turn on [Ivan] included the motion sensor to switch that component on when you walk into the room. This way it’ll be ready to go by the time you sit down. It does this by sending IR signals from the PIC32 dev board. Of course the board has its own receiver to listen for the remote control commands. The remote buttons have been mapped a bit differently than originally intended. You can see in the diagram above that the normal VCR/DVD/DVR buttons have been set to control the room’s LED strips. There’s even a power consumption monitor rolled into the project. All of these features are demonstrated in the clip after the break.
This is a nearly perfect base setup. But we’d love to see it with a web interface at some point in the future.
Continue reading “Eloquent universal receiver for your home entertainment equipment”
If you want to check your house for hot air leaks, take pictures of the heat coming off a rack of equipment, or just chase the most dangerous animal, [Arnie], through the jungles of central america, a thermal imaging camera is your friend. These devices normally cost a few thousand dollars, but the team behind the Mu Thermal Camera managed to get the price down to about $300.
The basic idea behind the Mu Thermal Camera is overlaying the output of an infrared thermopile – basically, an infrared camera – on top of the video feed of a smart phone’s camera. This is an approach we’ve seen before and something that has even been turned into a successful Kickstarter. These previous incarnations suffered from terrible resolution, though; just 16×4 pixels for the infrared camera. The Mu thermal camera, on the other hand, has 160×120 pixels of resolution. That’s the same resolution as this $2500 Fluke IR camera. After the indiegogo campaign is over, the Mu camera will eventually sell for $325.
We have no idea how the folks behind the Mu camera were able to create a thermal imaging with such exceptional resolution at this price point. The good news is the team will be open sourcing the Mu camera after their indiegogo run is over. W’e’d love to see those docs now, if only to figure out how a thousand dollars of infrared sensor is crammed into a $300 device.
This pair of musical keyboard hacks both use light to detect inputs. The pair of tips came in on the same day, which sparks talk of consipiracy theory here at Hackaday. Something in the weather must influence what types of projects people take on because we frequently see trends like this one. Video of both projects is embedded after the jump.
On the left is a light-sensitive keyboard which [Kaziem] is showing off. In this image he’s rolling a marble around on the surface. As it passes over the Cadmium Sulfide sensors (which are arranged in the pattern of white and black keys from a piano keyboard) the instrument plays pitches based on the changing light levels. [Thanks Michael via Make]
To the right is [Lex’s] proximity sensor keyboard. It uses a half-dozen Infrared proximity sensor which pick up reflected light. He calls it a ‘quantised theremin’ and after seeing it in action we understand why. The overclocked Raspberry Pi playing the tones reacts differently based on distance from the keyboard itself, and hand alignment with the different sensors.
Continue reading “Pair of musical hacks use sensor arrays as keyboards”