Introduction: 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.
Step 1: Materials
3 Continuous Servo motors
1 Arduino - I used an Arduino Mega
4 AA battery holder and batteries
Wii Nunchuck Adapter
1 Bread Board
Step 2: Schematic
Follow the schematic and ensure all wires are in the proper place
Step 3: Code
You will need to add the "nunchuck_func.h" to the library.
Step 4: 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
Step 5: 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!
We have a be nice policy.
Please be positive and constructive.