Posts with «arduino» label

Control your camera with this Arduino intervalometer

When you need a high-quality image, it’s hard to beat the resolution and lens options of a DSLR. But what if you want to take a photo over and over at set intervals to produce a time-lapse sequence? You could purchase an intervalometer, or make one using an Arduino Nano.

The device shown in the video below uses a 2.5mm audio plug for the input to a Canon T2i camera. An opto-isolator is activated by the Nano, connecting the ground (base) and tip (shutter) pins. Intervals are set via a 4-position DIP switch, allowing photo intervals of 5, 10, 30, and 60 seconds—or any combination thereof.

While the functionality shown is quite basic, the setup could be adapted for other timing patterns, or even for use with a sensor. Build instructions are available here, and you can find code and the 3D-printed base on GitHub.

Build an Arduino Mega fingerprint door lock

If you don’t want to carry keycard or memorize a passcode, this build from Electronoobs might be just the thing. 

The system uses a fingerprint reader to check to see if you have access, and if approved, the device’s Arduino Mega unlocks the theoretical door using a micro servo motor. Three push buttons and a 16×2 LCD screen complete the user interface, and allow more authorized fingers to be added with the main person/finger’s permission.

While you might question the security gained by a hobby servo, the video notes that this could trigger any sort of security device, perhaps via a relay or electromagnetic coil lock. Besides security, the build gives a good introduction to Arduino fingerprint scanning, as well as the use of an SD card for data logging functions.

The Airdrum plays music with Arduino and six sensor PCBs

Playing music well can be difficult for anyone, especially those with certain disabilities. To make this form of self-expression easier for everyone,  Alessandro Verdiesen and Luuk van Kuijk built the Airdrum—an IR sensor-based instrument that is played simply by the wave of a hand.

The Airdrum uses six individual sensor boards to detect when a hand is present. This input is then processed via an Arduino Uno and passed along to a Raspberry Pi to produce individual tones.

People with multiple severe disabilities often encounter the difficulties of playing a music instrument due to their mental and physical deficits.

Health care institutions which facilitate housing, learning opportunities and day care for these people often encounter the difficulties of communicating with their clients. These institutions experienced that making music together is a great way of communicating and therefore many institutions offer music therapy. According to music therapists, the main goal is having fun. It is proven that people learn more when having fun. When playing an instrument, clients can share emotions and practice their motor skills.

We have designed a musical instrument which is easy and fun to play, not just for people with severe disabilities, but for everyone: the Airdrum. The Airdrum is a small device containing panels with motion sensors and colored lights. When somebody moves their hand or head above the panels, they light up and they play sound.

The device, as shown in the demo video, appears to still be a work-in-progress, but has all the functionality needed to play a simple tune with RGB LED feedback.

Hack your coffee machine with voice control

Are you still pushing buttons and adjusting knobs with your fingers to brew your favorite coffee? If so, then this voice-controlled solution could be the next project on your list.

To accomplish this hack, a rather high-end coffee maker was disassembled and modified, adding an Arduino Nano to press buttons, along with a small motor and driver board to adjust its dial. Voice control is provided via Snips software running on a Raspberry Pi, which passes the pertinent commands along for coffee making.

When the devices around you no longer require a lengthy operation manual, but rather, require only a voice command, this unlocks an environment where technology disappears into the background, so that you can regain the freedom to spend quality time with the people you care about. That is in fact our mission at Snips, to make technology disappear.

Case-in-point: this voice-activated coffee machine. You can ask it to make you a double espresso or a flat white, to pour you some hot water or even to turn itself off.

It’s purely a demo project, but at our Snips office in Paris, we’ve grown used to the convenience, and so we wanted to make it as easy as possible for anyone interested to replicate it at home.

Code and modification instructions are available on the Snips team’s blog post, while the brewing results can be seen in the demo video below. 

Show tidal shifts with this Arduino-powered moon clock

If you want to know the tide in your area, you could look it up in the paper, on the Internet, or using an app, but this moon-shaped tide clock provides a unique way to see what’s going on at a glance.

The 3D-printed device uses an Arduino Nano for processing, along with an RTC module to keep accurate time—thus accurate tide predictions. A tiny OLED display provides three info screens, selected via a rocket shaped button taking off of the moon’s surface. 

As the clock is meant for education, the moon design will provide a nice reminder of what actually shifts the tides. Arduino code as well as 3D-print files are available on the project’s write-up.

Arduino Blog 12 Sep 17:42

Adding Upgrades To A Stock Motorcycle

In today’s world of over-the-air firmware upgrades in everything from cars to phones to refrigerators, it’s common for manufacturers of various things to lock out features in software and force you to pay for the upgrades. Even if the hardware is the same across all the models, you can still be on the hook if you want to unlock anything extra. And, it seems as though Suzuki might be following this trend as well, as [Sebastian] found out when he opened up his 2011 Vstrom motorcycle.

The main feature that was lacking on this bike was a gear indicator. Even though all the hardware was available in the gearbox, and the ECU was able to know the current gear in use, there was no indicator on the gauge cluster. By using an Arduino paired with an OBD reading tool (even motorcycles make use of OBD these days), [Sebastian] was able to wire an LED ring into the gauge cluster to show the current gear while he’s riding.

