Posts with «arduino hacks» label

Arduino Comes To The Raspberry Pi, Linux ARM Devices

Arduino is the perfect introduction to microcontrollers and electronics. The recent trend of powerful, cheap, ARM-based single board Linux computers is the perfect introduction to computer science, programming, and general Linux wizardry. Until now, though, Arduino and these tiny ARM computers have been in two different worlds. Now, finally, there are nightly builds of Arduino IDE on the Raspberry Pi and other single board Linux computers.

The latest Arduino build for ARM Linux popped up on the arduino.cc downloads page early this week. This is the result of an incredible amount of work from dozens of open source developers across the Arduino project. Now, with just a simple download and typing ‘install’ into a terminal, the Arduino IDE is available on just about every single board Linux computer without having to build the IDE from source. Of course, Arduino has been available on the Raspberry Pi for a very long time with sudo apt-get install arduino, but this was an older version that cannot work with newer Arduino boards.

Is this distribution of the Arduino IDE the same you would find on OS X and Windows? Yep, everything is the same:

While this is really just arduino.cc improving their automated build process and putting a link up on their downloads page, it does make it exceptionally easy for anyone to set up a high school electronics lab exceptionally easy. The Raspberry Pi is almost a disposable computing device, and combining it with Arduino makes for a great portable electronics lab.


Filed under: Arduino Hacks, linux hacks, Raspberry Pi

Brazillian Class Creates Digital Board Game

A class in Brazil was given the assignment to make a board game. [Marcelo], presumably, heard his son lamenting how lame it was going to be if the board was just cardboard with some drawings on, and came to the rescue.

A match meant to be.

Working with the class, they came up with the rules of the game. We’re not certain what those are, but it involves a regular game board, a flashing light circle with numbers, and a fusion between Operation and one of those disease transmitters commonly found at the doctor’s office. You can try to puzzle them out from the video after the break.

The brains of the board is an Arduino with an external EEPROM for all the sound effects and other data needed for this construction. Everything is laid out on a beautifully done home etched PCB. It’s too bad the other side of the board isn’t visible.

We’re sure the kids learned a lot working with [Marcelo]. It would have been nice if a traveling wizard came to some of our earlier classes in school and showed us just how much cool stuff you can do if you know electronics.


Filed under: Arduino Hacks

PJON, Fancy One Wire Arduino Communications Protocol For Home Automation

PJON, pronounced like the iridescent sky rats found in every city, is a cool one wire protocol designed by [gioblu].

[gioblu] wasn’t impressed with the complications of I2C. He thought one-wire was too proprietary, too complicated, and its Arduino implementations did not impress. What he really wanted was a protocol that could deal with a ton of noise and a weak signal in his home automation project with the smallest amount of wiring possible.

That’s where is his, “Padded Jittering Operative Network,” comes in. It can support up to 255 Arduinos on one bus and its error handling is apparently good enough that you can hold an Arudino in one hand and see the signals transmitted through your body on the other. The fact that a ground and a signal wire is all you need to run a bus supporting 255 devices and they’ll play nice is pretty cool, even if the bandwidth isn’t the most extreme.

Aside from the cool of DIY protocols. We really enjoyed reading the wiki describing it. Some of the proposed uses was running your home automation through your ducting or water pipes (which should be possible if you’re really good at isolating your grounds). Either way, the protocol is neat and looks fun to use. Or check out PJON_ASK if you want to do away with that pesky single wire.


Filed under: Arduino Hacks
Hack a Day 31 Mar 21:00

Dirt-Cheap USB Arduino Hack From the Past

Mass production is a wonderful thing. Prices fall, and hobby hackers get cheap gear. The mind then wanders towards what can be done with it. So it’s little wonder that someone like [Aaron Christophel] would try to repurpose those sub-$3 AVR programmers that are all over eBay (translated poorly out of German here, but demonstrated in the video embedded below).

