-->
Page 1 of 2

using 2 CD74HC4067 for reading several analog sensors.

PostPosted: Sun Mar 06, 2016 12:02 pm
by George Lake
Hi,
I need to read several sensors (8 to 12).
I have been reading a lot (and I am very new to electronics) and I am not sure if this can be done....

My Idea is to connect 2 CD74HC4067 to a ESP8266 12.
The would share the GPIO 5 6 and 7, GND, 5v. With this they would activate the needed Analog pin of the CD74HC4067.
One CD74HC4067 would be for reading the A signal from one of the sensors and the second CD74HC4067 would be for the realy (to send the 3 or 5 v that the sensor needs). The second CD74HC4067 would have an extra pin connected to GPIO 8 that would activate it in this mode....

Does this make sense?

Re: using 2 CD74HC4067 for reading several analog sensors.

PostPosted: Fri Mar 11, 2016 2:54 pm
by dreezy
Hi,

It make sense to me.

I want to read also up to 16 analog signals from soil moisture sensors.

I found the following website. Maybe something usefull for you. :)

http://bildr.org/2011/02/cd74hc4067-arduino/

Re: using 2 CD74HC4067 for reading several analog sensors.

PostPosted: Fri Mar 11, 2016 7:20 pm
by George Lake
Same site I was looking at.
I will have to wait until I get the 2 boards.
currently I need 4 sensors.... I have finally come up with a solution.... a bit messy but works.... I will wait until I get the boards before actually making the circuits.

Re: using 2 CD74HC4067 for reading several analog sensors.

PostPosted: Mon Mar 14, 2016 12:24 pm
by dreezy
Same problem i have.

I have ordered also 1 board, but waiting for delivery.