Wednesday, 14 February 2018

Arduino PIR motion water gun

first what youll notice my grammer isnt the best :)
ok what youll need: 1 transister/mosfet that can handle the current for the water gun motor, this is the one i used - http://www.sparkfun.com/products/10213   -   then a diode, i used this one  -   http://www.sparkfun.com/products/8589   - then a 10k ohm resistor, then a PIR, i didnt use this one but it should work -  http://www.sparkfun.com/products/8630   -  then a bread board, i used this one   -   http://www.sparkfun.com/products/7916  -  then some jumpers these are what i used   -   http://www.sparkfun.com/products/124   -   then an arduino, i used a uno   -     and a water gun, which was for me, a pretty hard thing to find around the house, but i got one from a pesticede battery operated sprayer (it had never been used). and i made the sprayer tip using some tubing, a .22 air gun pellet and a tack ( im pretty creative:). last a battery  and battery holder that will work for your sprayer motor.  oh and also keep in mind this instructable was done by me, a 14 year old who just got into elctonics in the last few months, plus this is my first instructable :).

Step 1: The Code

first, upload the code. go to the bottom of this page - http://www.ladyada.net/learn/sensors/pir.html - copy and then paste it in the arduino ide, then change the LED pin to digital pin 3, then save the code in the ide, then upload the code to your arduino.

Step 2: Wiring Up the PIR











Picture of Wiring Up the PIR















follow this wiring diagram for the PIR. yellow jumper is out or signal, black is ground, and red is positive 

Step 3: The Circuit











Picture of The Circuit








now build this circuit on a bread board, but know that you wont get it to work the first time. and its very picky on how you put the jumpers, especially around the mosfet/transistor.

Step 4: The Box

now, i built a box from some 1/4 luan plywood and some VERY heavy duty super glue called "2p-10" made by fast cap. but im not going to tell you exactly how to built it because it depends on how you want to rig it all up and how big your water tank is.

Step 5: The End

now youre done!!!! and i'll add that you can also hook it up to a automatic airsoft gun's motor and then in instead of a water gun youll have a full-auto airsoft turret!!! so untill next time have fun and comments are greatly appreciated



For more detail: Arduino PIR motion water gun



 

My Arduino WordClock

Show All 37 Items

Step 1: The Materials

Picture of My Arduino WordClock











Picture of My Arduino WordClock









Picture of My Arduino WordClock





















Picture of My Arduino WordClock












Picture of My Arduino WordClock







The list of materials for the board depends on how you plan to make the electronics, if you want an Arduino standalone or an Arduino UNO or 2009, however, this is what I used.

Step 2: 1) the Materials- LED and Resistor

To realize the proposed scheme are needed:
98 White LED
98 Resistor 470 ohm
Why 470?
I chose these resistors for this reason:
LED (ultrabrightness white)  http://www.robot-italy.com/product_info.php?products_id=421 forward v is 3,3v and 25ma
,the clock will run to 9v and i want that the led will be drived at half current 12,5ma (no needs too much brightness), so:

(9-3,3)/0,0125= 456, correct misure is 470 ohm resistor.

Step 3: 2) the Materials -Standalone Arduino




















Picture of 2) the Materials -Standalone Arduino









Picture of 2) the Materials -Standalone Arduino


















On the web and on Instructables  you will find several examples , these are the materials I used for my own PCBs, I plan to switch directly the ATMega 328 bootloader included  with that my own Arduino UNO.

-2 ceramic capacitor 22pF
-quartz 16 mhz
-2 elettrolitic capacitor 100 nF
-5v regolator voltage 78L05
-1n4007 diode

Step 4: 3) the Materials - Integrated





















Picture of 3) the Materials - Integrated








3- HCF4094 shift register
4- ULN2003A Driver
ATMega 328 with bootloader

Step 5: 3) the Materials - Other Electronic Part
































-2 micro button to set hours and minutes
-a supply voltage coaxial connector
-a flat wire 26 wire with connector
-two-pole connector

Step 6: 4) the Materials - Remainder




















Picture of 4) the Materials - Remainder











-IKEA Ribba frame
-carboard light, color you want to make passpartout
-cartonboard thicker to make LED holder

Step 7: LED Soldering

Bend direction, anode on top right and cathode dow left
Trip the anode and a side of resistor about 2-3 mm and sold it.

Step 8: Holes Guide

Positive mask to help to do the holes in a led holder
I've used a a drill with a bit of 5mm
IKEA frame with inside lucid paper with word printed through a laser print (four lucid together are need to have a solid color black).

Step 9: LED Holder Back






























Picture of LED Holder Back


















Led Holder back. Very important to bend in a short curve anode and cathode so don't risk to touch the rows together. Sold all the anodes and cathodes together but interrupt the cathodes between the words. In this mode you will have a parallel connection
after you have soldered all the end of anodes that you see on the right. In each cathode word you will sold a wire that will go to a pin to driver the word with the Arduino sketch. 

Step 10: LED Holder Front

Led holder front, better black color to prevent reflection
Add some buffles to prevent the light from bleeding between words.

Step 11: Layers

For a better spread of light and have a solid black I have four layers overlapped acetate, at the end I put a layer of gray and a white matt

Step 12: The PCB Board




















Picture of The PCB Board








This is my personal board double layer. Has made by a professional mastering, you can easly solder all the component and have an Arduino standalone, It  works 9v or 5v supply, better 9v however.
I can send gerber file for a small fee.

Step 13: Supply Voltage Plug Connector

Step 14: Final Result


 

 

 

 

Picture of Final Result 

 

 

Picture of Final Result 

 

 

 

 

Picture of Final Result 

 

 

 

 

 

 

Step 15:

I have used the very useful and well done Doug Jackson program that reduce brightness when you want in the day time.

Attachments

Instructables Wordclock.zipInstructables Wordclock.zip





















 For more detail: My Arduino WordClock