Posts Tagged ‘ arduino

How to ‘piggyback’ driver chips on Ladyada’s arduino motor shield

I really like the motor shield from adafruit industries. It is simple and it allows me to plug it in and start playing quickly. I usually have giant machines in my head, and the shield just wasn’t designed for those kind of motors.
You aren’t going to end up running your prius off of one of these controllers, but it turns out that you can almost double the max motor current draw just by soldering on some chips.
From Adafruit’s forums I figured out what ic’s I need to order (L293). Here is the label on the esd bag.

Now all that you need to do is solder them on top of the existing motor driver chips! As strange as it sounds, the theory has been vetted. Each one of those drivers can handle 600mA continuous. By stacking one on top of another they each handle ~600mA and you end up with ~1200mA! The motor shield has two driver ICs mounted on it, they are the two outer ones.

Here is a shot of the board. It is assembled, but it only has one motor driver chip per channel (‘channel’ feels weird there, but you know what I mean)

Read more

Sparkfun Autonomous Vehicle Challenge

I just got back from the Sparkfun AVC. It was a blast! I shot a lot of video, but that will take a while to get processed edited and uploaded. In the meantime here are the things I thought were cool on the ‘factory tour’ with a few AVC shots thrown in.

This pond instill fear in a lot of AVC owner/operators. Strangely enough the airborne division didn’t seem to mind the water as much as the trees.

This lil guy broke down the day before the big race. Sigh. It’s not easy being autonomous.

Known for it’s blazing speed, Bluebot held it’s own. It eventually claimed first place in the DNF division!

Read more

Missed out on Sparkfun free day? Buy it anyways!



So, like many of my readers I spent the morning watching firefox time out on sparkfun’s website. Eventually the clouds parted just in time for me to see the ticker go from 70k to 98k, to 100k. Just like that the first ever (annual?) sparkfun free day was over. I was bummed. Then I started thinking about it. Everything in my cart was something I wanted, and I did have a good time this morning, and I had a good time thinking about what I was going to get, and why. I have always thought sparkfun is a really cool company, and the fact that I can’t get this stuff for free isn’t going to stop me from buying it.


Right now there are probably a few thousand people still crashing the gates of sparkfun.com trying to get in on free day. It is over. They rewarded us with the chance to get free stuff. I personally am going to thank them by buying it anyways.


Thanks Nate, thanks Sparkfun!

Christmas gifts for geeks (pt 4) Arduino Edition

Christmas_lights

arduino Bare Bones Board Macro

Introduction - just in case you haven’t renewed your geek card for the past year (decade?) Arduino is a term that refers to a microcontroller on a board that has certain hardware and software ‘shortcuts’ figured out. It was designed to be as plug and play as possible, and to lower the barrier to entry for people who want to let their computer interact with the physical world. The programming language is fairly simple and very well documented, and it is a matter of minutes between installing the software and uploading your first program! Like I usually do, there is an amazon store here in case you don’t want to read my witty banter.

arduino – the meat and potatoes of this whole shebang.
The cool thing about arduinos are that even if you already have one, you canalways find a use for another! You can set them up to ‘talk’ to each other. You can leave a project set up after finishing it, or be able to prototype multiple projects at the same time. Also, there are a wide array of shapes and sizes (and prices) of arduinos, and each one is suited for a different application.

arduino

You can start out with the ‘classic’ Duemilanove. It is the original form factor, and most of the shields are built to fit this one. This is a great one to use for prototyping, and if need be you can use a smaller board in your finished project. If this is your first arduino I would recommend getting the kit which includes jumper wires, a breadboard, some LEDs, resistors and a pushbutton. That way you can start making things blink as soon as you get it out of the box!

arduino mega
MEGA - The arduino mega is just like the Duemilanove except that it uses a bigger chip, is a bigger board, and has more inputs and outputs. Most of the code is portable across the two. If you have a project that needs more i/o’s than the smaller chips, then this is right up your alley!

Click the link to check out the good stuff! Read more

$17 Arduino-based nikon IR intervalometer + code

invervalometer_4

This is one of those projects I’ve been working on for quite a while now, but never well enough to actually put it in a box! Well.. it still has no box, but it’s much closer to a boxable form.

