Low-cost Sensing And Communication With An LED

ledtouch_photo

LEDs are extremely common in electronic devices. They are used as light emitters, but can also be used as light detectors since they are photodiodes. By quickly switching between light emitting and detecting, you can use the LEDs to determine the ambient lighting and even do bidirectional communication. MERL has a good paper covering the basics of how this system works and how they used it as a “last-centimeter” communication device. The system can be implemented using one LED, a resistor, and two I/O pins. So, it could be used cheaply in almost any device. The microprocessor quickly switches the LED between emitting light, detecting light (LED acts as a charging capacitor), and measuring the discharge rate of the LED to determine light level. Jeff Han has a neat video demo of how this system can be used as a proximity sensor.

UPDATE: [hawkeyeaz1] pointed to a blog covering one person’s investigations into LED sensors.

[thanks branen]

Hacking The Commodore 64 DTV Version 2

c64

The original C64 DTV was a joystick containing 30 games sold in 2004. It attracted hackers because it could be modified into a fully functioning console. The latest version of the chip is being sold inside a Radio Shack Hummer game. This version fixes bugs in the original and adds several features to improve memory access and CPU speed. Before you get started there are several modifications that need to be done to improve the video and audio quality of the system. Once these mods are complete you can start playing with the machine just like an original C64. Oh, the Hummer game will look a lot better too.

[thanks av1d]

Continue reading “Hacking The Commodore 64 DTV Version 2” →

Ball And Plate Doohickey

ball table

So, if you were wondering what [Kenn Sebesta] was working on that needed yesterday’s hack, this is it. The plate can maintain the cue ball in its current position or make it travel an arbitrary path like a circle or figure-eight. It can also avoid obstacles placed on the plate. Kenn has documented his project thoroughly and covers many of the problems he faced along the way, like how to find the ball in the webcam image. Like most quality thesis projects, it’s constructed out of LEGO.

UPDATE: Now with video!

Continue reading “Ball And Plate Doohickey” →

Digitally Reading Analog Gauges

analog gauge

While working on his masters degree in controls and robotics, Hack-A-Day reader [Kenn Sebesta] developed a cheap method for digitally reading analog gauges. This method was necessitated by needing to take over 3000 measurements using a dial indicator during his thesis work. The system is implemented in Matlab and uses a webcam to take a picture of the gauge. Once picture is taken it goes through several steps: First, it is reduced to a single color. Then, edge extraction is used to find the lines. Next, the lines are thickened. Finally, the Hough transform is applied to find the longest line: the needle. All that is left to do is measure the arc back to the zero point and match it to your scale. Using this method Kenn’s laptop can take 4 measurements per second.

Continue reading “Digitally Reading Analog Gauges” →

Hack-A-Day Extra

phoney

The tip line has been pretty dry lately. Not really a lack submissions, just a lot stuff I can’t use because it has been covered everywhere else, like the multi-touch display. I’m not going to dedicate an entire day to something that’s already been on Engadget, Make, or Slashdot because you guys would be seriously pissed off. Reader tips drive this site and I would like to thank everyone that sends them in. You’re the reason this site stays fresh and original.

The Team Hack-A-Day folding team is looking for ways to boost production (being #47 is pretty good though). If you don’t know what the team is about, [Billy the Impaler] has a Valentine for you: The New & Improved Illustrated Folding@home Guide.

The #hackaday channel is still alive and well on EFnet. More links after the break.

Continue reading “Hack-A-Day Extra” →