Your Mouse Is A Terrible Webcam

camera

It should come as no surprise your optical mouse contains a very tiny, very low resolution camera. [Franci] decided to take apart one of his old mice and turn that tiny optical sensor into a webcam.

Inside [Franci]’s Logitech RX 250 is an ADNS-5020 optical sensor. This three wire SPI device stuffed into an 8-pin package is a 15×15 pixel grayscale image sensor. [Franci] started this project by bringing out the Arduino and Ethernet shield. After soldering a pull-up resistor to the image sensor’s reset pin, connecting the rest of the circuit was as simple as soldering a few wires to the Arduino.

The Arduino sketch sends the image data for each pixel to a computer over a serial connection. A bit of javascript and a touch of HTML takes this pixel data and turns it into a webpage with a live view of whatever is directly under [Franci]’s mouse.

Video of the mousewebcam in action below.

Continue reading “Your Mouse Is A Terrible Webcam”

I Am The Midnight Message Board What Messages At Midnight

Photoluminescent stars on your bedroom wall or ceiling are pretty cool, though the stationary shapes can become boring. [Adi] felt this way, too. While doodling with a bright white light on some glow in the dark vinyl, it occurred to him that this could make for an interesting display. He set about making GLO, the midnight message board and RSS display.

[Adi]’s light writer uses 12 UV LEDs on a linear axis powered by a stepper motor to write RSS headlines, Twitter trends, or custom text on his wall. He finds the slow fade of the text very soothing to fall asleep by, and it’s easy to see why. The LED array imprints a section of a character consisting of a 6×5 bit pattern. The 12 LEDs are split into two groups, so it can write two lines at 45-50 characters each. [Adi] designed his own pixel font for this project, and advises that only upper case letter forms be used.

[Adi]’s write-up is quite admirable and comprehensive. In the circuit build section, he advises that the LEDs must be very close to the vinyl for optimum results, but that they should protrude farther than the shift registers so the chips don’t rub the vinyl. Of course you could opt for more intense light sources, like laser. See it in action after the break.

Continue reading “I Am The Midnight Message Board What Messages At Midnight”

Arduino Ball Throwing Game

arduinogame01_07

Building your own gaming platform is pretty cool on its own, but when the game actually looks like fun to play, well that’s on a different level of cool. [Zippy314] designed an Arduino based game platform as a Christmas present to his son called the Das Blinken Bonken!

Like all highly addicting games, the gameplay is simple; the player throws a ball at the target board while aiming to hit a specific ‘pad’. As shown in the video after the break, there are many game possibilities with this platform, like trying to hit the illuminated target each time, or just trying to hit all of the pads on the board as fast as possible.

A pad is registered as a ‘hit’ with the help of home-made pressure sensors, which are each constructed in a ‘sandwich’ of pressure-sensitive conductive sheets. This is the same material used in these LED Sneakers. Since the resistance through the sheet lowers as pressure is applied, a simple voltage divider circuit is used to feed the analog inputs on the Arduino, thus making it very easy to detect a ‘hit’. An I2C 4-Digit 7 Segment display keeps score and displays the game title, while a strip of addressable RGB LEDs give player feedback and other vital gameplay information.

Continue reading “Arduino Ball Throwing Game”

Controlling Cheap, Awesome Christmas Lights

LEDs

[James] was wandering around Walgreens after Christmas and found something very interesting – RGB LED Christmas lights that were individually addressable. At $6.50 for a strand of 15 lights, he just had to buy a few and figure out the control protocol. After all, who can turn down a big, cheap, controllable RGB LED strip?

The packaging for these lights – apparently manufactured by BriteStar – includes a ‘try me’ button that cycles through different light patterns. This button is what initially tipped [James] off to the fact the lights on this strand could be individually controllable. Opening up one of the lights, he found exactly what he wanted: an epoxy blob, two wires for power, and three wires for the signaling.

After checking out this light with a scope and logic analyzer, [James] realized there was a very, very simple protocol going on. Essentially, the entire string functioned as a gigantic shift register, taking the values for one light and pushing it down the string. In looking at the protocol, [James] also discovered] these lights support 16 levels of brightness. Yep, RGB LED Christmas Lights with PWM for under $7. Can’t beat that.

[James] wrote an Arduino library to control these strings and put it up on Github. While your local Walgreens has probably already hidden these lights away in the back of the store, it might be worth asking around to see if they have any left.

