Arduino controlled Silly String shooter

 by erickingston
Contest WinnerFeatured
This is a fun device that's very simple to make.

I put mine in a pumpkin for Halloween. I also added an IR  motion sensor, sound, and Twitter.
You can follow the victim count on Twitter by following: hackolantern
 
Remove these adsRemove these ads by Signing Up

Step 1: Materials Checklist

Items needed:

- Arduino microcontroller
- A couple cans of Silly String (it's no fun with just one can!)
- Wire coathanger
- Standard sized servo (I used a 39g servo)
- Zip ties
- Basic tools (I'm not going to list everything. You're smart, surely you'll figure it out.)
Doc_RMK says: Oct 16, 2012. 7:03 PM
dude u need to give credit where credit is due!

http://cse.unl.edu/~djin/wp-content/uploads/2012/08/project1_report.pdf
Doc_RMK in reply to Doc_RMKOct 18, 2012. 4:44 AM
You're right! Foot in mouth syndrome! My sincerest apologies. Excellent instructable!
erickingston (author) in reply to Doc_RMKOct 17, 2012. 4:10 AM
Wow, I hope he got a good grade! I also hope you're referring to the individual who wrote that report and not me. Look at the dates. I did this project in 2009 and he did his in 2011. That's a bummer he didn't add this instructable as a reference :(
Mr.Monkey16 says: Oct 7, 2012. 12:47 PM
Can I use a Parallax Ping Sensor instead of an IR sensor?
gradof6b says: Nov 24, 2010. 10:25 PM
I really want to do this but I'm a total noob and having trouble figuring out how to connect the ir sensor and the servo to the arduino, Help please.
Raccoon81 says: Oct 29, 2010. 2:08 PM
How do you keep it from pushing the cap off when you have it press the spray nozzle? Getting the shape of the hangar just right to even turn correctly is quite the art, how many attempts on the hangar did it take you?
erickingston (author) in reply to Raccoon81Oct 29, 2010. 6:29 PM
The cap i used had a really snug fit, so i never had a problem with it popping off. I would try to add some paper or something as a shim if the cap is too loose. As for achieving the correct bend in the hanger - it only took minor tweeking. The primary issue I had was simply trying to find a good angle which allowed the arm of the servo to operate the lever correctly. Keep at it, you'll get it!
trialex says: Oct 29, 2009. 12:13 AM
Great idea!

Hope you don't mind some suggestions though.

You should use the side view showing the mounted servo in a lower-down step, not just in the intro.

You could also give a brief description of how the arduino is all set up. Which of the three sketches is used in the finished project?
erickingston (author) in reply to trialexOct 29, 2009. 10:20 AM
Thanks for the input.

I added the picture of the mounted servo to the final step, and the sketches were described in the code step.

I'll have to take a snapshot of my Arduino setup. That would be the easiest way to see the configuration.

Thanks,
Eric
dpapas665 in reply to erickingstonOct 25, 2010. 7:04 PM
Just curious if you ever got that shot of your arduino setup together. Very cool project.
seanturvey says: Oct 23, 2010. 8:40 AM

WARNING: Silly string is highly combustible and can be ignited by a lit cigarette.
erickingston (author) in reply to seanturveyOct 24, 2010. 5:40 AM
Not the stuff i was using, but thanks for the warning.
ly333 says: Oct 12, 2010. 8:54 PM
How would I integrate wifi?
">
erickingston (author) in reply to ly333Oct 13, 2010. 4:26 AM
There are two levels of wireless connectivity for this project. Notice the stack of components to the left of the pumpkin? Within that stack is a wifi shield from asynclabs.com. There are also two very inexpensive RF modules that you can't see. One is inside the pumpkin, and the other is connected to the stack of components on the left. I set it up this way so to avoid ruining my wifi shield with pumpkin goo. Wifi shield costs about $65, and the RF modules only cost $6 combined. So, to answer your question, it's already integrated! Just download the sketch that involves sending tweets, and you can run from there. Have fun!
Longchamp says: Oct 7, 2010. 9:11 AM
Awesome project. Can this be combined with other projects?

As in, can this thing tweet, take a webcam photo, and fire the silly string all at once when the sensor is tripped?
erickingston (author) in reply to LongchampOct 8, 2010. 9:49 AM
Absolutely... Sky is the limit my friend!
Jakeg says: Oct 7, 2010. 1:35 PM
Is there any way of doing this without using an Ardunio? I'm kindof interested in crapflinger's idea but I'm not sure if I want to spend the money...
erickingston (author) in reply to JakegOct 8, 2010. 9:48 AM
Sure, just look for silly string shooting toys. You should be able to easily "hack" into them, and hook them up to a cheap motion sensor.
scraptopower says: Oct 6, 2010. 12:29 PM
Great project and outstanding photo's!

How did you get your photos so nice :)

Rated 5* and will vote when the time comes! :)
jaspalmca06 in reply to scraptopowerOct 6, 2010. 11:06 PM
hi
scraptopower in reply to jaspalmca06Oct 8, 2010. 3:22 AM
Hi :)
zascecs in reply to scraptopowerOct 6, 2010. 7:33 PM
He must of used one of these
erickingston (author) in reply to zascecsOct 8, 2010. 9:43 AM
Nope, just a big piece of paper and lots of light!
zascecs in reply to erickingstonOct 8, 2010. 5:08 PM
close enough... =P
crapflinger says: Oct 29, 2009. 5:24 AM
i've got one of These, it's an automated cat scare-the-crap-out-of-er (really effective by the way)....i found that if i take the nozzel off of a can of silly string (or spray paint, or hairspray)...and replace it with this thing...that it actually works pretty well (the silly string doesn't go quite as far because of the nozzel shape)....really great for scaring people
Jakeg in reply to crapflingerOct 7, 2010. 2:24 PM
Was it the new or the old Ssscat that you have because I'm interested in buying one for this very reason. Is the distance of shooting greatly decreased or is it just by a little bit? I am just wondering if I will have to mod the nossle...

-Jake
ylpihs says: Oct 7, 2010. 7:48 AM
Very nice guide. Will definite try this when Halloween comes.
Computothought says: Oct 6, 2010. 7:35 PM
Cool and thanx... Can not wait to adapt that idea for my pc. Already control servos from the parallel port.
siliconghost says: Nov 2, 2009. 3:25 AM
What did you use for the IR motion sensor?  That's the once piece I wanted to see but there is no mention of it.  Please add a little more detail!
erickingston (author) in reply to siliconghostNov 2, 2009. 9:59 AM
I used the Sharp IR proximity sensor from adafruit.com
http://www.adafruit.com/index.php?main_page=product_info&cPath=35&products_id=164

I plan on upgrading to the long range version from sparkfun.com
http://www.sparkfun.com/commerce/product_info.php?products_id=8958
Personman in reply to erickingstonNov 14, 2009. 1:53 AM
 With this PIR sensor at about 1/3 the cost you have an adjustable range of up to about 16-1/2ft.  I'm sure you could rig something up get around the 60 deg beam angle.  I'm giving it a try anyway :) If I'm wrong I'll find another use for it. 

