PINE64 + mini OLED display + Luma.OLED = PINEimus Prime - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Projects, Ideas and Tutorials (https://forum.pine64.org/forumdisplay.php?fid=19) +--- Thread: PINE64 + mini OLED display + Luma.OLED = PINEimus Prime (/showthread.php?tid=4468) |
PINE64 + mini OLED display + Luma.OLED = PINEimus Prime - sgjava - 04-19-2017 First there was CHIPtimus Prime for the CHIP SBC. Then came ODROIDtimus Prime for the ODROID C series. Now there's PINEimus Prime for the PINE64. This will work for I2C displays only at this point. I wasn't able to get SPI fired up with legacy or mainline Armbian. Transform your PINE64 into a PINEimus Prime for projects requiring a small OLED display. Luma.OLED makes it easy to do text, graphics and video. Both displays I used to test I bought on Amazon. I already ordered some cheaper ones on EBay. I was able to get 3 SSD1306 I2C displays for under $10! I also ordered some TFT displays as well to test. Requirements
Code: VCC to VCC 5V (pin 4) Configure I2C
Code: i2c-0 i2c twi0 I2C adapter
Code: 0 1 2 3 4 5 6 7 8 9 a b c d e f Time to install Luma.OLED Code: sudo apt-get install python-dev python-pip libfreetype6-dev libjpeg-dev I2C hello world
Code: import time
Code: cd Run example on I2C display Code: cd RE: PINE64 + mini OLED display + Luma.OLED = PINEimus Prime - xalius - 04-20-2017 Thanks for the tutorial, I may have a project that requires a small display... RE: PINE64 + mini OLED display + Luma.OLED = PINEimus Prime - sgjava - 04-20-2017 (04-20-2017, 04:48 AM)xalius Wrote: Thanks for the tutorial, I may have a project that requires a small display... Now if I can only get SPI/GPIO working I could get the SPI displays fired up. I just got SPI/GPIO configured on the ODROID C1 using a RPi.GPIO replacement module. I need something similar for PINE64. RE: PINE64 + mini OLED display + Luma.OLED = PINEimus Prime - dkryder - 04-20-2017 there is a rpi-gpio for pine64 around. at least there was a while back. https://github.com/swkim01/RPi.GPIO-PineA64 i think there were some issues with this in getting it to work as expected. it does not appear to be under active development currently. RE: PINE64 + mini OLED display + Luma.OLED = PINEimus Prime - sgjava - 04-20-2017 Yea, I looked around, but without a stable GPIO module it's impossible to get Luma.OLED working. I have it working on CHIP and ODROID C1 with the mono display, but the RGB SSD1331 is still giving me issues. I ordered a Pi 3, so I can use that as a base test since that what most GPIO code is written for. |