Go Down

Topic: Help With pressure sensor controlling color fade (Read 517 times) previous topic - next topic

PaulS

For a range of values that is supposed to span from 0 to 1023, that is a very small range of values. I would only expect blueval to contain a significant enough value to cause any visible light to appear.

What happens if you really mash on the sensor? Do the readings get significant?

brumyma

No that is when I severely push on it to get it to those numbers.

Once I take the serial.print out of the loop the numbers change.

Simpson_Jr

Reading such low values gives you almost gives you no resolution and no possibility to see a red light.

Which sensor are you using,  do you have a link to a data sheet and perhaps a schematic how it's connected in your project ?



Go Up