View Single Post
  #1   Spotlight this post!  
Unread 02-07-2011, 21:08
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
Use of Arduino to control a Spike Relay

We are trying to resurrect our 2010 Breakaway robot using an Arduino Mega. I've gotten the motor control in hand (solenoid PWM), and have worked out how to run the 12 V Festo values. Our Jag's and Victors are behaving themselves (although I haven't gotten everything running at once so don't know if I'm going to over load the Arduino outputs). Was playing around today with Spike Relays, they hold a lot of potential. I wrote the code to run the compressor and read the pneumatic switch and was about to run it when that little voice in my head said, "You'd better look into the amount of current that will be sourced into the PWM control port from an Arduino pin". Could not find anything on line about how much it takes to activate the Spike. Anyone know? Also, hooked the Spike power input to 12 V battery, got nice orange light, hooked white line to 5V power supply, green for go, 5V to red line red for reverse. Wonderful. So put meter in circuit and got 65 mA flowing. Way to much for Arduino. But thought I'd measure resistance and do Ohms law to check. Measure resistance from white to black...infinite???? Obviously I'm missing something. Can anyone help. Basically my question is, can the Arduino directly control the Spike using a DIO line. Thanks....