View Single Post
  #11   Spotlight this post!  
Unread 13-03-2013, 22:39
Cory's Avatar
Cory Cory is offline
Registered User
AKA: Cory McBride
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: May 2002
Rookie Year: 2001
Location: Redwood City, CA
Posts: 6,814
Cory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond repute
Send a message via AIM to Cory
Re: arduino victor 884 and a cim

Quote:
Originally Posted by Crawler View Post
pullup resistors and solenoids, I read its best to use servo coding even for a cim, but i just cant say i understand how these relate. Solenoid = victor? what would the pullup resistor do (im reading something about returning it to a state if no input is read, maybe to read that the joystick is let off?)? If this is what works for a victor and cim (i guess it doesnt matter what type of motor right?) then maybe it would be best just to look at your wireing diagram, or if you want i can create one for what i have if you would like.

Thanks,
Nick
That code was to operate a motor and a solenoid. The reason it might look weird is that I ended up having to use a victor to run the solenoid. As $@#$@#$@# backwards as that sounds it was something like 3 AM when I was finishing that up and just couldn't get the spike to do what I wanted it to, so I switched to a victor so I wouldn't have to mess around making the spike work.

The pullup resistor part had to do with limit switches.
__________________
2001-2004: Team 100
2006-Present: Team 254