Sluggy Wind Speed Sensor

Sometimes when we look at a hack, its to see how someone chose those parts for the project. In this case, it would have been hard to see it coming. [Janne Jansson] decided to combine a set of measuring cups, a hacked Linksys NSLU2 NAS, and a PS/2 Mouse together to make a self-contained Wind Speed Sensor for his roof. The measuring cups act as wind catchers, which in turns drives the rotation of one of the mouse ball sensors. This data is then logged and transmitted by the NSLU2. The NSLU2 is running a custom Linux based firmware, similar to how OpenWRT works for wireless routers.

To calibrate the device, he also made the best logical choice: to duct tape it to the hood of his car along with a much more expensive wind sensor and use that data to make his own device as accurate as possible. When placed atop his house with a 1500VA 220V UPS, the device managed 250 days of uptime before meeting its demise. Those 250 days also included 5 days of being frozen solid, yet still transmitting (somewhat meaningless) data. All of the relevant code and build instructions are available, for those of you with similar parts to spare.

Motion Activated Wildlife Camera (or A Spy Device)

Now you can capture pictures of our furry friends by building a motion activated wildlife camera. [Doug Paradis] took his Air Freshener hack and used it to trigger a camera. The white dome in the picture above is the PIR sensor from an Air Wick Freshmatic, along with a cheap keychain camera and an MSP430 microcontroller. He used one of the chips that came with the TI Launchpad, a transistor, and some discreet components to interface the devices and then put them into a project box. Now he’s got a fully configurable motion-sensing camera.

Arduino + Java + Joystick

Interfacing your own hardware with a Java app couldn’t be easier than this example. [Pn] created this proof-of-concept using an Arduino, an analog joystick from a gaming controller, and a few lines of Java code. The Arduino reads an ADC value from the joystick’s x-axis and transmits it over the serial connection ten times a second. The Java program triggers on every serial event, parsing the data based on the @ symbol that the Arduino sends as a start and end condition.

We like this kind of example because there’s nothing extra involved. It lets you take the concept and run with it in any project imaginable. Be it a more complicated Joystick, or simple sensors that you’d like to interface with.

Playing Piano With Optical Sensors

[Sebastian] is trying to improve the responsiveness of an electric keyboard. He was unsatisfied with the lack of adequate sensitivity to keystroke. The first step in his process was to measure how fast the quickest keystroke actually is. By setting up an LED and phototransistor and taking some measurements he found that sampling at 1 kHz would be more than adequate.

With initial testing complete he ordered some CNY70 transmissive/reflective light sensors that can be place below the keys. He measures the sensor with the ADC on an ATmega16 microcontroller. Running at 16 MHz he can sample each of the eight analog-to-digital converter channels at 1202 Hz. After doing a bunch of math he put together some lookup tables that are used to translate the ADC data into midi signals. We’ve embedded a video of one sensor controlling the midi program PianoTeq. [Sebastian] also sent us a schematic of one node in the sensor network (see it after the break).

When everything is said and done he plans to use eleven ATmega16 microcontrollers to address the 88 keys, with an additional microcontroller to act as the master using a two-wire interface for communications.

Update: [Sebastian] put up a webpage with a fairly verbose description. Reading it straight from the source really clears up a lot of questions.

 

Continue reading “Playing Piano With Optical Sensors”

Projectile Speed Sensor

[Mike] built a sensor rig to measure projectile speed. The setup uses a tunnel with two sensors in it. Each consists of a laser diode on one side focused on a photodiode in the other. The two are monitored by an op amp and measured by an ATmega128 microcontroller. When the beams are broken the elapsed time between the two events is measured in order to calculate speed. There is a setting to adjust the calibration for a range of speeds, which came in quite handy as [Mike] initially tested the device with rubber bands before moving on to a pellet gun and then a rifle.

It seems like he’s tempting fate by shooting a target just a few inches below his exposed circuitry but his marksmanship prevailed. We’ve seen bullet speed detectors in the past, used just for the delight of seeing how fast the projectile is moving, and also to capture an impact at just the right instant.

Pressure Mapping Sensor Mat

[imsolidstate] built his own pressure sensitive mat. It utilizes two discs of copper clad board with a piece of foam in between for each of 64 sensors. As the foam gets compressed, the capacitance between the two pieces of copper changes, a measurement that is fairly easy to make with an analog to digital converter. The mat is being used to measure how well a horse saddle fits the animal. Data is read in through a serial port and then mapped using Excel. This prototype proves that the concept works but [imsolidstate] mentions that there’s room to improve the sensitivity and that there could be more noise filtering incorporated into the design.

Modem Used In An Alarm System

This alarm system senses motion and then alerts you by phone. [Oscar] had an old external modem sitting around and, with some wise hardware choices, he came up with a simple circuit to use it. First up is the PIC 16F628A chosen because it doesn’t require an external crystal. This connects with the modem via a DS275 RS232 transceiver because it requires no external parts for connection. The final portion of the puzzle is a PIR sensor that triggers a pin interrupt in the sleeping PIC, which then dials your number to alert you. It doesn’t look like anything happens other than your phone ringing, but that’s enough for a simple system. We’re just happy to see how easy it was to use that modem… time to go hunting for one in dreaded junk trunk. Don’t miss the clip after the break.

Continue reading “Modem Used In An Alarm System”