Driving USB Peripherals With Arduino

arduino-driving-USB-keyboard

Circuits@Home have managed to host a USB keyboard with an Arduino and display the keyboard inputs on a character LCD. This uses the USB host shield we covered in August. That host shield includes a MAX3421 which is used here to drive the character LCD.

The control code for the keyboard ends up being fairly simple. The keyboard is polled for entries. The HID input is then examined and converted to ASCII codes for use with the LCD screen. This could make for an excellent controller or debugger for embedded systems. The Arduino, shield, and LCD could be integrated into the keyboard itself with an I/O port for connecting to your project. Commands can be typed out and sent through the I/O port when enter is pressed, with feedback displayed on the screen.

The example code provided with this project lays out the framework for hosting peripherals. We’re looking forward to more projects, and code libraries that take advantage of this new functionality.

Score Online With Robot Soccer

robot-soccer

[Erik] and [Heni] have been using soccer as a way to improve code development techniques in robotics. Their soccer playing robots won first prize in the development competition at the 2007 RoboCup competition. They are using a teaching method they call Kinesthetic Bootstrapping to program the motions of the Bioloid robotic platform. The robots are moved by hand and those motions are recorded twenty times per second. The recorded data is then optimized in software and ready for playback in the robot.

After the break you’ll see a video of the robots playing soccer against each other. They receive commands from a computer via zig-bee with Nintendo Wii remotes as the user interface. That’s all fine and dandy, but perhaps you should try your own hand at a game. [Erik] and [Heni] developed a web interface that allows you to control the bots over the internet. We tried it out yesterday and had quite a bit of fun. We set the video stream to “Spectator” and “Jpeg Server Push” to get an image. You’ll have to wait until next week to play because the bots need someone to pick then up when they fall over. Live play is scheduled for Mondays and Wednesdays from 4-6pm GMT+2. That should give you plenty of time to program your Arduino to say “Gooooooooooaaaaaaaaaaaaaalllllllllll!!!” when you score. Continue reading “Score Online With Robot Soccer” →

Magic Mouse And MacBook Teardowns

magicmouse

The folks at iFixit must hold some kind of record for fastest-voided warranty. It’s been less than 48 hours since Apple unleashed a torrent of new computers and peripherals, and they’ve already set upon the new wares like a pack of ravenous, spudger-wielding Velociraptors, photoblogging the splayed entrails for our edutainment.

The refreshed MacBook holds few surprises, resembling a Star Trek teleportation mix-up between the prior 13″ white MacBook and the current 13″ MacBook Pro. It retains a white polycarbonate case much like its predecessor while adopting a subset of the Pro’s components — CPU and GPU, glass trackpad, Mini DisplayPort, and the long-lived but sealed battery. Internally the system is still a maze of different-sized Torx, Phillips and tri-wing screws, but they do report this latest revision to be easier to dismantle for repair.

More novel inside and out is the new Magic Mouse, which early reports suggest may finally redeem Apple’s eleven year train wreck of mice. There’s not much to see on the bottom half — it’s a typical wireless mouse consisting of batteries, laser tracker and a Bluetooth chip. The top is something to behold though, with nearly the entire surface encrusted in capacitive sensors capable of gestural input. It resembles a miniature version of this electrostatic interface we saw in April.

No teardowns of the new iMacs, Mac mini or Time Capsule have taken place yet, but it’s surely just a matter of time. Even Velociraptors need to eat and sleep.

Update: 27″ iMac teardown added. Rawr!

Gear Clock

[youtube http://www.youtube.com/watch?v=zkLIKfdYW3I&feature=player_embedded%5D

Analog clocks now a days get no respect. Everyone is digital this, or binary that, and we admit it is nice to look over and see the time promptly displayed. But there’s something about the quiet ticking and ominous feeling you get when around a large intricate clock that you know some serious time has been invested.

Nostalgia feelings aside, [Alan] from Hacked Gadgets introduced us to his Gear Clock. While it’s not a new idea, and in fact we have a few around the office, his concept really inspired us. His clock is driven via stepper motor and a PIC, allowing for the time to be fairly accurate. The only small problem he mentions is the poor paint job, but we think it looks amazing regardless.

Hackable Geiger Counter

SFE_Geiger_Counter

[Aaron] A.K.A. [A1ronzo] at SparkFun has put together a hackable USB Geiger Counter. In his tutorial, he gets the Geiger counter to work as a random number generator. Later, he analyzes and discusses how well it works as a random number generator.  In the past, we have seen a number of radiation detectors hacks such as the Mr. Fission digital Geiger counter, a count accumulator, and a Polonium detecting pen,  Besides our inital thoughts of speeding up the number generation, and using it as a special character device, what else can you come up with to do with this device?

Bluetooth Cartridge For Nintendo DS

bluetooth-cartridge-nintendo-ds

We’ve received tips from a few different people about a new Bluetooth module that connects as a game cartridge for the Nintendo DS. This is a homebrew solution and not an official Nintendo add-on. The cartridge houses an ATmega168 microcontroller which provides the interface between the DS and a Roving Networks RN-41 bluetooth module.

They’ve provided a schematic for the device but we didn’t see any board artwork or pictures of the internals so you’re on your own for board layout. The libraries needed to use the bluetooth connection with homebrew software are up for download. This should provide a nice way to use the DS with a Bluetooth GPS module, or perhaps as a discrete Bluetooth sniffer and spoofer.

War Monument Hacking

war-monument-hacking

[Timo] tipped us off about a War Monument that has been… upgraded. The story starts when a monument was erected in Cherkassy, Ukraine to commemorate the ultimate sacrifice that was made by Russian soldiers during World War II. The huge statue and expansive plaza were capped off by an eternal flame. Unfortunately, when the Soviet Block broke up, the natural gas that had been provided by the government became a luxury so the flame was extinguished.

The eternal flame sat unlit, a sad commentary to the remembrance of the dead. But how to fix this issue? As cell phone companies came into the area, a need for cell phone towers arose. At some point a solution was reached; a cell phone tower was built in the bowl of the eternal flame and then wrapped with an LED marquee. The marquee now displays the image of a flame in perpetuity.

We’re not quite sure what to think about this. After some adjustment, the substitution of LEDs for flames will probably become accepted. The monument is now providing a useful purpose for the living, and once again shows a flame. We think that having something there showing that the memory is still alive is much better than the message an unkempt derelict sends.