View Single Post
  #8   Spotlight this post!  
Unread 16-01-2015, 14:49
RafaelRamosV RafaelRamosV is offline
Registered User
FRC #5312
 
Join Date: Jan 2015
Location: Mexico
Posts: 9
RafaelRamosV is an unknown quantity at this point
Re: can we still use the CPR-360?

Quote:
Originally Posted by Alan Anderson View Post
It won't do that very well, if at all.

Based on earlier posts about a 12V sensor, I think the proper solution is a very simple custom circuit: use two resistors to make a voltage divider.

Connect the output of the sensor to one end a 1.5 kilohm resistor. Connect the other end of the 1.5k resistor to the roboRIO's signal input pin, and also to one end of a 1 kilohm resistor. Connect the other end of the 1k resistor to the negative pin on the roboRIO's input. When the sensor supplies 12 volts, the roboRIO will see approximately 4.8 volts.
I know, it's even better a zener regulator, that way I don't lose any current, contrary what could happen with the voltage divider, it's just that talking with the team we want to use all that we have in our hands instead that starting to build stuff, but yeah I will try voltage divider and zener regulator.