Skip to content

Basic implementation of I2C communication between an esp8266 (NodeMCU) and an Arduino UNO

Notifications You must be signed in to change notification settings

cunchem/I2C_esp8266ToArduinoUno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

I2C between ESP8266 and Arduino UNO

A basic example showing how to enable I2C communications between an ESP8266 (NodeMCU) and an Arduino UNO. The ESP8266 is the master and the UNO is the slave. As far as I know, the ESP8266 cannot be used as a slave.

This code is mainly based on the code written by Nicholas Zambetti http://www.zambetti.com.

Warning: The UNO is designed to work with 5.5V while the ESP8266 is designed for 3.3V. So far, I have not fried my ESP.

Wiring

Connecting the two devices is done by connecting

  • UNO A4 <-> ESP8266 D3 (SDA)
  • UNO A5 <-> ESP8266 D4 (SCL)

About

Basic implementation of I2C communication between an esp8266 (NodeMCU) and an Arduino UNO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%