Device can work in Master or Slave Mode with a default salve address = 0x055Ģ. The Raspberry Pi Pico has RP2040 Chip which supports the following features: 1. But before using an I2C controller, you should configure in software which GPIO pins you want to use with a specific I2C controller. Like UART communication, I2C only uses two wires to transmit data between devices.Įach connection of the controller can be configured through multiple GPIO pins as shown in the figure. It is widely used for attaching lower-speed peripheral ICs to processors and microcontrollers in short-distance, intra-board communication. I2C (Inter-Integrated Circuit) is a synchronous, multi-master, multi-slave, packet-switched, single-ended, serial communication bus. Before that, you can check our Raspberry Pi Pico Getting Started Tutorial to learn more about the module. We will take I2C Scanner Code as an example and check how the I2C Address of a few I2C enabled sensors & modules. We will also learn in detail about the I2C Pin of Raspberry Pi Pico. We will see what is I2C Communication protocol and how does it work. Out of the 26 usable GPIO pins, there are 2 pairs of I2C Pins which will be discussed in this post. The 10 GPIO Pins are not exposed, hence they can’t be used. The board exposes 26 multi-function GPIO pins from a total of 36 GPIO pins. The Raspberry Pi Pico is built using an RP2040 microcontroller. In this tutorial, we will learn how to use I2C Pins in Raspberry Pi Pico & go through the I2C Scanner Code. How to use I2C Pins of Raspberry Pi Pico with I2C Sensors or Modules?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |