Wednesday, 5 June 2024

How to get the UCTRONICS OLED working on your Raspberry Pi rack mounts.

Step 1. "sudo raspi-config" then choose Interface Options and Enable "i2c"

Step 2. git clone https://github.com/UCTRONICS/U6143_ssd1306.git

Step 3. cd U6143_ssd1306/C

Step 4. sudo make clean && sudo make

Step 5. sudo ./display

Step 6. Next 2 steps are to ensure this runs at start up every time. If you skip these then it will look like the display is working after a reboot but the second line will be stuck on one stat (mine was stuck on Mem for example) 

 "sudo nano /etc/rc.local" 

Step 7. Add the following below fi: 

cd /home/pi/U6143_ssd1306/C

sudo make clean

sudo make

sudo ./display &


(https://github.com/UCTRONICS/U6143_ssd1306) 

No comments:

Post a Comment