NANO I2C IO Expander
Maybe your like
Embed the widget on your own site
Add the following snippet to your HTML:

An Arduino Nano used as an IO expander on I2C for ESP8266. For example, add 8 digitals IO and 6 analog inputs.
Read up about this project on 
NANO I2C IO Expander
Joel Soranzo12 16,794An Arduino Nano used as an IO expander on I2C for ESP8266. For example, add 8 digitals IO and 6 analog inputs.
IntermediateFull instructions provided2 hours16,794Things used in this project
Hardware components | ||||||
![]() |
| × | 1 |
| ||
![]() |
| × | 1 |
| ||
| × | 1 | ||||
![]() |
| × | 1 |
| ||
![]() |
| × | 1 | |||
Software apps and online services | ||||||
![]() |
| |||||
Story
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.
Read moreSchematics
Fritzing schematic
Very simple ! Don't show led or other controlled io components.Code
The github of the project
Provide all you need, source code of course for the nano and large amount of documentation. It also contain a ARDUINO library to use in the esp or other host. I tested it with an ARDUINO 2560Credits
Joel Soranzo
1 project • 2 followersI am an electronic hardware engineer ! I am French. Fabmanager of a FabLab near Paris. I develop on ARDUINO, ESP8266, Raspberry pi, Teensy, FollowComments
Related channels and tags
- adc
- esp
- i2c
Tag » Arduino I2c Io Expander Code
-
PCF8575 I2C 16-Bit Digital Input Output Expander - Arduino Cloud
-
NANO I2C IO Expander - Arduino Project Hub
-
IO Expander For ESP32, ESP8266, And Arduino - Instructables
-
PCF8574 GPIO Extender - With Arduino And NodeMCU - Instructables
-
MCP23017: Have You Run Out Of I/O? This Chip Is The Answer!
-
Io-expander · GitHub Topics
-
Arduino Library For PCF8575 - 16 Channel I2C IO Expander - GitHub
-
Arduino Interface PCA9555 GPIO Expander With Code
-
FXCO PCF8575 IO Expander Module I2C To 16IO For Arduino
-
I2c Expander
-
Arduino Library For TI PCF8575C 16-bit I2C I/O Expander.
-
Arduino GPIO Pin Expansion Using I2C - YouTube
-
PCF8574 I2c Digital I/O Expander: Arduino, Esp8266 And Esp32 ...






