Hi Team
Please help
for the life of me I canot get the adc on the PICO to work and searching the wiki I find zero info on the PICO ,Is there any wiki pages on the Pico ?
It seems also I cannot set the conversion speed in the properties ,If I try to use the set properties macro in code then I need to give a number for conversion speed as per ref list where is this list ?
Thanks a million for helping out
Pico ADC
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: Pico ADC
leigh
Thanks a million will try however is there something about all of this in the wiki ,I really do find zero info in my wiki
Thanks a million will try however is there something about all of this in the wiki ,I really do find zero info in my wiki
Regards Peter - QME Electronics
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: Pico ADC
Hi
I have done as you recommended however the ADC0 always show 800 to 970 counts even with no voltage applied to GIO26 I can try any of tha ADC's the result is the same
I have done as you recommended however the ADC0 always show 800 to 970 counts even with no voltage applied to GIO26 I can try any of tha ADC's the result is the same
- Attachments
-
- UART_ADC.fcfx
- (12.98 KiB) Downloaded 94 times
Regards Peter - QME Electronics
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: Pico ADC
The sample give alway these numbers as shown in the terminal window
If I apply 1.0V at the ADC0 it still show the same number and I can vary it from 1V to 3,3V and the numbers stay the same
Yes I have low impedance source my input is buffered with an OPAMP circuit which I am using for at least 10 years on PIC ,ARDUINO and now latly on ESP32. all ways worked on all of them .
I do not know what can the issue be
If I apply 1.0V at the ADC0 it still show the same number and I can vary it from 1V to 3,3V and the numbers stay the same
I am saying the numbers show as in the terminal even if 0V on the ADC0 pinWhat do you mean by "no voltage applied"?
Yes I have low impedance source my input is buffered with an OPAMP circuit which I am using for at least 10 years on PIC ,ARDUINO and now latly on ESP32. all ways worked on all of them .
I do not know what can the issue be
Regards Peter - QME Electronics
-
- Valued Contributor
- Posts: 401
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 73 times
- Been thanked: 218 times
Re: Pico ADC
hmm, strange, it worked when I originally wrote and tested it,
just dug out my test from May and that just used GetInt() in a loop,
no "Enable" required in that case.
Could you try same?
Thanks
Leigh
just dug out my test from May and that just used GetInt() in a loop,
no "Enable" required in that case.
Could you try same?
Thanks
Leigh
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: Pico ADC
Hi Leigh.
Thank you for your help that worked and now after that the RawInt() is also working .
Just one of those things
Thanks a million
Thank you for your help that worked and now after that the RawInt() is also working .
Just one of those things
Thanks a million
Regards Peter - QME Electronics