Overview
"The Microchip MCP3008 ADC is a 10-bit Analog to Digital (A/D) converter with on-board sample and hold circuitry.
Communication with the device is accomplished using a simple serial interface compatible with the SPI protocol. The MCP3008 operates over a broad voltage range (2.7V – 5.5V), and low-current design permits operation with typical standby currents of only 5 nA and typical active currents of 320 µA."
Features
10bit ADC
8 channels
SPI Interface
Sampling Rate: 200kSPS
Supply Voltage 2.7V to 5.5V
Supply Current: 425µA
16 pin DIP
Conversion Time: 10µs
Pinout
Schematics
Pin 9 and 14 linked should be be connected to ground. VREF (15) and VDD should be connected to your VCC(3.3v)
Libraries
Library | URL |
---|---|
MCP3008 by Uros Petrevski | https://github.com/nodesign/MCP3008 |
MCP3008 by Adafruit | https://github.com/adafruit/Adafruit_MCP3008 |
Reference
Reference | URL |
---|---|
Wemos and MCP3008 example | http://www.esp8266learning.com/wemos-mcp3008-example.php |