Mega2560 with voltage divider problem (Closed)

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
viktor_au
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)

Post by viktor_au »

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.
Attachments
VoltDividerForMega2560.jpg
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.

viktor_au
Posts: 342
Joined: Fri Jan 26, 2018 12:30 pm
Location: South Australia
Has thanked: 43 times
Been thanked: 60 times
Contact:

Re: Mega2560 with voltage divider problem (Closed)

Post by viktor_au »

VoltDividerForMega2560b.jpg
VoltDividerForMega2560b.jpg (82.43 KiB) Viewed 1397 times

Post Reply