| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,858
» Latest member: authorjaw
» Forum threads: 16,312
» Forum posts: 117,373
Full Statistics
|
| Latest Threads |
Proposal: an open mp3/med...
Forum: General
Last Post: gwennelsonuk
23 minutes ago
» Replies: 0
» Views: 3
|
Pinephone (Pro) Keyboard ...
Forum: PinePhone Accessories
Last Post: Ondy
35 minutes ago
» Replies: 7
» Views: 14,792
|
Ethernet does not work
Forum: Ethernet Port
Last Post: zetabeta
02-06-2026, 11:58 PM
» Replies: 1
» Views: 66
|
Fitting new case
Forum: Pinebook Pro Hardware and Accessories
Last Post: RicTor
02-06-2026, 07:09 AM
» Replies: 0
» Views: 62
|
Rockchip gets DMCA'ed on ...
Forum: General Discussion on PinePhone
Last Post: hanmira
02-04-2026, 08:43 PM
» Replies: 3
» Views: 683
|
Advice on PineNote
Forum: General Discussion on PineNote
Last Post: LogicalAtomist
02-04-2026, 06:51 PM
» Replies: 0
» Views: 110
|
curious iPhone user here
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
02-03-2026, 03:18 AM
» Replies: 23
» Views: 9,768
|
Reading PineWatch Open BL...
Forum: General
Last Post: Mitrax
02-01-2026, 04:30 PM
» Replies: 0
» Views: 148
|
best setup to run waydroi...
Forum: General Discussion on PinePhone
Last Post: dustfinger
02-01-2026, 01:41 PM
» Replies: 0
» Views: 169
|
Request for IRC registrat...
Forum: General
Last Post: dustfinger
02-01-2026, 12:30 PM
» Replies: 0
» Views: 111
|
|
|
| PINE64 + mini OLED display + Luma.OLED = PINEimus Prime |
|
Posted by: sgjava - 04-19-2017, 01:56 PM - Forum: Pine A64 Projects, Ideas and Tutorials
- Replies (4)
|
 |
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.
![[Image: Ih2xMbN822pkac4EwGeqh8KhrUojySMvKs4uNi37...6-h1134-no]](https://lh3.googleusercontent.com/Ih2xMbN822pkac4EwGeqh8KhrUojySMvKs4uNi37saGAd3W5QgtGOCoFm44d1cXnJOlLqZzCXQY5hXMDrAl7JYnyLf_1Q4nwGyapQY6xI3LOCAre_OWVvF0_W0t6FqxdZPCvUXYnPOhfofMR7ZANkuKec48ly7ZNtLNSLrHc2cndJiT5Q50QVRC0D-59-5NDsyqhueJjZvJHzDdzuLC0IP3gtAFmYP0dN3olGXPQ97W7fUcFLDcSXe4wFdv13hconTbS-hDzUf6RMBrQ8vi6M83A5aKVVE0n2CcXqE2dJiGUN-nadvra7kOFHImYwSj1DI3nPvZMcNUHwYHa78D_JYmd8ONuqpByxdLaPoC6lTFEfADghHraViCrPdTbEK0jkvVi9f-KqOqVSYWTInkR4FGHGzg-GW5CBTGIy0WkxUIvepXb_bezfV_ViVZBxEpuzH8aNr1apRktGyE-2Jpvd6APG5k5wkCXDL6FSBhHaBZcMeAuH4LyW-Ev3gcOcq3OqovMOKyOwt0UZjV3s99h7UOvZU5nHksuLn9_TVTfVA71VSlZ3cxLNYix2aP61lWE0eCSgWwuy5VwSFErDSZ8RzbfVh2h1asK9oeFNJblJGoXNmR_Dl5tWQ=w2016-h1134-no)
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
Do the following for I2C version of SSD1306
The 4 wire DIY display can be powered by 3.3V or 5V which makes it handy if you need the other power source for something else. Wire mapping using i2c-0 (twi0):
Code: VCC to VCC 5V (pin 4)
GND to GND (pin 6)
SCL to I2C1 SCL (pin 5)
SDA to I2C1 SDA (pin 3)
Configure I2C
- Power off PINE64, wire up display and power on
- sudo apt-get install i2c-tools
- sudo usermod -a -G i2c username
Test I2C and display
Code: i2c-0 i2c twi0 I2C adapter
i2c-1 i2c twi1 I2C adapter
Code: 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Time to install Luma.OLED
Code: sudo apt-get install python-dev python-pip libfreetype6-dev libjpeg-dev
sudo -H pip install --upgrade pip setuptools
sudo -H pip install --upgrade luma.oled
I2C hello world
Code: import time
from luma.core.serial import i2c
from luma.core.render import canvas
from luma.oled.device import ssd1306
serial = i2c(port=1, address=0x3C)
device = ssd1306(serial)
with canvas(device) as draw:
draw.rectangle(device.bounding_box, outline="white")
draw.text((3, 3), "Hello", fill="white")
time.sleep(10)
Then install examples
Code: cd
sudo apt-get install git-core libsdl-dev libportmidi-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-image1.2-dev
git clone https://github.com/rm-hull/luma.examples.git
cd luma.examples
sudo -H pip install -e .
Run example on I2C display
Code: cd
cd luma.examples
python examples/invaders.py -d ssd1306 --i2c-port 1 --i2c-address 0x3c
|
|
|
|
| Speaker at Euler Bus |
|
Posted by: tommypine - 04-16-2017, 12:19 PM - Forum: Android on Pine A64(+)
- Replies (1)
|
 |
I connected a little 8Ohm Speaker between Pin 31 and 32 on Euler bus but there is no sound at all. Is there enough power on these output to drive a speaker or do i need a amplifier? Is it right connected this way?? Is there a sound output at all on android on these pins???
|
|
|
|
| Boot issues: What todo when you muck up your FSTAB file |
|
Posted by: Dagremote - 04-16-2017, 09:08 AM - Forum: Linux on Pine A64(+)
- Replies (1)
|
 |
Greetings:
New Piner and forum member. Was adding an external previously formatted NTFS 1TB drive, and had issues getting read/write access. Managed to get the system into a non boot state. In the end, I managed to resolve the boot issue, but chose to switch to a new drive formatted with EXT3. No probs since.
In the interest of helping others, with a similar issue, here’s what I ended up doing. Will leave out what didn’t work, to keep the post shorter.
Didn’t have an actual spare Linux system, so I used a Vmware desktop system running Kali, running on my Win 10 laptop. The VM recognized USB devices, but didn’t recognize the larger micro USB caddy the memory card came with. Had to run out and by a new memory card that shipped with both a USB and larger memory card reader.
The Pine64 micro SD card mounted automatically on the Kali VM, and provided full access to the system folders. Ending the /etc/fstab file took seconds and Pine booted afterwards.
Thanks to some folks on the IRC channel for offering suggestions, everything came together in the end.
For those who have read this far, in the interest of sharing what my Pine is doing …
1.) Security system with Zoneminder
Running 3 cameras for now. External drive setup with symbolic links to hold the video.
2.) Local cloud with Owncloud
External drive setup as the main repository.
So far very positive things to say about the community and the product.
W.
|
|
|
|
| RPi Monitor |
|
Posted by: connorja - 04-15-2017, 07:21 AM - Forum: Ubuntu
- Replies (9)
|
 |
Hi,
Is there any way to add RPi Monitor or similar onto my Pine? My pine is headless and I want to be able to monitor its performance when operating under load.
Thanks
|
|
|
|
| Show Hubpanel on pine64 display |
|
Posted by: Beta - 04-15-2017, 05:44 AM - Forum: openHAB
- No Replies
|
 |
I´m just started with openhab and have a short question:
Is it possible to run openhab on the pine and use the pine touchdisplay to control the habpanel at the same time?
Or do I have to use another device to run openhab and use the pine with linux or android to show the habpanel on the display?
the backgroud is that I want to use some kind of wall-mounted display to control openhab.
|
|
|
|
|