Rubber Band Gun Using an Arduino
by JohnathanF4 in Circuits > Arduino
4547 Views, 23 Favorites, 0 Comments
Rubber Band Gun Using an Arduino

I am new to the Arduino and with some research and hard work I was able to get this working. If I can do it, so can you! I had a few problems making the rubber band gun and I hope this instructable makes it easier for others to duplicate.
Materials

3 Continuous Servo motors
1 Arduino - I used an Arduino Mega
Connector wires
4 AA battery holder and batteries
Wii Nunchuck
Wii Nunchuck Adapter
https://www.amazon.com/s/ref=nb_sb_noss?url=search...
1 Bread Board
Schematic




Follow the schematic and ensure all wires are in the proper place
Code
You will need to add the "nunchuck_func.h" to the library.
Test the Code/check to See If Servos Work Properly
- Upload the code to your Arduino.
- Check all connections
- Plug Arduino into a power supply
* If the servos are continuously spinning you will need to calibrate each one. There is a small screw on the side and all you have to do is adjust it until it stops spinning. You can also watch this youtube video to find out how to do it.
Around the 1:50 second mark is when he talks about calibrating the servo
Build the Gun Platform








I built mine out of some scrap cedar that was left over from a woodworking project. Enjoy shooting things and I hope this works for you!