Demonstrating I2C Protocol and connecting 2 Arduino UNO
Code and Proteus simulation attached
INTRODUCTION TO I2C COMMUNICATION
I2C combines the best features of SPI and UARTs. With I2C, you can connect multiple slaves to a single master (like SPI) and you can have multiple masters controlling single, or multiple slaves. This is really useful when you want to have more than one microcontroller logging data to a single memory card or displaying text to a single LCD.
I2C is a serial communication protocol, so data is transferred bit by bit along a single wire (the SDA line).
Like SPI, I2C is synchronous, so the output of bits is synchronized to the sampling of bits by a clock signal shared between the master and the slave. The clock signal is always controlled by the master.
Use this link to get:
- Arduino Codes
- Proteus Simulation Files
- Working Video
Google Drive Link: CLICK HERE
Comments
Post a Comment