Search found 1 match

by fmr300
Thu Jan 20, 2022 3:01 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico ADC misbehavior
Replies: 5
Views: 22983

Pico ADC misbehavior

If you don't give the ADC a 'rest', it misbehaves ! Try this code: import machine, time adc = machine.ADC(27) while True: t1 = adc.read_u16() >> 4 print (t1) What you'll see, and I've tested 4 Pico's to see that it's consistent, is that whatever the ADC conversion value is at startup, is approximate...