The Mega2560 ADC input A3 draws apprx 80mA of current when the voltage divider is connected.
Voltage divider works OK without being connected to Mega2560 ADC input A3.
...
When the voltage divider is connected to A3 input the voltage drops from (say) 0.3v to 0.03v.
I found out that Arduino ADC input has the pull-up resistor and when this resistor
is connected (by default?) it sinks the current.
----
Solution: the ADC An0 input should be connected to F3.
Mega2560 with voltage divider problem (Closed)
Moderator: Benj
-
- Posts: 342
- Joined: Fri Jan 26, 2018 12:30 pm
- Location: South Australia
- Has thanked: 43 times
- Been thanked: 60 times
- Contact:
Mega2560 with voltage divider problem (Closed)
- Attachments
-
- VoltDividerForMega2560.jpg (65.33 KiB) Viewed 1413 times
Last edited by viktor_au on Thu Jul 18, 2019 3:00 am, edited 1 time in total.