sampling automotive VSS
Hi Everyone,
I am looking to count the cycles off of the vehicle speed sensor in my car using the propeller. I am assuming I can do this using positive/negative edge detection.
It seems like powering a microcontroller on automotive voltages has been covered recently so I won't bring that back up. For now I will be powering the system with batteries which brings up my question.
Since the propeller and the VSS are grounded to different power sources, I need to understand how to connect the propeller in order to sample the sensor's signal. From what I understand the logic signal from the sensor may be too high/low because of the different ground references.
Can I simply create a single point ground between the two circuits? I hope this makes sense and someone may be able to help me better understand the situation.
Thanks again,
I am looking to count the cycles off of the vehicle speed sensor in my car using the propeller. I am assuming I can do this using positive/negative edge detection.
It seems like powering a microcontroller on automotive voltages has been covered recently so I won't bring that back up. For now I will be powering the system with batteries which brings up my question.
Since the propeller and the VSS are grounded to different power sources, I need to understand how to connect the propeller in order to sample the sensor's signal. From what I understand the logic signal from the sensor may be too high/low because of the different ground references.
Can I simply create a single point ground between the two circuits? I hope this makes sense and someone may be able to help me better understand the situation.
Thanks again,
Comments
-Phil
-AJ
From the perspective of sensing when something is on/off on the car…if the hot line you’re testing goes through the proper resistor value into the anode of the LED and the cathode goes to the car VSS, then when the car system is on, the LED will be on. On the microcontroller side this would be detected as a low on the collector (which has been pulled high otherwise). Optical isolation is very useful in automotive and industrial interfacing. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering