8/27/2023 0 Comments Thonny ide tutorial![]() ![]() Now we are ready to program our Raspberry Pi Pico with OLED display. SSD1306 OLED DisplayĪfter a few moments this library will get successfully installed. The connections between the two devices which we are using can be seen below. But before using an I2C controller, you should configure in software which GPIO pins you want to use with a specific I2C controller. Each connection of the controller can be configured through multiple GPIO pins as shown in the figure. The following table shows the connection of GPIO pins with both I2C controllers. Both I2C controllers are accessible through GPIO pins of Raspberry Pi Pico. Raspberry Pi Pico has two I2C controllers. The ground of both the devices will be held common. SCL of the display will be connected with the SCL pin of the module and the SDA of the display will be connected with the SDA of the module. As the OLED display requires an operating voltage in the range of 3.3-5V hence we will connect the VCC terminal with 3.3V which will be in common with the board. SSD 1306 OLED Display Specifications Interfacing SSD1306 OLED Display with Raspberry Pi PicoĪs we have seen above, the OLED display has 4 terminals which we will connect with the Raspberry Pi Pico. If you have not followed our previous tutorial, you check here: We will be using the same Thonny IDE as we have done previously when we learned how to blink and chase LEDs in micro-python. Prerequisitesīefore we start this lesson make sure you are familiar with and have the latest version Python 3 in your system, have set up MicoPython in Raspberry Pi Pico, and have a running Integrated Development Environment(IDE) in which we will be doing the programming. Then we will program our board using MicroPython and then display simple messages, shapes, and graphic images on the screen. At first, we will take a look at the pinout of the OLED display and then connect it with the Raspberry Pi Pico. ![]() They offer good view angles and pixel density in a cost-effective manner. ![]() An OLED (organic light-emitting diode) is used frequently in displaying texts, bitmap images, shapes, and different types of clocks. In this tutorial, we learn about the SSD1306 0.96-inch I2C OLED display and how to interface it with Raspberry Pi Pico using MicroPython. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |