Gravity: trouble with current to voltage converter

userHead FREDERICBONIFACE 2022-08-09 12:46:37 544 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-10 07: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 19: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 21:39:25
1 Replies