In my Fablab, we are working on the design of a four-channel programmable electrical power strip. We have built it around an ESP8266, and we need to measure four analog signals to calculate power consumption on each channel.
The ESP8266 has only one analog input, so we decided to add an ADC on the I2C bus of the ESP. We start to search for a breakout board with such component. We have found some reference as Adafruit ADS1115 or some with an MCP4725, for example. I often use Arduino Nano on my project and I thought it might be interesting to use a Nano V3 as an I2C slave to provide some analog inputs plus some supplementary digital I/O. This little board is very cheap, especially on the Chinese market place. So I searched on the web to find a existing library that can do this job (I am little lazy) and I didn't find it so I do it myself!
I provide here the result of this work.
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 | ||||
| × | 1 |
In my Fablab, we are working on the design of a four-channel programmable electrical power strip. We have built it around an ESP8266, and we need to measure four analog signals to calculate power consumption on each channel.
The ESP8266 has only one analog input, so we decided to add an ADC on the I2C bus of the ESP. We start to search for a breakout board with such component. We have found some reference as Adafruit ADS1115 or some with an MCP4725, for example. I often use Arduino Nano on my project and I thought it might be interesting to use a Nano V3 as an I2C slave to provide some analog inputs plus some supplementary digital I/O. This little board is very cheap, especially on the Chinese market place. So I searched on the web to find a existing library that can do this job (I am little lazy) and I didn't find it so I do it myself!
I provide here the result of this work.