No video

Quick fix for an ADC issue on Raspberry Pi Pico

  Рет қаралды 7,907

MrCsfrancis

MrCsfrancis

Күн бұрын

After encountering a slight issue with the analog read values at full voltage when testing out the raspberry pi pico boards I thought I would share the quick and easy fix I came up with in case other people are encountering the same problem.

Пікірлер: 14
@ericbwertz
@ericbwertz 3 жыл бұрын
It's pretty clear that the bug can be found at 6:49 of the video.
@michaeljenkins2345
@michaeljenkins2345 2 жыл бұрын
Indeed
@kral5932
@kral5932 Жыл бұрын
Quite indubitably!
@mesaber86
@mesaber86 Жыл бұрын
Priceless
@bretearwood7027
@bretearwood7027 Жыл бұрын
I read this comment at 6:20 and the suspense was killing me.
@bluegizmo1983
@bluegizmo1983 2 жыл бұрын
6:48 A fly has invaded the video, kill it! KILL IT!! 😂
@TooSlowTube
@TooSlowTube 2 жыл бұрын
I actually hadn't noticed this voltage range issue, but possibly because I use a resistor between the wiper of the pot and the ADC pin, in case I accidentally load a sketch that uses the pin as an output - which could cause damage to the chip, if the pot is turned fully to either end. The substitute problem I get is that I don't quite get full scale readings, with the resistor there, so I have to calibrate for it. More to the point, the ADCs in the Pi Pico have a severe flaw, which is now documented in the datasheet as Erratum E11 - they're far from linear, with some wild readings, especially at certain values. The datasheet now estimates 8.5 useful bits of precision but gives no clue how to even get that much out of them. If you read an ADC and use the value to choose an audio frequency, e.g. with tone(), you'll here how bad it is. If you're just doing something were it chooses which LED to light, you probably won't notice, but really, it will be flickering between different values.
@RudiOnRails
@RudiOnRails 2 жыл бұрын
Hi, I am pretty new to this. One of the projects I used pico for was a USB adaptor for Logitech g29 pedals. Just wanted to make sure what is the pot you referring too? Is it just the central pin?
@navinsingh1730
@navinsingh1730 Жыл бұрын
​@@RudiOnRailspotentiometer mst likely
@naasikhendricks1501
@naasikhendricks1501 2 жыл бұрын
Try this again pull gp23 high as output ( this pin not is exposed but connected to the switcing reg). Add 2x 10nF and use vcc by tieing it to avcc. That will take care of the drift and stabilize it alot more. If you want better result use vbus with a linear regulator and tie the 3.3v to avcc instead of the vcc.
@Marc_Wolfe
@Marc_Wolfe Жыл бұрын
Wonder if this is why there's a 2nd revision.
@PeetHobby
@PeetHobby Жыл бұрын
2:05 Most chips can handle vcc+0.5v(or something like that) max on there IO pins, so if you power the uC with 5v you can max have 5.5v, but if you power the uC with 3.3v you can have a max of 3.8v on you IO pins, etc. So nothing out of the ordinary with the pico.
@sajidmohammad3190
@sajidmohammad3190 2 ай бұрын
Nah, Pico runs at 3.3v logic level.
@tanmayfuse1747
@tanmayfuse1747 3 жыл бұрын
Is it possible to add external ADC like ads1115?
Raspberry Pi Pico ADC
14:04
Tinker Tech Trove
Рет қаралды 15 М.
Reading Analog Inputs | Raspberry Pi Pico Workshop: Chapter 2.6
8:46
Core Electronics
Рет қаралды 1,9 М.
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 20 МЛН
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,6 МЛН
Violet Beauregarde Doll🫐
00:58
PIRANKA
Рет қаралды 25 МЛН
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 20 МЛН
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 606 М.
What is VGA and How to Use it With a Raspberry Pi Pico
18:28
Gary Explains
Рет қаралды 53 М.
Read the analog world: Use ADC's on Pi Pico
13:56
Lutz
Рет қаралды 4,3 М.
Read Analog Voltage with the PICO
14:25
Making Stuff with Chris DeHut
Рет қаралды 8 М.
Control ANY COMPUTER with these Pi KVMs!
17:46
Jeff Geerling
Рет қаралды 820 М.
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 20 МЛН