Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By trackerj
#36548 If you don't need high speed, MCP3421 is a quite nice and cheap ADC.

Example here: MCP3421 I2C ADC Driver example

Also used for the ESP8266 Analog Extension Board - AN1
User avatar
By lethe
#36549 There are lots of ADC chips. First thing you should do is to outline the specs your need for your application, such as:
- sample rate
- number of channels
- precision (bits/sample, noise)
- supply voltage (3.3V or 5V?)
- do you need a differential ADC?
- interface (SPI? I2C?)
- package type

These features will significantly narrow your choice of ADCs...
User avatar
By esp03madness
#36551 Thanks for the replies, guys. TrackerJ - I was just reading your blog post about all this :mrgreen:

I was actually thinking about MCP3021.

Don't need high resolution, don't need high speed.
Supply - like ESP - 3.3V. I don't think I need differential.

The main concerns are:
- Hooking it up to the ESP - i2c seems to be the answer here, as SPI is taken up by flash.
- Driver. Don't think there is one for RTOS SDK, but at least I can look off the Lua/Ardruino verions.

EDIT:
Oh, the one bell-n-whistle I would like to have is a built-in amplifier... MCP3421 has it, but MCP3021 does not :(