Thread: pressure sensor
View Single Post
  #5   Spotlight this post!  
Unread 04-12-2007, 09:58
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,851
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: pressure sensor

You'll see an analog input value of from ~100 to ~920 based on the pressure
Analog reading = (0.625*Pressure psi +10) / 100 * 1023
or in integer math terms:
Pressure = ((long)analog value * 100,000 / 1023 - 10,000) / 625
or somewhat simplified:
Pressure = (((long)analog value * 98) - 10,000) / 625

you get the picture.

Here are the specs and the voltage vs. pressure charts from the original Texas Instruments presentation.
Attached Files
File Type: pdf TI_Pressure_Transducer.pdf (26.9 KB, 108 views)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-12-2007 at 10:51.