With controlBox, you've got a great basic input device pushing data to the Electric Imp planner (and therefore to the internet at large, via the HTTP Out node), but what about output devices? Controlling lights is a good trick, as we saw yesterday, but it's not enough to start your quest for global domination. No, as the Instructables Robot is well aware, for all your real conquering needs, you need robots.

Building an Electric Imp robot is quick and easy. Check out this instructable to build your own.

Step 1: Building impBot: What you'll need

Building an imp-based robot is particularly easy for a couple of reasons:
  1. The Electric Imp API for configuring and controlling Pulse-Width Modulation (PWM) is quite straightforward and intuitive
  2. Many servos, like the A0090 micro servo in the pan/tilt mechanism I used here, run great on a 4.5V to 6V supply - which means you can power your electric imp breakout board and servos from the same small power supply
    • A note on this: you may have less luck if you attempt to run the imp and servos off of a USB power supply. While the supply voltage is just fine, a USB power supply may not provide the necessary current, depending on what you're using. 
  3. You don't need any additional components: power, an imp, and a servo, and you're all wired up.
  4. Everything is really small!
Here's a full inventory of what I used:
  1. An imp (rather obviously)
  2. An electric imp breakout board (I used an "April" dev board from electric imp, but the Sparkfun breakout is identical)
  3. Two A0090 micro servos
  4. A pan/tilt bracket
  5. A small piece of stripboard for connecting things cleanly
  6. A pair of CR123 batteries
  7. A pair of CR123 battery clips
  8. Some headers and heat shrink tubing to keep things neat
  9. A box I had handy. Something 4" square by 1.5" deep or more should be just fine for you. You'll want to cut some holes in it, so get one made out of something reasonably easy to cut.
  10. A SPDT (Selector) Switch, which I wired up to select between USB and battery power. Since I don't have USB power connected, it serves as a power switch
And of course, some tools were required:
  1. A soldering iron and some solder
  2. Heat gun for shrinking heat shrink
  3. A big, heavy pair of scissors for cutting up the stripboard. If you're going to saw this stuff (you probably don't want to), wear a respirator. FR4 dust is toxic.
  4. A pair of angle cutters.
  5. Some double-sided foam tape for securing stuff to the bottom of the box
  6. Drill 
  7. Small adjustable wrench
  8. Dremel - great for cutting a hole for the pan servo in the top of the box
Alright! That's the works. Check out the next step for the schematic and let's get started.
<p>Hey Tom - Any change of updating the code to the new Agent/Device IDE? I bought the parts, but can't navigate through the old &quot;Planner&quot;... and github doesn't appear updated. Thanks.</p>
Thanks for the heads-up. I'll try and get to it as soon as I can.
Is there a way to use your iPhone instead of control box to control the servos? This way I only need one Electric Imp.
Why is it that most of the people asking questions here sound like they work in Electric IMP? I would like to control just one servo with a PC not another Imp? $150 bucks is a lot to spend on something that does next to nothing. No one is using this thing for anything? I can't find any kits for all these wonders &quot;Dev boards&quot; or where to get them? All I can find is a little socket board that's called Apral and most of them are on Ebay and they turn out to be a scam, I.E. You never get them.. The 20 Imp card is now 30 bucks and the boards are 20 bucks. so at least 150 bucks just to get something working? Lots of money for a home tinker, and I should have read more befour buying into this. Sorry I don't want to come off angry but I feel I've been took.
Hopefully, you can show me how to let my PC control this remote controlled lawnmower: http://www.instructables.com/id/Remote-Controlled-Lawnmower/ <br> <br>The above web site has a video of my remote controlled lawnmower. <br> <br>Currently, the mower is controlled by a Futaba 4YF transmitter. I want my Windows 7 PC to control the mower either with an interface to the Futaba transmitter or by a PC based joystick and transmitter that replaces the Futaba transmitter. The interface needs to allow the following 2 steps: <br> <br>Step #1-Learn Mode Control the mower via the transmitter and record the sequence of joystick commands to the PC <br> <br>Step #2-Playback Mode Transmit commands recorded on the PC in Step #1 tothe mower. <br> <br>What is the easiest way to accomplish these 2 steps?
Neat! How about controlling with a joystick for full 2-axis control?
Here you go! http://www.instructables.com/id/Internet-connected-joystick/
Stay tuned ;)
brilliant - I tried it using the sparkfun shield. It worked immediately! This may look like an ad for the imp but the imp itself is the best ad. Try one (better two) and you will see <br>Really great work you guys do!
Thank you so much for the positive feedback - that's exactly the experience we're trying to create!
This is really nice,&nbsp;I love the idea of an impbot.&nbsp;Could you possibly post how much this would cost to build?
And the control knob please.
imp - $30 <br>breakout - $20 <br>pot - $3 <br>switch - $1 <br>I used a spendy enclosure for the controlBox, about $15 <br> <br>Total for the controlBox would be about $70.
imp - $30 <br>breakout - $20 <br>servos - $18 for two <br>bracket - $6 <br>stripboard - $5 <br>CR123s - $6 <br>CR123 clips - $3 <br>switch - $1 <br>my enclosure was ~$10 <br> <br>Total's just about $100
This isn't so much a project as it it an ad for Electric Imp.
not that it's a bad thing, knowing where good stuff can be purchased... better there be some educational part to it. me, i just think of using an old cable adjust car mirror assembly, it could be extended for better range, but it wouldn't be as useful.
http://goo.gl/rzuFJ you might find your answer here.

About This Instructable


134 favorites

Bio: Developer at Electric Imp
More by tombrew: NeoWeather: Ambient Weather Indicator Imp Chef: Internet-Connected BBQ Thermometer imPrinter: the Electric Imp wireless, internet-connected thermal printer
Add instructable to: