|
Re: Problem with 2008 gear tooth sensor
The sensors require a pull-up resistor between the power and signal leads. When we connect the PWM cable to the sensor we add the resistor at the joint and then put a piece of heat-shrink over the whole joint for protection.
I don't remember the exact value, but something around 5K ohm should be sufficient. You can check with the scope.
When assembled, we plug the PWM cable right into the DIO port and use the RC 5VDC to run the sensor. Works great. The output is high when no metal is sensed in front of the sensor, and low when something is there. You can test with a DVM and a screwdriver.
I will post pictures this weekend... forgot to take pictures last night.
__________________
---------------
FIRST Mentor and Team Leader
C.O.R.E 2062 a NASA, GE Volunteers and Rockwell Automation FRC Team
|