Hexbug code rewrite makes it a walking line-follower

You know you’ve got a good hardware platform if you can easily repurpose it with a code rewrite. And that’s what [Eric] continues to do with these little Hexbugs. This time around he’s bent the IR emitter and receiver downward to use as a reflectance sensor. This gives it the ability to follow a dark line on a light surface.

He originally patched an MSP430 into the $25 RC toy. The IR pair was intended for obstacle avoidance, which we saw in a recent links post. This hack does a great job of repurposing the avoidance system. Since the add-on hardware is mounted on a motorized turret, the single sensor pair can sweep back and forth to find the line it will follow. In one way this is better than most line followers which use multiple sensors mounted to the body. But the drawback is that this results in slower travel and won’t be winning any contests. Don’t miss the demo clip after the break.

[Read more…]

Robotic Etch-a-Sketch Draws Grayscale Images

[Patrick] decided to make a computer controlled etch-a-sketch. While the idea is not that new, there is always a different way to accomplish a goal. An Arduino is used to control a pair of stepper motors which were sourced for pretty cheap, and even came with their own driver. Next a stand was mocked up using foam board, which helps determine where all the parts should live.

Next was a way to attach the steppers to the knobs, gears would be used and a collet meant for model airplanes was sourced to make the mechanical connection between gear and shaft. With everything set in place via foam board and paper printouts, it is off to get some thin plywood. The plywood is sent though a laser cutter creating most of the stand and gears. Now its all software, a program was whipped up for OSX which converts low res pictures into squiggly lines perfect for the etch-a-sketch to draw on its screen.

The results are quite impressive, join us after the break for a quick video.

[Read more…]

Rapid fire, remote controlled ping pong ball turret

remote-ping-pong-ball-turret

[Andrew] and his brother had some time (and a lot of ping pong balls) on their hands, so they decided to have some fun and built a remote-controlled ping pong ball turret.

Arduino aside, the turret is cheap and easy to build as [Andrew’s] writeup explains. The firing mechanism was constructed using a pair of foam wheels and motors, which is used to launch the ping pong balls much like a baseball pitching machine. The balls are stored above the wheels in a cardboard tube and released by a mechanical flap when triggered.

When [Andrew] is ready to release the turret’s payload, he sends a command to his computer over VNC, which relays the command to the Arduino over a serial connection, triggering the flap. While the control scheme could certainly benefit from direct, wireless phone-to-Arduino communications, it seems to work well enough for [Andrew’s] needs.

Check out the video dramatization below to see [Andrew] “surprise” his brother with a hail of ping pong balls after the jump.

[Read more…]