Page 1 of 1

Arduino Nano 328

Posted: Sun Apr 11, 2021 11:32 pm
by Vatel20
It Does Not Read My ADC Inputs.
He sees them as Simple Port.
the simulation works properly.

Re: Arduino Nano 328

Posted: Mon Apr 12, 2021 7:51 am
by mnfisher
Please post some code that demonstrates...

Martin

Re: Arduino Nano 328

Posted: Mon Apr 12, 2021 1:18 pm
by Vatel20
the number it displays is 1023 and they do not change

Re: Arduino Nano 328

Posted: Mon Apr 12, 2021 1:49 pm
by LeighM
This could be due to the Vref option.
Please try the attached version.

Re: Arduino Nano 328

Posted: Mon Apr 12, 2021 1:50 pm
by medelec35
Try changing Vref to AVCC, unless you have Vref pin connected to a voltage source?

Re: Arduino Nano 328

Posted: Mon Apr 12, 2021 1:51 pm
by medelec35
Woops, Leigh just beat me to it lol

Re: Arduino Nano 328

Posted: Mon Apr 12, 2021 3:26 pm
by Vatel20
Thank you for your help the problem was solved.