Codebender: An Online Arduino IDE

Because everything is moving to a web app, [Vasilis Georgitzikis], a.k.a. [tzikis] developed codebender, a cloud-based Arduino IDE replete with built-in libraries, documentation, and the ability to upload your code to an Arduino from a browser.

To compile an Arduino sketch, codebender uses clang a wonderful compiler that will give you extremely descriptive warnings on terrible code. Like any good IDE, there’s built-in highlighting and documentation, and a small bit of Java allows you to upload your code and monitor the serial port right in the browser.

One of the more interesting innovations is codebender’s (upcoming) use of a TFTP bootloader. With this and an Ethernet shield, it’s easy to upload code to any Internet-connected Arduino, whether it’s on your desk or halfway across the world. We can see that being very useful for a data logger or even a UAV balloon, and can’t wait to see it in action.

Turning An Arduino Into A USB Keyboard

The newly released Arduino Leonardo has a few very interesting features, most notably the ability to act as a USB keyboard and mouse thanks to the new ATmega 32U4 microcontroller. This feature isn’t exclusive to the Leonoardo, as [Michael] explains in a build he sent in – the lowly Arduino Uno can also serve as a USB HID keyboard with just a firmware update.

The Arduino Uno (and Mega) communicate to your computer through a separate ATmega8U2 microcontroller. Simply by uploading new firmware with the Arduino Device Firmware Upgrade, it’s easy to have your old Arduino board gain some of the features of newer boards such as the Teensy or Leonardo.

[Michael] goes through the steps required to make this upgrade work and ends his build by showing off an Arduinofied ‘cut, copy and paste’ button project as well as a few multimedia controls. You can check those builds out in the video after the break.

If emulating a USB keyboard isn’t your thing, it’s also possible to install LUFA firmware to emulate everything from joysticks to USB audio devices. Very cool, and very useful.

Continue reading “Turning An Arduino Into A USB Keyboard”

Bike Cross Country In Your Basement With Google Streetview

Biking cross-country is a worthwhile pursuit, but then you’ll have to deal with terrible drivers, rain, bugs, and heat. [Jeff Adkins] over at lowendmac has a neat solution to exploring the country via bicycle without ever leaving the safety and air conditioning of your basement.

For his build, [Jeff] used a magnetic reed switch attached to the frame of his stationary bike and the pedal crank. Whenever the pedal crank is turned, a reed switch closes on every revolution. This reed switch is connected to a new Arduino Leonardo programmed to transmit keyboard presses to a computer for every five revolutions of the pedal. From there, it’s a simple matter of loading up Google Streetview on a laptop and letting the Arduino automatically advance through Streetview images while pedaling.

The next part of [Jeff]’s project will be adding left and right buttons to his stationary bike to navigate Google Streetview images without taking his hands off the handlebars. You can check out a demo of [Jeff] cruising around after the break.

via reddit

Continue reading “Bike Cross Country In Your Basement With Google Streetview”

Taking A Dump From Some Old Hardware

NYC Resistor shows you how to have some fun with electronics from the junk bin. Their post called The Joy of Dumping encourages you to look around for older memory chips and see what they’ve been hiding away for all these years.

The targets of their hunt are EPROM chips. Note the single ‘E’. These are Erasable Programmable Read-Only Memory chips, and predate EEPROM which adds “Electrically” to the beginning of the acronym.  You used to use a UV light source to erase the older types of memory. In fact we’ve seen some EPROM erasers as projects from time to time. These shouldn’t be too hard to find as they were prevalent as cheap storage back in the 1980’s.

If the quartz window on the top of the chips has been shielded from ambient UV light, you should still be able to read them and it’s as easy as hooking up your Arduino. Is it useful? Not really, but it still can be neat to interface with what might otherwise never make its way back out of the junk box.

Better Driving With A Bullduino

Despite what you may have heard from the kids hanging out in the parking lot of Taco Bell, there’s a lot to be said about driving conservatively. Not peeling out after ever red light and stop sign does wonders for the life of your engine, and not slamming on the brakes 50 feet away from an intersection will keep your brake pads going a long time. [aromaoftacoma] wanted a dashboard gauge telling him how good of a driver he is, so when he got a bullduino he knew what he had to do.

[aromaoftacoma]’s project for the Redbull creation contest uses the very cool Arduino shield/Redbull logo known as a bullduino with an accelerometer to track how conservatively he’s driving. Quick stops and starts are murder on an automobile – it’s the same reason your grandmother has had the same car for 20 years – so [aromaoftacoma] made a wonderful display using red and blue LEDs behind each charging bull.

Because simply blinking a LED in response to data pulled from an accelerometer is a little boring, [aromaoftacoma] added a servo to change the orientation of the charging bulls. When he’s driving well, the blue bull is tilted up, and when he stops short the red bull becomes the focus of attention. Not a bad build at all.

You can check out [aromaoftacoma]’s build video after the break.

Continue reading “Better Driving With A Bullduino”

Using The Raspi As An Ethernet Shield

[Alexandre] wanted to set up a web-based temperature logger with his Arduino, but found the Arduino Ethernet shield a little finicky. Since his Raspberry pi was just delivered, he figured he could use the Raspi as an Ethernet shield with just a little bit of coding.

After [Alexandre] set up his Arduino to send a thermocouple through the USB, the only thing left to do was to add node.js to the Raspi’s Debian installation. Every five minutes, the Arduino wakes up, takes a temperature reading, and sends it over to the Raspberry pi. From there, it’s easy parse the Arduino’s JSON output and serve it up on the web.

In the end, [Alexandre] successfully set up his Raspberry pi as an Ethernet shield to serve a web page displaying the current temperature (don’t F5 that link, btw). One interesting thing we have to point out is the cost of setting up this online temperature logger: the Arduino Ethernet shield sells for $45 USD, while the Raspberry pi is available for $35. Yes, it’s actually less expensive to use a Raspberry pi as an Ethernet shield than the current Arduino offerings. There you have it, just in case you were still on the fence about this whole Raspi thing.

Red Bull Creation Hardware (Bullduino) Arrives

The Bullduino’s are starting to arrive. When [Arclight] received his in the mail the first thing he did was to share the hardware details. Of course this is the hardware that participants in the Red Bull Creation contest will be receiving ahead of this year’s contest.

The board is an ATmega328 Arduino clone. Instead of an FTDI chip for USB this one is sporting an ATmega8u2. That’s not too much of a surprise as it should translate to a cost savings. [Arclight] reports that the stock firmware flashes a message in Morse code. It seems the Harford HackerSpace got their Bullduino several days ago and already decoded the message. It reads:

“Wouldn’t lou prefer a good game of chess?”

The guys that did the decoding speculate that this could be a type as ‘l’ and ‘y’ are inversions of each other in Morse code; or it could be some kind of clue. At any rate, if you want to do some disassembly and see if there’s anything lurking in the firmware, [Arclight] posted FLASH and EEPROM dumps from both ATmega chips along with his article.