| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,671
» Latest member: Maryam6778
» Forum threads: 16,246
» Forum posts: 117,151
Full Statistics
|
| Latest Threads |
compass pdf link expired:...
Forum: General Discussion on PinePhone
Last Post: biketool
Yesterday, 12:56 PM
» Replies: 3
» Views: 108
|
Pinebook Pro for sale
Forum: General Discussion on Pinebook Pro
Last Post: rfm83
Yesterday, 09:22 AM
» Replies: 0
» Views: 58
|
What is wrong with the Mo...
Forum: General Discussion on PinePhone
Last Post: Mahgue
Yesterday, 05:13 AM
» Replies: 0
» Views: 47
|
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
11-07-2025, 01:12 PM
» Replies: 12
» Views: 5,824
|
Wake up Call
Forum: General Discussion on PinePhone
Last Post: biketool
11-06-2025, 06:18 AM
» Replies: 6
» Views: 371
|
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: victor_yeh
11-05-2025, 11:17 PM
» Replies: 0
» Views: 75
|
I think you can try compi...
Forum: General Discussion on Pinebook Pro
Last Post: wangyukunshan
11-05-2025, 02:25 AM
» Replies: 0
» Views: 118
|
Second screen mirroring
Forum: General
Last Post: OpalTromp
11-04-2025, 09:53 PM
» Replies: 2
» Views: 1,762
|
kivy app keeping focus wh...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
11-04-2025, 08:37 PM
» Replies: 1
» Views: 116
|
How to add an homemade ap...
Forum: Mobian on PinePhone
Last Post: JChdeL
11-04-2025, 04:13 AM
» Replies: 3
» Views: 343
|
|
|
| Battery status on panel? |
|
Posted by: Zoidiano0 - 04-22-2017, 10:29 AM - Forum: Armbian
- Replies (3)
|
 |
Hi guys I'm using the armbian image on my pine with Lcd and ts working
With a 6000mah battery diy it's any chance to get the battery stats on the panel?
I know that it works on Android
But can't find a way to make it work on Linus help pla
Thanks!
Sent from my Moto G (4) using Tapatalk
|
|
|
|
BSP Linux woes, early adopter information and a poll |
|
Posted by: Luke - 04-21-2017, 06:46 AM - Forum: General Discussion on Pinebook
- Replies (42)
|
 |
EDIT: I have removed much of the original thread since it was becoming too messy and I wish to keep this post very clean so people get an idea of what are the outstanding issues are.
Most issues have been resolved as of 05/05/17. Make sure to download an up-do-date image using the Installer.
Currently not working on Linux:
- HDMI out
- Headphones autodetect (being tentatively worked on) Please use these scripts by k_mp
- edit: microphone doesn't work - a fix is inbound
NB this is for the default settings which do not utilise drm and mali.
Do report any new bugs below.
|
|
|
|
GPIO, SPI and I2C C++ Lib |
|
Posted by: databit - 04-20-2017, 04:00 PM - Forum: Pi2, Euler and Exp GPIO Ports
- Replies (7)
|
 |
Hi to everyone! I'm a CS teacher and for some time I playing with my Pine64+. Last week, I built a C++ library (in object oriented paradigm) for manage GPIO, I2C and SPI.
https://github.com/databit/Pine64-CPP
This lib is based on the work of Eric Ptak <trouch@trouch.com>, Stefan Mavrodiev <support@olimex.com> and Kamil Trzcinski <ayufan@ayufan.eu>
I hope this library can be of help to you!
Send me yours comments and eventual bugs.
|
|
|
|
| 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
|
|
|
|
|