It is a RBBB arduino clone (but any arduino
will
work) with an ir led, a potentiometer, a resistor, and some perfboard. The perfboard is as much there to help provide a little bit of wire strain relief as it is to provide a place to mount the pot. The code simply reads the pot input and converts it into a delay() function. Then it fires the IR led with the nikon-specific magic to tell my d40 to shoot.

Here is an example of one of the timelapses I have shot.

Read more

“Arduino Powered” CD Changing Robot

UPDATE!

Check out my new(er) cd robot project here. I grabbed an old scsi changer machine from ebay and have been working on adding serial connectivity to it. If it works, it will be a much simpler route!

One of my “always in my head” projects is a CD changing machine. I have seen the myriad of other projects out there, and this always captivates me, in that it is just out of reach, but it seems to be a fairly simple concept. I have been thinking and sketching on this one for SUCH a long time that I have decided to post it before it is fully polished up.

arduino powered cd robot - left side

The basic premise is I have an arm that swings up and down mounted on a platform that rotates 180 degrees. Both of those are positioned by hobby servos. On the tip of the arm there is two vacuum aided suction cups and some hdpe tubing.

arduino powered cd robot - front view facing right

Read more

Arduino Intervalometer for my Nikon d40

After seeing this project from cibomahto a while ago, I finally got my act together and bought a $1 IR led from radio$hack so I could build an intervalometer for my SLR.

For those who don’t know an intervalometer is, it tells your computer to take a picture every given interval. This enables you to shoot video with a still camera over a long period of time. Sometimes you have two intervals on fancy ones. Those allow you to use the bulb setting on your camera. Right now it has two potentiometers to indicate seconds and minutes between shots. It is run from a nine volt battery, and I expect it to have fairly good battery life. Only time will tell. The IR LED can’t take too much juice! It has a status led to show when it is firing (for trouble shooting) and not a whole lot else.


This currently needs a housing and a interface. I am debating the merits of a small lcd vs just using a printed label to mark the pot positions. It’s pretty much spray and pray right now. At least it is adjustable!

arduino d40 ir intervalometer

arduino d40 ir intervalometer


I’m thinking about getting one of these and eliminating the pots completely.


lcd shield from nuelectronics.com

lcd shield from nuelectronics.com

Which would end up making my project very similar to this one but for a nikon.


One last thought is possibly adding the functionality to use the bulb setting and then add a bracketing ability. Isn’t technology wonderful!

Update for arduino / python / rss reader – Weather!

I just whipped up this script that checks and displays the weather through rssweather.com. As always, it requires feedparser, an arduino, and a lcd screen. It is currently configured to read Burlington Vt’s weather, so if you don’t live there – change it in the python file. Check out the commenting for more info. Click here to download the zip file. Arduino rss reader – Weather module

For those of you just tuning in – you might want to check out the original arduino rss reader post for more details

Also check out the twitter feed reader.

gmail notifier project (for dummies)

I’ve been really interested in doing J4mie’s Physical Gmail Notifier ever since it came out in February. I only recently dropped into the project and got to learn a lot about python, plists, and arduino auto-reset functionality. I’m going to share what I’ve learned because I think there are lots of other people out there struggling to make it work. This page doesn’t really offer much that J4mie didn’t already say – it just says it in a different way.

I’ll post the code below – one issue with the way J4mie posted his was that it appended line numbers to everything and messed with formatting. Python is _really_ picky about formatting! All of the files are zipped HERE. It consists of three documents -

1) one python script that logs into your gmail rss feed and checks your total number of new messages. It then sends either an ‘m’ or an ‘n’ to the serial port.

2) one arduino sketch that tells the arduino to turn on or off a light based on the serial input

3) one .plist file that tells your mac (sorry pcs!) to run the python script every 60 seconds. If you run windows or linux then I’m sure there is something you can do to schedule this. You could also just set it to loop until quit. (to quit a script in terminal hit control-c)

Read more

Removing the auto reset in Bare Bones Board Arduino

I’m currently working on a project that requires the Arduino to accept serial input from my mac. This would ordinarily be fine, but the auto-reset function means that the arduino resets whenever I send it data, and then it forgets the data!

I emailed Paul at Modern Device company to ask if there was an easy way to remove the auto rest function. Luckily there is! He said that the capacitor closest to the reset button is the one responsible. To remove auto reset you can remove the cap, cut the trace above or below the cap, or even remove the dtr line from the ftdi cable!

Here is a shot showing the assembled board. The cap is the blue guy poking out from behind the reset button.


Read more