Python Tutorials – பாடம் 10 – OLED Display Module Using Raspberry Pi Pico

Robolabz ஐ OLED டிஸ்ப்ளேயில் பெறுதல்

Required Components

  1. OLED Display-1 no
  2. Raspberry Pi Pico board-1 no
  3. USB Cable-1 no
  4. Connecting wires-1 set

Circuit

Steps

  1. நாம் பயன்படுத்தும் உபகரணங்கள் சரியாக வேலை செய்கிறதா என்பதை உறுதி செய்து கொள்ளவும்.
  2. OLED Display VCC, GND ஐ Raspberry Pi Pico Board 3V3 (OUT), GND உடன் இணைக்க வேண்டும்.
  3. Raspberry Pi Pico Board இன் GP1, GP0 ஐ OLED Display SCK, SDA உடன் இணைக்க வேண்டும்.
  4. Python program ஐ சரி பார்க்க வேண்டும்.
  5. மின்சுற்றை சரி பார்க்க வேண்டும்.
  6. Python program ஐ ரன் செய்ய வேண்டும்.

Python Program

from machine import Pin, I2C
from ssd1306 import SSD1306_I2C

i2c=I2C(0,sda=Pin(0), scl=Pin(1), freq=400000)
oled = SSD1306_I2C(128, 64, i2c)

oled.text("ROBOLABZ", 0, 0)
oled.show()

Leave a Reply

Your email address will not be published. Required fields are marked *