A Simple Project To Get You Started With The Android ADK

simple-adk-exercise

If you just got your hands on a shiny new Android phone and are looking for a fun project to try out, you might want to check out this simple Arduino exercise that [Mike Mitchel] put together. Everyone needs a starting off point for hacking, and [Mike] thought that combining and Arduino and Android handset together for the purpose of temperature sensing and light metering would be a great place to begin.

The prerequisites for this project are a bit beyond a simple breadboard and a few ICs, requiring an $80 Android ADK board to go along with your phone and Arduino. If your focus is going to be on interfacing your phone with microcontrollers however, it’s purchase you’ll make sooner than later anyhow.

The setup is pretty simple as you might expect. A photocell and TMP36 temperature sensor are connected to the Arduino, then with a bit of code and USB host magic, the Android app shows the temp and amount ambient light present in the room.

[Mike] has made all of his easy to read and well commented code available online, so be sure to check it out if you have been thinking about (but putting off) playing around with the Android ADK.

Quick And Easy Arduino-powered Theremin

[Martin] sent in a great guide to a simple Arduino based theremin. It’s a very small build – just a single common IC and some passive components – and easy enough to build in an afternoon.

The theremin is based on a simple LC oscillator built around a 7400 quad NAND gate IC, a wire antenna, and a few caps and resistors. When a hand moves closer to the antenna, the frequency of the oscillator increases; when a hand moves away, the frequency decreases. On the software side, the oscillator is connected to the internal hardware counter of the Arduino. Every time there’s a change in the voltage output by the oscillator (all the time, varying slightly with the distance from a hand to the antenna), the counter increases by one. This counter is tallied up over 1/10th of a second, and the distance from the instrumentalist to the theremin can be determined. From there, it’s just outputting a frequency to a speaker.

All the code, schematics, and board layouts are available on [Martin]’s guide, and most of our readers probably have the parts to build this lying around their workbench. You can check out a video of [Martin]’s theremin in action on his guide.

Make Your RC Car Drive Itself With This Simple Brain Swap

arduino-rc-conversion

If the kids have lost interest in that RC car or truck you bought them over the holidays, [Randy Sarafan] from Instructables has a few ideas that might help make the toys fun again, while teaching your kids a bit about electronics in the process. In his writeup, he shows how to swap out the brains of your run of the mill RC truck, enabling it to do far more than was originally intended. The procedure is pretty simple, and something that you can easily involve your kids in, if you’d like.

He uses an Arduino and a motor shield to keep the conversion simple, but this can be done with just about any capable microcontroller you might have on hand. [Randy] added a Parallax Ping sensor to the front of the truck enabling it to avoid objects as it drives itself, but since he cut out the truck’s original control board we’re assuming that there’s no way to override the truck’s actions at present.

[Randy] calls the conversion a “robot” though it seems like more of a semi-autonomous rover if you ask us. Regardless, revamping an old RC car is certainly far better than letting it collect dust on a shelf, or worse, tossing it out during spring cleaning.

Continue reading to see a short video of [Randy’s] RC truck in action.

[via HackedGadgets]

Continue reading “Make Your RC Car Drive Itself With This Simple Brain Swap”

Auto-locking Pet Door Ensures That Your Outdoor Kitty Obeys Its Curfew

auto-locking-pet-door

If you’ve got a pet that roams freely in and out of your house, you may find yourself wanting to more closely regulate how they come and go. [tareker] was looking to keep his cat indoors at night when dangerous animals might be lurking in the neighborhood, but he didn’t want it to become a hassle.

He already had locking pet door on hand, which he hacked to regulate the egress and ingress of his cat automatically. He installed a pair of reed switches to determine if the door had been opened outwards (cat leaving) or inwards (cat returning), keeping track of the state using an Arduino Nano. A servo motor attached to the door’s frame locks the door whenever it detects the cat is safely inside after nightfall.

While he also added an RGB LED to reflect the status of the door, he’s considering connecting it to the Internet so that he can control and check the door from wherever he might be at the moment.

DrummerBot Joins The Jam Session When Your Bandmates Are Busy

drummerbot

It seems that more often than not, [Steffest] finds himself inspired to rock out on his guitar without a percussion section to back him up. Like any enterprising hacker/musician would be wont to do, he built a robotic drummer to join in when he got the urge to play.

His DrummerBot is driven using an Arduino, which is tasked with controlling the 8 servo motors that the bot has at its disposal. The bot’s drum set is composed of a variety of items from fan motors to pot lids and more. [Steffest] wanted the ability to produce the maximum variety of sounds possible, so most of the servo motors are driven in two directions allowing the bot to strike more than one item with each “arm”.

[Steffest] is a big fan of interfacing physical objects with a web interface, so he built a simple HTML based sequencer that allows him to program the robot from his phone. Once the sequencer is programmed, the DrummerBot can be launched into action with the simple press of a button.

[Steffest] says that the bot works pretty well, but the sound is a bit raw if you hear it live. A little Ableton Live post-processing goes a long way to smooth things out however, as you can see in the video below.

[Thanks, Wesley]

Continue reading “DrummerBot Joins The Jam Session When Your Bandmates Are Busy”

Open Source Tracking System Gets A Kickstarter

open-source-tracker

Many of the hacks featured here inspire others to build on the creator’s work, and on occasion the positive feedback brings the hack to market. Last year we told you about [Wayne’s] creation, a system aimed at tracking down would-be game console thieves. He received a bunch of requests to document the tracker in full, so he decided to revise his creation and release it as Open Source Hardware.

As you might remember, his original tracking device was powered by an Arduino, which monitored an accelerometer and GPS sensor, reporting coordinates and movements to his mobile phone on demand. He combined the disparate components together on a single board, and started a Kickstarter for the project.

Aside from his original purpose of tracking stolen goods, he lists off an array of other uses, such as tracking the driving habits of your newly licensed teen, geofencing objects in certain areas and more.

If an SMS controlled all-in-one tracking system is something you might be interested in, check out his Kickstarter, or take a look at the documentation and build one of your own.

Rain Barrel Irrigation System Keeps Your Plants Fed When You’re Too Busy

sprinkler-controler

[Kyle Gabriel] moved into a house with a nice tract of land behind it, but due to his busy schedule he had yet to plant the garden he so desperately wanted. He worried that his hectic life and busy hours would lead to accidentally neglecting his garden, so he built a water collection and automated irrigation system to ensure that his plants never went without fresh water.

The system is fed by two large 55 gallon barrels that collect rain from his gutters. A 1/2 HP well pump is used to pressurize the collected water, which is then dispensed throughout his garden by a sprinkler. [Kyle’s] system is run from a small control box where an Arduino is used to control the pump’s schedule. At a predefined time, the Arduino turns the pump on, while monitoring the system for potential problems.

If the system starts running low on water, the Arduino triggers the valve on his spigot to open, keeping the water level above the pump inlet pipe. He also keeps an eye on pump’s outlet pressure, indefinitely disabling it before a blockage causes the pump to cycle repeatedly.

He says that the sprinkler system works quite well, and with his modular design, he can add all sorts of additional functionality in the future.