$10 Camera Module For Your Next FPGA Project

Here is [Voelker] showing off his FPGA-based camera hardware. He picked up an ov7670 camera on eBay for about $10 and set to work pulling pixels and processing the images. He’s now able to grab thirty frames per second and push them to his own Java display application. He’s using the Papilio board and if you want to give this a try yourself you might be able to snag a free breakout board (wing) for the unit.

[Voelker’s] approach is to grab each frame, and get it ready for quick serial transmission. The incoming frames are at 640×480 resolution. He scales that down to 80×60 and transmitted at 3M baud. The hardware resources used are actually quite light-weight. He wrote his own modules for transfer and photo processing using very little RAM for downscaling and one 128 byte buffer for data transmission. It sounds like he plans to use the camera to view and detect a line to create his own line-following robot.

Wondering where you’ve seen the ov7670 module before? It’s the part used on the TRAKR robot.

CAN Bus For Home Automation

Here’s one node on the new home automation system on which [Black Rynius] is working. So far he’s testing out the system with just two nodes, but plans to build more as the project progresses. He’s chosen to use the CAN bus for communications; a protocol which is most commonly found in automotive applications.

The biggest plus about using the CAN bus is that it requires just one pair of wires for communications. As you can see, there’s an old doorbell included on this board and he’s hoping to use the existing doorbell wire to connect between nodes. Each unit includes a PIC 18F4580 which has a CAN engine built into it for easy protocol translation. There is also an MCP2551 which handles the transmissions. You can read a bit more about the hardware choices in his breadboarding post.

So far almost everything is working as planned. He’s able to send and receive data between the two boards including temperature from a sensor and time from a DS1305 RTC chip. The one thing that vexes him is that doorbell. It draws too much current for the wall wart that’s powering the board, browning out the microcontroller and causing a reset. That’s not a hard fix and we look forward to more developments in the near future.

[via Dangerous Prototypes]

Short And Squat Balancing Bot Is Extremely Stable

[Lauszus] really put together an impressive self balancing robot platform. It is virtually motionless when balancing in place, and that stability is never lost even when motoring across the room.

Part of the success behind this build is the use of quality components. He’s got a really nice set of motors with built-in encoders which give feedback to the balancing system. They work in conjunction with a gyroscopic sensor and PID code to keep the two-wheeled platform upright. An mbed board running 96 MHz provides plenty of computing power for the balancing system. But an Arduino can also be found on board. This was included to facilitate Bluetooth connectivity with the remote control as [Lauszus] didn’t want to port the code he had already written.

The fourteen minute video after the break shares the details behind how the PID controller is tuned and how [Lauszus] implements target angle and a few other factors. Of course he talks about the hardware choices, and demonstrates functionality by driving the bot around using a wireless PS3 controller.

The construction method which uses masonite strips and threaded rod does a good job of protecting the hardware mounted on it. We’re always a bit worried about these bots falling over and some of the projects we see offer little or no protection. Once thing that helps protect against a spill is a piezo buzzer which sounds when the battery is getting low.

Continue reading “Short And Squat Balancing Bot Is Extremely Stable”

Preheat Alarm Added To A Basic Kitchen Oven

[Justin] didn’t want to keep checking if the ‘oven heating’ indicator light had gone off before popping his unbaked edibles into the oven. Many models offer a buzzer to let you know when the chosen temp is reached, but for folks who own a basic oven model there’s just a light that tells when the heating element is getting juice. Not to worry, he plied his circuit design skills and built a buzzer to alert him when the oven’s ready.

It only took a few components to accomplish the task. [Justin] uses a pair of NPN transistors triggered by a photoresistor. One transistor is responsible for switching on the buzzer, the other transistor is driven by the photoresistor and controls the base of its companion transistor (see the schematic for a better understanding).

He designed and etched a small PCB to host all the parts. As you can see above, it mounts over the indicator light and is powered by a 9V battery. There’s an on/off switch to the right so the buzzer doesn’t keep triggering while cooking, and a potentiometer allows him to fine-tune the photoresistor sensitivity.

Adding A Lot Of Twinkle To This Rebar Sculpture

Blinky lights have a way of attracting attention and that’s exactly what the members of the Maui Makers hackerspace were shooting for. The sculpture above is the logo for the Source festival, a Burning Man inspired music gathering in the Aloha state. For this year’s festival they went crazy, installing twelve meters of RGB LED strip controlled by seven Arduino boards.

The goal was to make the twelve-foot tall sculpture into a lighted interactive showpiece. In addition to the LEDs it includes a microphone, capacitance sensors, Bluetooth connectivity, and a piezo speaker. There’s one Arduino to rule them all, with another Teensy controller to drive an LCD display in the control box, and five Teensy boards to address the LED strips. They grabbed [Bill Porter’s] Easy Transfer library to facilitate communication between the microcontrollers (his libraries are becoming popular, we just saw his mp3 shield library used in another project on Tuesday).

The code which drives the LED animations is based on some Adafruit examples. We really enjoy the waving flag effect seen in the clip after the break.

Continue reading “Adding A Lot Of Twinkle To This Rebar Sculpture”

Sensor Rig Finds Out If Motorists Are Sharing The Road With Cyclists

Apparently there’s some cause for concern when it comes to bikes and automobiles sharing the roads in Austin, Texas. [Christopher Stanton] wrote in to tell us there’s a law on the books now that requires motorists to give three feet of space when passing a cyclist. This is pretty difficult to enforce as there’s no solid proof like the radar gun provides when it comes to speed limits. The hardware above is seeking to help by collecting data on passing habits. It measures and records the distance of each vehicle that passes you while on the bike. The goal isn’t to ticket more drivers, it’s to collect statistical data that might help change dangerous driving habits.

As you can see, a front equipment rack hosts the hardware for easy installation on a bike. It has an arm that extends to the side the same distance as the handle bars. The HD camera with wide-angle lens is set to snap a photo which can be used to determine the bike and vehicle positions in the lanes, along with the distance readout from the sensor.

We’d certainly be interested in seeing the numbers for average passing clearance in a heavily traveled urban environment. Even with bike lanes, things can feel pretty tight on a busy day!

Foot-controlled Mouse Keeps Your Hands On The Keyboard

A bit of mechanical ingenuity makes building this foot-controlled mouse into a fun project. It consists of a platform which hosts one pedal for each foot. The right foot controls the movement of the cursor, and the left is responsible for the buttons.

The guts of a wireless mouse do most of the electrical work for this hack. You can see that the optical sensor is mounted on the front of the right foot pedal. A ball bearing combined with a hinge provides motion on two axes. This moves the sensor past a piece of curved foam made by covering a ball with plastic wrap then spraying foam insulation around it. The pedal on the left has four buttons actuated by moving the toes down, up, left, or right. There’s a centering mechanism for this pedal which uses a rubber band

One thing we wonder about here is whether there is a need to lift and re-center the mouse/cursor? There is also no scroll wheel. But those issues are just waiting for someone to pick up the project and make their own improvements.