Hi I'm connecting the following pressure sensor to my psoc using my psoc 5lp . I watched couple of tutorials on how to interface a pressure sensor and have looked at the ADC example on psoc website. My code is very similiar to the person on the youtube link below. I also have watched the following analog sensor for the arduino code but its not working. similiar psoc posts also couldn't help me solve the problem. The pressure is from alibaba, I have used the formula used by arduino community.
https://youtu.be/UrqPxwsPWGk - anlog pressure sensor in arduino
The maximum pressure for my pressure sensor is 0.8Mpa. I wanted to read it in PSI or pressure bar becuase megapascal is too small. I therefore converted 0.8 Mpa to PSI which is 116. I'm using a 10 bit ADC , therefore the maximum readable number should technically be 921.4 and the lowest number 102.4 but when I blow on it nothing happens.
yes but that doesn't fix the problem. The LED keep flashing faster if I use the pressure as vaccum but that reading doesn't update in the LED.
This problem has been solved many times, so there shouldn't be any serious problems.
Check a few points:
1. Create / use a simple project with ADC DElSig with 10 bit resolution without using float.
- make sure that the measurement is working and is in the range> 0 <1000 bit.
2. The sensor signal should vary from 0.5V to 5V / 3.3V (check with a tester) аnd must be connected to the ADC input.
The archive of your project and the name / Datasheet of the sensor will help a lot
- it is always easier to continue what you started than to guess.