View Single Post
  #7   Spotlight this post!  
Unread 16-01-2015, 14:37
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: can we still use the CPR-360?

Quote:
Originally Posted by RafaelRamosV View Post
It's for take the signal of a sensor from 12 VDC to 5 VDC so it can be detected for the roboRIO, so in ths way we don't have to build a costum circuit
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.