Comment on Is the Raspberry Pi Still an Affordable SBC? I Don't Think So

<- View Parent
pelya@lemmy.world ⁨13⁩ ⁨hours⁩ ago

Yup, it would be super convenient to have one or two pins for ADC. Technically you have a DAC on Pi 4, if you repurpose the analog audio output, but on Pi 5 all you have is digital HDMI audio.

Oh well, an AD7705 voltmeter board costs only $2, and uses only six wires for SPI connection, including one of two precious precious 3V3 pins. And you’ll also need around three days to dig Github to find a working Python driver for it. But at least you don’t have to worry about burning your 3.3V Raspberry pins with 5V input voltage.

And at this point you are asking yourself - why not pay $3 for an ESP32 or a STM32? you can program it to use just three wires - power, ground, and UART TX, and you don’t need to read it 500 times per second like AD7705 and use 25% CPU of your Raspberry Pi Zero, you can program it to calculate an average RMS voltage once per second, and you can read a total of six ADC channels on ESP32, and on STM32 half of all the pins can be configured as ADC, and it’s also quite precise and low-noise, while on ESP32 ADC is more … consumer-grade.

source
Sort:hotnewtop