Can the analog input port of the Arduino Uno support a negative voltage from -5Vdc to 0Vdc?

Hello everyone, a question intrigues me: can the analog input port of the Arduino Uno (atmega 328p) support a negative voltage from -5Vdc to 0Vdc? The issue: I have installed a TIdc (battery charge current sensor) which normally provides 0 to 5Vdc. But when the battery is not charging and is supplying power, the TI returns a negative voltage from 0 to -5Vdc. Current is in the tens of milliamps range. I have tried using various types of diodes to block this negative voltage, but all the diodes significantly affect the voltage delivered by the TI, resulting in a total loss of accuracy in reading the charge current.
5 Replies
Joseph Ogbonna
Joseph Ogbonna7mo ago
The analog pin of atmega328p do not provide a negative voltage range.
Joseph Ogbonna
Joseph Ogbonna7mo ago
Have you tried using a different TIdc for that same application to see the result
Camila_99$$
Camila_99$$7mo ago
Morning @Joseph Ogbonna , sorry I didn’t receive your notifications last night . Actually, no, I haven’t tried using a different TIdc yet. But this morning, my friend suggested powering the system with two power supplies shifted by 5V. Connecting the ground of the Arduino to the -5V of the power supply, the +Arduino to the ground of the power supply, and the sensor between the ground and +5V of the power supply. Using a voltage divider /2 with a protective zener diode at the output of the sensor. This way, the -5V of the sensor corresponds to the ground of the Arduino. So what do you think please ???
Joseph Ogbonna
Joseph Ogbonna7mo ago
Kind of interesting, try checking it out. Then test your results let's get the output. Be careful though
Camila_99$$
Camila_99$$7mo ago
Yes sure , Thank you Joseph 🙏🏻
Want results from more Discord servers?
Add your server