Zilog
Digi-Key part #269-4710-nd

Apparently I now have to pay to post a link or I would have,  and FYI thats ridiculous.  I could see paying for some features but to post a link?
erickingston (author) in reply to PersonmanNov 15, 2009. 5:55 AM
Hey personman,

That's a nice find - I like the price. Take a peek at my post below, and you'll see a link on how to narrow a PIR's detection angle. I picked one up at Radioshack for $10, so I figure the price is about the same as the one you mention after you add shipping.

The part I like about using proximity sensors, is that you can adjust the trigger distance. It's nice, because I can limit the range, letting it only shoot when an object is at a specified distance. So, in this case, we could say only activate when an object is at least 3 feet away, but not more than 8 feet away. Just a little extra control.
siliconghost in reply to erickingstonNov 2, 2009. 10:04 AM
Excellent! Thank you! I didn't even know that one existed (and it is very reasonable).

- John
erickingston (author) in reply to siliconghostNov 2, 2009. 10:37 AM
There is one other option, and it's even less expensive. You can use a PIR motion sensor (check your local Radioshack) pointed through a short piece of tubing to make it unidirectional, such as Jonathan did in this instructable: http://www.instructables.com/id/S3QN9YEFRD805LC/

Whatcha building anyway?
Eric
adamw ROX OUT LOUD says: Nov 5, 2009. 10:30 AM
i just thought of something - you could widen the hole in the nozzle of the can with a drill to get a shotgun effect.  you know, hit more people. 
tippmannphreak says: Oct 31, 2009. 9:58 AM
dude...I'm mad this thing is so cool and NOW I see it...on halloween day... : /

Sweet instructable! I just wish I had seen it about two weeks ago though lol.

5 stars
gmoon says: Oct 29, 2009. 12:34 PM
This is too funny--great job! 5 big ones for the rating...

(warning to anyone who's entered in the Halloween contest, and then down-rates someone else's projects--the staff eliminates your negative votes to keep it honest...)
gmoon in reply to gmoonOct 29, 2009. 12:36 PM
Although I gotta say you should document this in greater detail...
concinos says: Oct 29, 2009. 12:04 PM
Very cool, I like how modular the solution is with the spray cap, you can keep changing the can without making new caps. Also this could be used for many other spray automation projects. Plus the pictures are absolutely professional.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!