Good Day,
I trust you are all keeping well, I am using a Teensy 4.1.
I am trying to read a Input from a VDO Oil Pressure input from a car / truck. the input Voltage on this sender ranges from 6v to 24V, so it could be used both on a 12v car and 24 Volt truck.
According to the docs the Sender resistance is 10 - 184 OHM, so i am assuming no matter the Voltage the ohms value will be consistent weather is a 12v car or 24v truck.
based on this, I have taken a resister divider, R1 at 68K and R2 at 10K this should give me a max pin voltage of 3.077V , from a 24v input. I should be able to Map the rawADC voltage to the Ohms to get the Bar Pressure.
IS this the right way to do this ? is the Teensys ADC Accurate enough to pick this up ? IF there is another way I would be greatly appreciative, perhaps a dedicated ADC unit ? as i have to also use a similar VDO unit for water temperature. Do i have to use the Teensy reference voltage, if so how ? Would i have to use a 3.3v Zener Diode for safety sake ?
your help and responses are greatly appreciated and its great to be part of such a great community.
Thanks Gary
This Post shows you how to do it on a 5V Ardunio. https://www.instructables.com/id/VDO-Oilpressure-sensor-for-Arduino/
I trust you are all keeping well, I am using a Teensy 4.1.
I am trying to read a Input from a VDO Oil Pressure input from a car / truck. the input Voltage on this sender ranges from 6v to 24V, so it could be used both on a 12v car and 24 Volt truck.
According to the docs the Sender resistance is 10 - 184 OHM, so i am assuming no matter the Voltage the ohms value will be consistent weather is a 12v car or 24v truck.
based on this, I have taken a resister divider, R1 at 68K and R2 at 10K this should give me a max pin voltage of 3.077V , from a 24v input. I should be able to Map the rawADC voltage to the Ohms to get the Bar Pressure.
IS this the right way to do this ? is the Teensys ADC Accurate enough to pick this up ? IF there is another way I would be greatly appreciative, perhaps a dedicated ADC unit ? as i have to also use a similar VDO unit for water temperature. Do i have to use the Teensy reference voltage, if so how ? Would i have to use a 3.3v Zener Diode for safety sake ?
your help and responses are greatly appreciated and its great to be part of such a great community.
Thanks Gary
This Post shows you how to do it on a 5V Ardunio. https://www.instructables.com/id/VDO-Oilpressure-sensor-for-Arduino/