This video is sponsored by PCBway: https://www.pcbway.com/
Learn how to use ADC on a Raspberry Pi with Python featuring Microchip MCP3002 connected over SPI.
Step by step tutorial for adding analog-to-digital converter (ADC) to a Raspberry Pi single board computer using Microchip MCP3002. The video includes wiring and a Python script available in GitHub for reading data from a 10K potentiometer using the ADC MCP3002.
For schematics and details about the wiring of Microchip MCP3002 and the 10K potentiometer to a Raspberry Pi single-board computer have a look at:
https://www.anavi.org/article/238/
The Python script for Raspberry Pi and Microchip MCP3002 is available at GitHub:
https://github.com/leon-anavi/rpi-exa...
Microchip MCP3002 is a 10-bit resolution, dual channel ADC with SPI hardware bus. It can be connected to any Raspberry Pi single board computer version and model, including Raspberry Pi 4 and Raspberry Pi 0. However, this tutorial is not for Raspberry Pi Pico microcontroller.
Useful links:
Microchip MCP3002 ADC datasheet: https://www.microchip.com/wwwproducts...
SparkFun Python Programming Tutorial: Getting Started with the Raspberry Pi https://learn.sparkfun.com/tutorials/...
0:00 Intro
1:04 ADC
1:36 ADC Tech Specs
2:36 Microchip MCP3002
3:43 Step 1: Wiring
5:29 Step 2: Enable SPI
5:54 Step 3: Python Script
6:46 MCP3002 Demo
7:49 PCB
9:07 PCB Demo
9:54 Conclusions
Watch video Raspberry Pi Analog to Digital Converter (ADC) Microchip MCP3002 online without registration, duration hours minute second in high quality. This video was added by user Leon Anavi 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,797 once and liked it 78 people.