Can you post the sketch using code tags?Hi guys
I need your help to making work the pressure sensor MPS20N0040D (module with hx7110) , I uploaded the sketch , but I can't get a right graphic , it's seems to be not fonctional !!!
It's the same graphe with & without the module connected
To the arduino !!!
Please help
Best regardsView attachment 215023
// global value; add before setup()
#define maxValues 5
int indexValue
dim lastValues[maxValues-1];
.
.
.
// in loop() after last anslogRead()
// save current value
lastValues[indexValues] = sensorValue
indexValues++;
if(indexValues >=maxValue) indexValues=0; // loop to beginning of list
// calculate average
sensorValue=0;
for(int indexTemp=0; indexTemp <maxValues; indexTemp++) sensorValue += lastValues[indexTemp];
sensorValue /= maxValues;
Where did you buy your sensor parts? Can you provide a link?Yeah I know I have the sensor with hx710b !!!
How I can verify if the sensor is working?
How I can check that the arduino board is ok?
Thnx
Start to measure with a mV meter and see what happens.Hi guys
I need your help to making work the pressure sensor MPS20N0040D (module with hx7110) , I uploaded the sketch , but I can't get a right graphic , it's seems to be not fonctional !!!
It's the same graphe with & without the module connected
To the arduino !!!
Please help
Best regardsView attachment 215023
by Jeff Child
by Jake Hertz
by Jake Hertz