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

User avatar
By tellblom
#57355 Hi,

As the subject says: I need 6 analog input for a project.
Anyone have a good tutorial how to accomplish this?
I read this post http://www.esp8266.com/viewtopic.php?f=13&t=4451&hilit=analog+extender#p25543
and it seems like I can use MCP3004, MCP3008, MCP3021, MCP3421 for this, but I need someone to tell me how to do this.
User avatar
By rudy
#57368 The first thing I would do is to look for a library for one of the parts. After that it would depend on what exactly you found. Or you can make your own routines by looking at what someone else has done.
User avatar
By martinayotte
#57386 Since you need 6 inputs, I would choose AD5593R.
If you wish a rather cheaper solution, you can still use the ESP ADC single input and add a CD4051 analog multiplexer controlled by 3 GPIOs to select the inputs.