-->
Page 1 of 1

Need 6 analog input ports

PostPosted: Sat Oct 29, 2016 3:32 pm
by tellblom
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.

Re: Need 6 analog input ports

PostPosted: Sat Oct 29, 2016 7:04 pm
by rudy
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.

Re: Need 6 analog input ports

PostPosted: Sun Oct 30, 2016 3:09 am
by tellblom
Thats just it rudy, I'm not an expert on this, I'm quite a novice.
Thats why I need someone to tell me what to do.
I found this http://internetofhomethings.com/homethings/?p=530
Maybe this is the best way to go?

Re: Need 6 analog input ports

PostPosted: Sun Oct 30, 2016 9:44 am
by martinayotte
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.