100PSI Transducer Code
anaxcontrol
Posts: 23
in BASIC Stamp
I'm looking for some code for Basic Stamp 2 (2PX24) for 3 wire 100PSI pressure transducer. Anyone have some guidance?
Comments
-Phil
For easiest use, you'll need an a/d converter. 12-bit a/d are quite common and the LTC1298 is a good , 8-pin unit that will give you 2 selectable channels.
Parallax used to sell the chip and there is sample code available.
Cheers
If you go the ADC route an 8 bits is fine since the transducer accuracy is only 1.5%, although a higher resolution (10, 12, or more bits) would also work. Best to select one that has a driver in the OBEX.
For a V-F chip you can use a single pin to measure the frequency.
Once you have a voltage value converting it to pressure is simple.