The build is very professionally done and is so well blended into the gauge cluster that even we had a hard time spotting it at first. While this feature might require some additional lighting on the gauge cluster for Suzuki to be able to offer this feature, we have seen other “missing” features in devices that could be unlocked with a laughably small amount of effort.

Sip and puff Morse code entry with Arduino

Those that need a text entry method other than a traditional keyboard and mouse often use a method where a character is selected, then input using a sip or puff of air from the user’s mouth. Naturally this is less than ideal, and one alternative interface shown here is to instead use sip/puff air currents to indicate the dots and dashes of Morse code.

The system—which can be seen in action in the video below—uses a modified film container, along with a pair of infrared emitters and detectors to sense air movement. The device was prototyped on an Arduino Mega, and its creators hope to eventually use a Leonardo for direct computer input. 

A tube connected to a custom made bipolar pressure switch drives an Arduino which translates puffing and sucking into Morse code and then into text.

Puffs make repeating short pulses (dots) and sucks repeating longer pulses (dashes) just like ham radio amateurs do with a dual-lever paddle.

Code for this open source project can be found on GitHub.

A beautifully-designed LEGO pneumatic compressor

LEGO sets have long been able to work with simple pneumatic controls, but what about a full air compressor built out of these components? Would this be possible?

As demonstrated in the video below, this can in fact be accomplished, and in brilliant style no less. The design uses four motors, eight pneumatic pumps, and 10 air tanks to produce a pressure of 35PSI and beyond.

Controls consist of an Arduino board, along with a pair of resistors to set two separate tank pressures. User feedback is provided by two external displays, and the setup even features a lighting system to allow “workers” to perform maintenance access 24 hours a day!

For a quick start, the compressor has a Turbo function which is enabled under 35 psi this makes the motors run on 12V instead of the rated 9V. This way the air tanks are filled a bit faster but without overloading the motors.

The compressor has two sections which can be used separately with their own setpoint or as one big compressor. This selection is done by switching the outlet valves at the back of the compressor and by setting a jumper on the circuit board.

The Arduino control also tracks the running time of each section in hours and is shown when a switch on the circuit board is pressed.

The pressure is measured by a non official Lego pneumatic sensor by

The Tide Is High, And This Clock Lets You Know

In case you happen to have an ocean nearby, you’re probably familiar with its rising and falling tides. And if mudflat hiking is a thing in your area, you’re also aware of the importance of good timing and knowing when the water will be on its way back. Tide clocks will help you to be prepared, and they are a fun alternative to your usual clock projects. If you’re looking for a starting point, [rabbitcreek] put together an Arduino-based tide clock kit for educational purposes.

If you feel like you’re experiencing some déjà vu here, this indeed isn’t [rabbitcreek]’s first tide clock project. But unlike his prior stationary clock, he has now created a small and portable, coin-cell version to take with you out on the sea. And what shape would better fit than a 3D printed moon — unfortunately the current design doesn’t offer much waterproofing.

For the underlying tide calculation itself, [rabbitcreek] uses just like in his previous project [Luke Miller]’s location-based library for the ubiquitous DS1307 and DS3213 real-time clocks. Of course, if you also want to keep track of other events on your clock, why not set up calendar events for the next rising tide?

Hack a Day 09 Sep 15:00

SMART Response XE Gets Wireless Bootloader

A few months back we first brought word of the progress being made in unlocking the SMART Response XE, an ATmega128RFA powered handheld computer that allowed teachers to create an interactive curriculum in the days before all the kids got Chromebooks. Featuring 2.4 Ghz wireless communication, a 384×160 LCD, and a full QWERTY keyboard, schools paid around $100 each for them 2010. Now selling for as little as $5 on eBay, these Arduino-compatible devices only need a little coaxing and an external programmer to get your own code running.

The previous post inspired [Larry Bank] to try his hand at hacking the SMART Response XE, and so far he’s made some very impressive progress. Not only has he come up with his own support library, but he’s also created a way to upload Arduino code to the devices through their integrated 802.15.4 radio. With his setup, you no longer need to open the SMART Response XE and attach a programmer, making it much easier to test and deploy software.

[Larry] has written up a very detailed account of his development process, and goes through the trouble of including his ideas that didn’t work. Getting reliable communication between two of these classroom gadgets proved a bit tricky, and it took a bit of circling around until he hit on a protocol that worked.

The trick is that you need to use one SMART Response XE attached to your computer as a “hub” to upload code to other XEs. But given how cheap they are this isn’t that big of a deal, especially considering the boost in productivity it will net you. [Larry] added a 5 x 2 female header to his “hub” XE so he could close the device back up, and also added a physical power switch. In the video after the break, you can see a demonstration of the setup sending a simple program to a nearby XE.

Between this wireless bootloader and the Arduboy compatibility covered previously, we’d suggest you get your SMART Response XE now. We wouldn’t be surprised if the prices of these things start going up like they did with the IM-ME.