![]() As an aside, there are other protocols widely used in Arduino-based projects such as the SPI, Serial or UART, and One-Wire but that is beyond the scope of this post. ![]() ![]() We will not be discussing in detail how this I2C protocol works in this post but you can check the Wikipedia link if you want to know more. This ability to connect multiple sensors on a single bus (SDA/SCL combination) makes it ideal for any Arduino-powered circuits especially if you are controlling multiple sensors or components. It can support multiple controllers(masters) and multiple devices or peripherals(slaves ). Well, technically speaking it is still 4 wires as you need the GND and VCC pins to provide power. I2C uses two wires which are called the SCL (Serial Clock) and SDA (Serial Data). I2C or Inter-Integrated Circuit (pronounced as eye-squared C) is one of the popular communication protocols used to allow multiple sensors to communicate with your microcontrollers. Arduino Basic: How to use the Arduino I2C Scanner? What is I2C?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |