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

Picture of 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

Step 2: Schematic

Picture of 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

  1. Upload the code to your Arduino.
  2. Check all connections
  3. 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

Picture of 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!

Comments

baggetha (author)2016-12-06

What are the measurements on the wood?

JohnathanF4 (author)baggetha2016-12-12

I added a cut list to step 5. Thanks for viewing and if you need anything else please feel free to ask.

baggetha (author)JohnathanF42016-12-13

Thanks

Swansong (author)2016-12-02

My husband would LOVE this!

About This Instructable

1,689views

23favorites

License:

More by JohnathanF4:Rubber Band Gun using an ArduinoDIY Dog Mobility Harness for under $15
Add instructable to: