Re: rp2040 a2d?

Liste des GroupesRevenir à se design 
Sujet : Re: rp2040 a2d?
De : jlArbor.com (at) *nospam* nirgendwo (john larkin)
Groupes : sci.electronics.design
Date : 13. Mar 2025, 04:54:04
Autres entêtes
Message-ID : <3kl4tjlh7v0fk2neg9e7i190dho2a7ia3m@4ax.com>
References : 1 2 3 4
User-Agent : ForteAgent/8.00.32.1272
On Wed, 12 Mar 2025 20:20:54 -0700, wmartin <wwm@wwmartin.net> wrote:

On 3/12/25 17:52, john larkin wrote:
On Wed, 12 Mar 2025 08:48:41 -0700, wmartin <wwm@wwmartin.net> wrote:
 
On 3/11/25 15:15, wmartin wrote:
Anyone have experience using the a2d in an RP2040? I've heard some
negative opinions, would like to check against actual user experience...
in particular with the Pi Pico hardware. I'm using one as a plug-in
subsystem on a simple controller now, but not using the a2d just yet.
Question is: Use it or put an external a2d on the spi bus?
Thanks,
Bill M.
>
A big thank you to all who responded! External seems the safest bet...
-bill
 
One trick to improve a bad ADC is to add noise (or a triangle wave) to
the signal and lowpass filter or average a lot of readings. That will
pave over missing codes, but not help gross nonlinearity much.
>
I see how that goes, but I think I'm better served by going "outside"
the micro in this case. The game is to monitor & record the position of
a moving mechanical part, moving quickly & not in any kind of
predictable periodicity, so averaging probably is out of the picture. I
may ditch the a2d idea entirely & go with an encoder strip...if I can
figure out where to put it!


Digitize at 100 KHz and lowpass to 100 Hz maybe.


 
You can make a triangle from a timer and a port pin into an RC.
 
An ADC inside a uP is tricky. There's too much noise, and the silicon
process is optimized for digital, not analog.
 
 
 

Date Sujet#  Auteur
11 Mar 25 * rp2040 a2d?14wmartin
11 Mar 25 +- Re: rp2040 a2d?1Uwe Bonnes
12 Mar 25 +- Re: rp2040 a2d?1Don Y
12 Mar 25 `* Re: rp2040 a2d?11wmartin
13 Mar 25  `* Re: rp2040 a2d?10john larkin
13 Mar 25   +* Re: rp2040 a2d?8wmartin
13 Mar 25   i+- Re: rp2040 a2d?1john larkin
13 Mar 25   i`* Re: rp2040 a2d?6Phil Hobbs
13 Mar 25   i +* Re: rp2040 a2d?4john larkin
13 Mar 25   i i`* Re: rp2040 a2d?3Phil Hobbs
13 Mar 25   i i +- Re: rp2040 a2d?1john larkin
14 Mar 25   i i `- Re: rp2040 a2d?1Phil Hobbs
16 Mar 25   i `- Re: rp2040 a2d?1wmartin
13 Mar 25   `- Re: rp2040 a2d?1Gerhard Hoffmann

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal