Posts with «arduino hacks» label

Reading bar codes with Arduino and unaltered CueCat

[Damcave] decided to try out some bar code reader projects. He got his hands on a CueCat years ago. The problem is that it outputs encrypted character sets instead of a clear text string. To get around this he used his Arduino to decrypt the CueCat’s data output.

Originally you could get you hands on a CueCat for free. It was meant to work like QR codes do now — you see a bar code, you scan it to get to a web address. It never really took off but you can still get your hands on one for about twelve clams. We’ve seen projects that clip a pin on the processor to disable to encryption. But [Damcave] didn’t want to mess with the hardware. Instead he connected the Arduino via the PS/2 connector and used software to translate the data. The encryption format has long been know so it was just a matter of translating the steps into an Arduino function.


Filed under: arduino hacks
Hack a Day 12 Jul 13:09

EMIC2 text to speech module

This is the EMIC2 text-to-speech module. You can see from the logo on the bottom left it’s the latest gadget coming out of [Joe Grand's] Grand Idea Studios. [Dino] tipped us off about his first experience with a prototype of the board. He’s driving it with an Arduino and the video after the break shows that the sound rendering is high quality and the words are very easy to understand. One of the things that we think is interesting is that the serial communications used to drive the board are not uni-directional. In fact, there’s a serial terminal that provides documentation on how to use the chip. Obviously this is most suited to the Arduino, which always has a PC-side terminal window available to it.

[Joe] himself shows some of the potential for the board. He gave new life to a broken toy by replacing its internals with a PIC-based circuit to drive the EMIC2. That video is also found after the break. He’s just using the demo clips, but from that you will get a good idea of the vocal modulations this device is capable of. The board rings up at $60 and is available from Parallax.

[Dino's] introduction:

[Joe's] project:

and it’s on sale now for about $60 for Parallax.


Filed under: arduino hacks

Time-based One-Time Passwords with an Arduino

Get your feet wet with Time-based One-Time Password (TOTP) security by building your own Arduino OATH system. OATH is an open standard authentication system that provides a platform to generate tokens, making your login more secure than a password alone would.

The TOTP approach is what is used with many companies that issue hardware-based dongles for logging in remotely. This security may have been compromised but it’s still better than passwords alone. Plus, if you’re building it around an Arduino we’d bet you’re just trying to learn and not actually responsible for protecting industrial or state secrets.

The hardware setup requires nothing more than the Arduino board with one button and a screen as a user interface. Since the board has a crystal oscillator it keeps fairly accurate time (as long as it remains powered). It will push out a new token every thirty seconds. The video after the break shows that the Arduino-calculated value does indeed match what the test box is displaying.


Filed under: arduino hacks, security hacks
Hack a Day 11 Jul 12:01

Cheap as chips Arduino Ethernet shield

It’s no secret that Ethernet shields for the Arduino are a little expensive. With the official Ethernet shield selling for about $50 and other options not much cheaper, there’s a lot of room for improvement for Arduinofied Ethernet. [Boris] over at Open Electronics has a solution to this problem: his Ethercard powered by a $3 Ethernet controller.

The Ethercard uses the Microchip ENC28J60, a through-hole Ethernet controller. There isn’t much else on the board apart from an RJ45 jack, caps, resistors, and a cheap buffer chip. This board was designed to be easily produced, and we’re thinking it might be possible to etch this board at home.

There are a few drawbacks to this ENC28J60 Ethernet shield – the official Arduino Ethernet shield has a 10/100 Mbps connection where the Microchip-powered shield is limited to 10 Mbps. Given the reduced cost, ease of assembly, and the fact that it’s pretty hard to saturate a 100Mbps connection with an Arduino this flaw can be easily ignored.

Pretty neat, especially considering how much you can do with an Ethernet connection on your Arduino. Files and code available in the git.


Filed under: arduino hacks, hardware
Hack a Day 10 Jul 23:02

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.


Filed under: arduino hacks
Hack a Day 01 Jul 21:16

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.


Filed under: arduino hacks, peripherals hacks
Hack a Day 29 Jun 12:01

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.


Filed under: arduino hacks, Rasberry pi

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 Hartford 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.


Filed under: arduino hacks

Putting scores of Arduinos on the Internet with one router

Like many hackers of late, [Rick] has been experimenting with connecting Arduinos to the Internet with a disused WiFi router and an installation of OpenWRT. Unlike his fellow makers, [Rick] thought it would be wasteful to dedicate a single router to one Arduino project, so he used a small, low power wireless module to connect up to 30 Arduinos to the Internet.

Just as in a few recent builds (1, 2), [Rick] found an old Fonera router sitting in a box at his local hackerspace. After installing OpenWRT, [Rick] connected a very small wireless module to the router’s GPIO pins and patched the firmware to put an SPI bus on the router.

Now, whenever [Rick] wants to connect an Arduino project to the Internet, all he needs is a $4 radio module. This radio module connects to the router, and the router handles the networking requirements of up to 30 DIY projects.

If you’re looking to build an Internet-enable sensor network, we honestly can’t think of a better or cheaper way of going about it. Nice job, [Rick].


Filed under: arduino hacks, radio hacks

ArduSat puts Arduino experiments in space

CubeSats are nothing new – hundreds have been launched into Earth orbit by schools and universities over the past decade. Like anything cool, an Arduino eventually gets thrown into the mix. That’s what the folks behind ArduSat are doing: they’re launching an Arduino-laden satellite into orbit with a bunch of sensors to enable anyone to become a citizen space scientist.

On board the ArduSat is a suite of sensors including a spectrometer, Geiger counter, IR light sensor, electromagnetic wave sensor, a temperature sensor, gyroscope, accelerometer, magnetometer, GPS unit, CO2 sensor, and of course a few cameras. The rewards for this Kickstarter are fairly interesting: backers who pledge $500 are able to buy a week’s worth of time using the ArduSat sensors for your own personal experiment.

As for how this Arduino-powered satellite is getting a ride up to Low Earth Orbit, the team plans to send an application into NASA for the CubeSat Launch Initiative ride-along program. If NASA selects the ArduSat, it’ll get a ride into space along with other CubeSats on a larger commercial launch. If the ArduSat isn’t selected by NASA, the team behind this satellite has secured funding to piggyback on a commercial launch.

Tip ‘o the hat to [HackTheGibson] for sending this in.


Filed under: arduino hacks, hardware, kickstarter