View Full Version : [Question(s)] How pressure sensor and MBED works?

07-04-2012, 07:07 AM
Good day all, Please am new into this, a total novice. This is my question. How do you interface a pressure sensor and MBED microcontroller.

07-04-2012, 04:58 PM
That depends on the interface of the pressure sensor.
If it's an I2C bus interface, you talk to it using I2C.
If it's an SPI bus interface, you talk to it using SPI.
If it's an analog interface, you read it using the A2D conversion (and, if the range of the signal is different, you buffer it with an opamp and step it down with a resistor ladder/voltage divider.)

07-05-2012, 04:42 AM
I see, thank you.