Gravity: trouble with current to voltage converter
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
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
FREDERICBONIFACE
Hi,
I have found the problem : I made a mistake in the wiring. Now it work perfectly.
Thank you
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
2022-08-09 11:52:15
Winster
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](https://dfimg.dfrobot.com/628da052aa9508d63a41e164/makelog/708f8ea66c513e3a46e39f2b938a2985_50x50.jpg)
FREDERICBONIFACE
wrote:
2022-08-09 13:39:25 1 Replies
Hi Winster,
I use the sample code from the DFROBOT Wiki and the move sensor means up and down to have a pressure variation.