Automatic Antenna Tuner

Automatic Antenna Tuner

To get the best power transfer into an antenna, tuning is required. This process uses a load to match the transmission line to the antenna, which controls the standing wave ratio (SWR).

[k3ng] built his own automatic antenna tuner. First, it measures the SWR of the line by using a tandem match coupler. This device allows the forward and reflected signals on the line to be extracted. They are buffered and fed into an Arduino for sampling. Using this data, the device can calculate the SWR. The RF signal is also divided and sampled to measure frequency.

To automate tuning, an Arduino switches a bank of capacitors and inductors in and out of the circuit. By varying the load, it can find the ideal matching for the given antenna and frequency. Once it does, the settings are stored in EEPROM so that they can be recalled later.

After the break, check out a video of the tuner clicking its relays and matching a load.

Continue reading “Automatic Antenna Tuner”

Retro Chaser Sign Lights Up Your Life

lighted-sign

[Gnsart] builds props often used in the film industry. He’s created an amazing retro Vegas style light chaser sign. The sign was started as a job a few years ago. While [Gnsart] could handle the physical assembly, the cost of a mechanical light chaser pushed the project over budget. The sign project was cancelled back then, but he never forgot it.

Fast forward to a few weeks ago. [Gnsart] happened upon the Arduino community. He realized that with an Arduino Uno and a commonly available relay board, he could finally build the sign. He started with some leftover cedar fence pickets. The pickets were glued up and then cut into an arrow shape. The holes for the lights were then laid out and drilled with a paddle bit. [Gnsart] wanted the wood to look a bit aged, so he created an ebonizing stain. 0000 steel wool, submerged and allowed to rust in vinegar for a few days, created a liquid which was perfect for the task. The solution is brushed on and removed just like stain, resulting in an aged wood. We’ve seen this technique used before with tea, stain, and other materials to achieve the desired effect.

[Gnsart] then built his edging. 22 gauge steel sheet metal was bent to fit the outline in a bending brake. The steel sheet was stapled to the wood, then spot welded to create one continuous piece. Finally, the light sockets were installed and wired up to the Arduino. [Gnsart] first experimented with mechanical relays, and while we love the sound, we’re not sure how long they’d last. He wisely decided to go with solid state relays for the final implementation. The result speaks for itself. LEDs are great – but there is just something about the warm glow of low-wattage incandescent lights.

Continue reading “Retro Chaser Sign Lights Up Your Life”

Roving Hexapod Poops Out 3D Prints

[Jia Wu, Mary Sek, and Jeff Maeshiro], students  at the California College of the Arts (CCA) in San Francisco, took on the task of developing a walking 3D printer. The result is Geoweaver, a hexapod robot with a glue gun extruder system. Hackaday has seen walking CNC machines before, but not a 3D printer. Geoweaver uses two servos on each of its six legs to traverse the land. The team was able to program several gaits into the robot, allowing it to traverse uneven terrain. Walking is hard enough on its own, but Geoweaver also uses a glue gun based extruder to make 3D prints. The extruder head uses two servos to swing in a hemispherical arc. The arc is mapped in software to a flat plain plane, allowing the robot to drop a dollop of glue exactly where it is programmed to. Geoweaver doesn’t include much in the way of on board processing – an Arduino Uno is used to drive the 15 servos. Those servos coupled with a glue gun style heater pull quite a bit of power, which has earned Geoweaver nicknames such as Servo Killer, Eater of Shields, Melter of Wires, and Destroyer of Regulators.

Geoweaver’s prints may not be much to look at yet, however the important thing to remember is that one of the future visions for this robot is to print on a planetary scale. Geoweaver currently uses reacTIVision to provide computer control via an “eye in the sky”. ReacTIVision tracks a fiducial marker on the robot, and applies it to a topographical map of the terrain. This allows Geoweaver to change its height and print parameters depending on the flatness of the ground it is printing on. On a scaled up Geoweaver, reacTIVision would be replaced by GPS or a similar satellite based navigation system.  Most of the software used in Geoweaver is opensource, including Grasshopper and Firefly, written by the team’s professor, [Jason Kelly Johnson]. The exception is Rhino 5. We would love to see an option for a free or open source alternative to laying out ~$1000 USD in software for our own Geoweaver.

Continue reading “Roving Hexapod Poops Out 3D Prints”