View Single Post
  #24   Spotlight this post!  
Unread 10-07-2011, 17:36
docdavies's Avatar
docdavies docdavies is offline
Doc Davies
FRC #0346 (RoboHawks)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 1998
Location: Richmond, VA
Posts: 70
docdavies is an unknown quantity at this point
Re: Use of Arduino to control a Spike Relay

To close out this thead. I used a transistor 2N2222 to run the spike. I set it up petty much like the Arduino documentation says with the output pin from the Arduino driving the base of the transistor through a 1k resistor. Worked fine! Just make sure the ground from the 12V source to the transistor is connected to the Arduino ground.

We are now in gear for running all of the functions of the 2010 robot. Next the stiff learning curve in getting data from the drive station to the Arduino through an ethernet shield.

This stuff is SO cool!

Doc