This is probably a cry for help for a circuit diagram which involves connecting ESP8266 with ADS1115 with ACS712 and ZMPT101B(voltage sensor). Since both of them uses analog pins, and using a diode separator is not a proper idea in real-life. Therefore I ended up using the ADS1115 for more analog pins, which should be working fine. I am not a electrical engineer so I am having real trouble as to how to fix all Four of them together. Can any one help me with a circuit diagram for this? Any links or research papers links, etc. Thanks
Step one is to get the ADC working. Once that is done everything else will fall pretty much into place.
The ADC you have chosen is an I2C device. The ESP8266 doesn't have I2C as such, but it does provide a software-emulated I2C implementation. This can be used on any pair of pins, but the default ones are GPIO4 for the data (SDA) and GPIO5 for the clock (SCL) (this corresponds to the Arduino Uno using pins A4 and A5 for I2C, so it should be easy to remember).
Once you have that working the wiring for the rest is the same as for any other system. The only thing that differs is that your analogue inputs are on the ADC chip, not the main module.
Here's a block diagram to get you started:
This is assuming:
- Single voltage output from each of your sensor modules
- I2C pullup resistors provided by either ESP8266 or ADS1115 (add your own if not)
- All modules providing the required support components for the chip