[Aaron] didn’t have to do much, really. The only trick is that you’ll first need to re-flash the existing ISP firmware with one that lets you upload code to the device itself over USB. If you don’t have an Arduino on hand to re-flash, buy at least two of the cheap programmers — one to program the other ones. Once you’ve done that, you have essentially an Arduino with limited pinout and two onboard LEDs, but in a nice small form-factor and with built-in USB. [Aaron] even provides an Arduino boards.txt file to make it all work smoothly within the IDE.

All of this is done with the very friendly V-USB firmware, which lets you build up low-speed USB devices on the cheap and easy. This would be perfect for making a couple-key keyboard, a USB-USART or USB-SPI bridge, or even a volume control knob — one ADC pin seems to be broken out. With some delicate soldering, the rest of the pins could be brought out and you could do something really useful with this little dongle.

It’s hard to imagine even sourcing all of the parts for the cost of having one of these shipped to your door, and this is a fairly old hack, dating from 2013. We’re a little surprised that we haven’t seen more projects with people repurposing these cheap ISP programmers. Have you made anything with one of these? Let us know.


Filed under: Arduino Hacks
Hack a Day 29 Mar 09:01

What’s Tiny, Has Eight Legs, and Acts Like an Arduino?

Back in the late 1970s, comedian Steve Martin had a bit about “Let’s get small!” Over on Hackaday.io, [Daniel Grießhaber], has taken that call to heart. He’s been working on DIL-Duino, a minuscule form factor Arduino in an 8-pin DIP format.

Built with an ATtiny85, the board has an area of just under 75 square millimeters (less than 8 mm x 10 mm). If you add the USB port, it still comes in at just over 144 square millimeters. [Daniel] found other small Arduino boards like the Olimexino-85s and the Nanite are not as small as his design.

The module has a QFN CPU and castellated holes around the perimeter for mounting. With pin headers, this would easily fit into a breadboard (as [Daniel] shows) or you could mount it directly to another board like a surface mount device. In fact, that’s the reason for using castellated holes: you can inspect that the solder joint at the mating SMD pad is good. You sometimes hear the technique called half-vias or leadless chip carrier.

If you note, [Daniel] used an oversized board with full holes around the perimeter and then had the board maker score the board, so the holes are cut in half. This is a better technique than trying to drill half holes on the board edge, which is difficult to do.

Naturally, this isn’t the first tiny Arduino we’ve seen. If you are an ARM fan, there’s some little bitty cards for it, too, although not quite as small as DIL-Duino.


Filed under: Arduino Hacks

Pipe in (Robot) Hand

How do you make a robot hand? If you are [Robimek], you start with some plastic spiral tubing, some servo motors, and some fishing line. Oh, and you also need an old glove.

The spiral tubing (or pipe, if you prefer) is cut in a hand-like shape and fused together with adhesive. The knuckle joints are cut out to allow the tubing to flex at that point. The fishing line connects the fingertips to the servo motors.

The project uses an Arduino to drive the servos, although you could do the job with any microcontroller. Winding up the fishing line contracts the associated finger. Reeling it out lets the springy plastic pipe pull back to its original position.The glove covers the pipes and adds a realistic look to the hand.

Granted, this is probably more practical as a display piece than a working hand. We’d like to put it in our next Halloween project. We’ve seen some simple hand builds before, but the glove is a nice touch. For some reason, many of our robot hand projects like to make rude gestures. You can see a video of [Robimek]’s hand working below.


Filed under: Arduino Hacks, robots hacks

Pipe in (Robot) Hand

How do you make a robot hand? If you are [Robimek], you start with some plastic spiral tubing, some servo motors, and some fishing line. Oh, and you also need an old glove.

The spiral tubing (or pipe, if you prefer) is cut in a hand-like shape and fused together with adhesive. The knuckle joints are cut out to allow the tubing to flex at that point. The fishing line connects the fingertips to the servo motors.

