Use MCP3008 Chip to Expand the Raspberry Pi Pico’s Analog Reading Capabilities @Raspberry_Pi #PiDay #RaspberryPi
Since all the way back in 2013, folks have been using the MCP3008 analog-to-digital chip with a Raspberry Pi to so that it can read analog values. The new Raspberry Pi Pico has an onboard ability to read analog signals, but using an external chip like the MCP3008 can enhance those abilities. Here’s more from Romilly Cocking via RAREblog:
One of my goals for my Pico mini-projects was to verify that I could drive I2C and SPI chips using the Pico’s MicroPython. I2C and SPI protocols are really useful.They let you drive all kinds of interesting sensors and actuators, and that means that they enable lots and lots of interesting applications.
There are an SPI example in the excellent Getting Started guide, and it gave me some useful ideas. There’s a little more information in the Pico Python SDK documentation, and yet more clues in the Pico pinout diagram. I also found a CircuitPython driver for the MCP3008 on Adafruit’s GitHub repository.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.