mskutlu
Posts: 7
Joined: Mon Oct 26, 2015 11:43 am

mpx10dp water pressure sensor with Pi

Sun Nov 01, 2015 10:17 am

Hi,
I have a project with mpx10dp water pressure sensor to read water pressure. To read it i got ina128 amplifier and analog to digital converter. I am trying to read values but i couldn't get any. Is there any driver install for this to run before or maybe you could give me some examples for it?
Any help would be great. Thank you in advance.

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: mpx10dp water pressure sensor with Pi

Sun Nov 01, 2015 10:55 am

What ADC did you get?

You need to break down the problem into stages. Stage 1, for example, might be to get the ADC working. You need to connect it to the Pi, figure out how to get data out of it, and then test it by varying the input voltage (with a potentiometer, for instance).

Stage 2 might be to hook up the water pressure sensor to the instrumentation amplifier and verify that you get a stable output from the amp when the pressure is stable, and you get a measurable change in output when the pressure changes. You could use a mechanical pressure gauge to confirm the sensor output, or you could use the data sheet to calculate the output voltage for a given pressure and assume everything is working as it should.

Finally, assuming the output of the amp is within the input range of the ADC you can put the two parts together.

mskutlu
Posts: 7
Joined: Mon Oct 26, 2015 11:43 am

Re: mpx10dp water pressure sensor with Pi

Thu Nov 05, 2015 9:17 am

my adc is mcp3202. I dont have enough electronic knowladge so i dont sure that i connected them correctly. Do you have any reference for connecting mpx10dp, ina128 and mcp3202?

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: mpx10dp water pressure sensor with Pi

Thu Nov 05, 2015 9:39 am

mskutlu wrote:my adc is mcp3202. I dont have enough electronic knowladge so i dont sure that i connected them correctly. Do you have any reference for connecting mpx10dp, ina128 and mcp3202?
Well, you have picked a very complex project if you have little electronic knowledge.

I suggest you focus on only one thing. Probably the MCP3202 should be the first thing.

Here's a company selling an ADC circuit board:
https://www.abelectronics.co.uk/p/39/AD ... sion-board

You could copy the circuit and look at their source code on github. Focus only on making the chip work. You can connect a potentiometer to the ADC input and write a program that prints the voltage measured (from 0V to 3.3V). The ADC output should change if you turn the potentiometer.

Another thing you can do is search the internet for "MCP3202 raspberry" which will find other projects using the MCP3202. If you read about these projects you can learn how to use the chip yourself.

Good luck.

Return to “Automation, sensing and robotics”