

I used an Adafruit motor shield to run the motor on the gun and the servo to trigger the shots. To use the motor shield I simply connected a battery pack (4 AA's in series) to the power terminals on the sheld. I connected the servo to servo terminal 0 on the shield. I've attached a sketch below showing how it's used.
#Masterwriter update update#
I was using an Arduino Mega 2560 and was having problems with running steppers with the library provided by Adafruit, until I figured out there was an update then it all started working correctly. #MASTERWRITER 2 STOP SHOWING SERIAN NUMBER UPDATE# To run a servo with the motor shield, it's exactly like running a servo connected directly to an Arduino. In fact all the motor shield does is give you a convenient 3 pin header to connect to. GOTCHA - According to the FAQ Arduino Pin 9 goes to Servo Header 1 and Pin 10 goes to Servo Header 2.

On mine it was backwards (Pin 9 -> Servo Header 2, Pin 10 -> Servo Header 1). To control a motor you basically set it up and tell it what port it's connected to, set the speed and direction and let it go. If you don't connect external power to the shield motors won't work (even though steppers do).Ĭheck out the code attached to this step. Note: obviously this could be done without the motor shield, but I had one around and was using an Arduino Mega, so I had plenty of pins.

#Masterwriter update android#
Its cloud-based design can be used on any macOS or Windows desktop or laptop and any Android or iOS tablet or smartphone, so it can be accessed anytime, anywhere.
#Masterwriter update full#
This subscription provides you with two years of full access to the software. The MasterWriter Creative Writing 2-Yr Subscription is available in our deals store for just $99, it normally retails for $149.Īdd a powerful English-language vocabulary tool to your writing toolset with this MasterWriter Creative Writing/Songwriting Software subscription. We have a great deal on the MasterWriter Creative Writing 2-Yr Subscription in the Geeky Gadgets Deals store this week.
