Gravity: trouble with current to voltage converter

userHead FREDERICBONIFACE 2022-08-09 04:46:37 405 Views3 Replies

Hello,

 

I purchased the throw-in type liquid level transmitter and I have trouble with current to voltage converter : the current correctly vary when I move the sensor but the voltage doesn't and the analogRead of A2 return “random” value. (A2 is correctly setted at setup with pinMode(ANALOG_PIN, INPUT);)

 Do you have a solution to solve this trouble ?

 

Thank you

2022-08-09 23:19:33

Hi,

 

I have found the problem : I made a mistake in the wiring. Now it work perfectly.

 

Thank you

userHeadPic FREDERICBONIFACE
2022-08-09 11:52:15

Hi, Are you using the sample code from the DFROBOT Wiki? Does the "move sensor" mean moving horizontally or up and down while in the water?

userHeadPic Winster
FREDERICBONIFACE wrote:

Hi Winster,

 

I use the sample code from the DFROBOT Wiki and the move sensor means up and down to have a pressure variation.

2022-08-09 13:39:25
1 Replies