The project uses an Arduino to drive the servos, although you could do the job with any microcontroller. Winding up the fishing line contracts the associated finger. Reeling it out lets the springy plastic pipe pull back to its original position.The glove covers the pipes and adds a realistic look to the hand.

Granted, this is probably more practical as a display piece than a working hand. We’d like to put it in our next Halloween project. We’ve seen some simple hand builds before, but the glove is a nice touch. For some reason, many of our robot hand projects like to make rude gestures. You can see a video of [Robimek]’s hand working below.


Filed under: Arduino Hacks, robots hacks

Homebrew Multimode Digital Voice Modem

There’s an old saying that the nice thing about standards is there are so many of them. For digital voice modes, hams have choices of D-Star, DMR, System Fusion, and others. An open source project, the Multimode Digital Voice Modem (MMDVM), allows you to use multiple modes with one set of hardware.

There are some kits available, but [flo_0_] couldn’t wait for his order to arrive. So he built his own version without using a PCB. Since it is a relatively complex circuit for perf board, [flo_0_] used Blackboard to plan the build before heating up a soldering iron. You can see the MMDVM in action below.

The build includes an Arduino, of course, and the neat perf board wiring makes for a good-looking project. We’ve covered digital voice that uses PCs before and even some digital ham modes that use an Arduino. Or check out the MMDVM project for more info.


Filed under: Arduino Hacks, radio hacks

The Infrared Theremin

The traditional theremin is more or less an audio oscillator with two metal rods. Using proximity sensing, one rod controls the pitch of the oscillator and the other controls the volume. [Teodor Costachiou] apparently asked himself the excellent question: Why does the proximity sensor have to use capacitance? The result is an Arduino-based theremin that uses IR sensors to determine hand position.

[Teodor] used a particular type of Arduino–the Flip and Click–because he wanted to use Click boards for the IR sensors and also to generate sound via an MP3 board based around a VS1053. The trick is that the VS1053 has a realtime MIDI mode, and that’s how this Theremin makes it tones.

Of course, a real theremin is distinctly analog. A tiny change in hand position creates a small change in the output. With digital sensors and sound generation, the output is more in discrete steps, but according to [Teodor], the effect isn’t bad. We were hoping for a video (or, at least, an audio clip) but [Teodor] pleaded that he’s not a musician. He did include a video of a real theremin performance with his post, and you can see it below. But that’s a real analog theremin.

If you want to build something more traditional, have a look at Open Theremin. Or, if you want to get your exercise, how about trying a terpsitone. If you do, and can play the theme to The Day the Earth Stood Still, we’d love to see the video. Meanwhile, if you didn’t know the theremin had an espionage connection, you haven’t been staying current on Hackaday posts.


Filed under: Arduino Hacks, musical hacks

Presenting the Internet of Trash Cans !

This was gonna happen – sooner or later. [matthewhallberg] built a “Smart” trash can that is connected to the Internet and can be controlled by its own Android App. We’re not sure if the world needs it, but he wanted one and so built it. He started it out on a serious note, but quickly realized the fun part of this build – check out his funny Infomercial style video after the break.

The build itself is uncomplicated and can be replicated with ease. A servo motor helps flip the lid open and close. This is triggered by an ultrasonic ping sensor, which responds when someone waves a hand in front of the trash can. A second ping sensor helps inform the user when it is full and needs to be emptied. A Leonardo with the Idunio Yun shield helps connect the trash can to the internet. An mp3 shield connected to a set of powered computer speakers adds voice capability to the trash can, allowing it to play back pre-recorded sound clips. Finally, a Bluetooth module lets him connect it to an Android phone and the companion app controls the trash can remotely.

For the IoT side of things, [matthewhallberg] uses a Temboo account to send an email to the user when the trash can is full. The Arduino sketch, a header file to configure the Temboo account, and the Android application can all be downloaded from his blog. If this project inspires you, try building this awesome Robotic trash can which catches anything that you throw near it  or read the barcodes off the trash being thrown out and update the grocery list.


Filed under: Arduino Hacks, home hacks, internet hacks