OpenMarine
OPenplotter on OrangePi - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: OPenplotter on OrangePi (/showthread.php?tid=4428)

Pages: 1 2 3


OPenplotter on OrangePi - Ralph - 2023-01-20

Hello All,

As it is hard to find Raspberry Pi and they are quite expensive is it possible to have OpenPlotter on OrangePi ?

I succeed installing OPenPlotter on a OrangePi 5 using the Desktop version and running the openplotter-settings.

But still missing I2C and PyPilot.

Is there any chance we have these features running on an OrangePi in the future ?

Ralph


RE: OPenplotter on OrangePi - Sailoog - 2023-01-24

I do not have any orange pi to test.

what OS are you running?

is there any app or library to manage GPIO?


RE: OPenplotter on OrangePi - Coyote24 - 2023-01-24

Ralph,

Thank you for posting this, I had the same type of questions here:
Do let us know how it is going.

Have you installed open CPN? Or other Nav SW, anything that actually works?
Did you install Ubuntu desktop or ??

I would be very interested to know what your installation looks like, screen, modules, case...
I was just about to order a OPi5 this morning, but I will hold a bit to see what you post.

Thanks!

alain


RE: OPenplotter on OrangePi - DroZDi - 2023-02-26

Hi
I join to the topic here as I definitely give up to work with rapsberry pi 4B for orange pi 5 board.
My hardware: http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5.html
Not 5B but only 5 due to work with NVMe disk capability.

Actually my configuration is following:
- OrangePi 5 board with 8GB RAM
- NVMe WD 256GB 2230 disk with OS Debian 11 installed and booting from (extra  M2 screw and standoff needed)
- aluminium case with one fan
- external DualBand WiFi USB module installed in USB 2.0 port
- no BT

I have started to understand how it should be configured UART/I2C due to lack of documentation by now.

@Sailog what is need it to support openplotter on such a hardware?

Kindly

Ps.
I will be updating from time to time this thread

GPIO info:
https://uthings.uniud.it/control-gpio-pins-of-orange-pi-boards

Pro/Cons: 
https://jamesachambers.com/orange-pi-5-review/


RE: OPenplotter on OrangePi - DroZDi - 2023-02-26

First update for OrangePi 5 (Debian 11)

1. Enabling GPIO UART0 for GPS modem

GPIO pinout -> http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5.html
enabling in /boot/orangpiEnv.txt add/change line:
overlays=uart0-m2

Pins: 2,8,10,14 to be used for GPS modem (similar to Raspberry Pi)
Pins 4 and 6 used by Cooler/Fan

Rest steps of GPS modem installation as typical for Raspberry Pi

2. Enabling GPIO I2C for pypilot/sensors (in my case ICM-20948+BMP280+AHT20)


GPIO pinout -> http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5.html
enabling in /boot/orangpiEnv.txt in the line:
overlays=i2c5-m3 (or add to the existing modules after space)

Pins: 1,3,5,9 (as for Raspberry Pi)


root@orangepi5:~# i2cdetect -y 5
    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                        -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- 38 -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- 77


IMU: ICM-20948 (address 0x68, SEN-15335)  - detected
BMP280 - 0x77 detected
AHT20* - 0x38 detected

Overall status:
root@orangepi5:~# gpio readall
+------+-----+----------+--------+---+  OPI5  +---+--------+----------+-----+------+
| GPIO | wPi |  Name  |  Mode  | V | Physical | V |  Mode  | Name    | wPi | GPIO |
+------+-----+----------+--------+---+----++----+---+--------+----------+-----+------+
|      |    |    3.3V |        |  |  1 || 2  |  |        | 5V      |    |      |
|  47 |  0 |    SDA.5 |  ALT9 | 1 |  3 || 4  |  |        | 5V      |    |      |
|  46 |  1 |    SCL.5 |  ALT9 | 1 |  5 || 6  |  |        | GND      |    |      |
|  54 |  2 |    PWM15 |    IN | 1 |  7 || 8  | 1 | ALT10  | RXD.0    | 3  | 131  |
|      |    |      GND |        |  |  9 || 10 | 1 | ALT10  | TXD.0    | 4  | 132  |
|  138 |  5 |  CAN1_RX |    IN | 1 | 11 || 12 | 1 | IN    | CAN2_TX  | 6  | 29  |
|  139 |  7 |  CAN1_TX |    IN | 1 | 13 || 14 |  |        | GND      |    |      |
|  28 |  8 |  CAN2_RX |    IN | 1 | 15 || 16 | 1 | IN    | SDA.1    | 9  | 59  |
|      |    |    3.3V |        |  | 17 || 18 | 1 | IN    | SCL.1    | 10  | 58  |
|  49 |  11 | SPI4_TXD |    IN | 1 | 19 || 20 |  |        | GND      |    |      |
|  48 |  12 | SPI4_RXD |    IN | 1 | 21 || 22 | 1 | IN    | GPIO2_D4 | 13  | 92  |
|  50 |  14 | SPI4_CLK |    IN | 1 | 23 || 24 | 1 | IN    | SPI4_CS1 | 15  | 52  |
|      |    |      GND |        |  | 25 || 26 | 1 | IN    | PWM1    | 16  | 35  |
+------+-----+----------+--------+---+----++----+---+--------+----------+-----+------+
| GPIO | wPi |  Name  |  Mode  | V | Physical | V |  Mode  | Name    | wPi | GPIO |
+------+-----+----------+--------+---+  OPI5  +---+--------+----------+-----+------


RE: OPenplotter on OrangePi - DroZDi - 2023-02-27

OrangePi 5 documentation link -> https://drive.google.com/drive/folders/1Bre2q0bGgXQuQlYaYDMvwstpvtHLmcgX


Confirmation of my previous post in points 3.18.3 and 3.18.4 Smile


RE: OPenplotter on OrangePi - jim321 - 2023-02-27

raspberry pi os 64 and armbian are both based on Debian 11 bullseye. armbian supports multiple boards maybe we need a fork for it.
https://www.armbian.com/download/?device_support=Supported


RE: OPenplotter on OrangePi - DroZDi - 2023-03-01

NVMe disk speed test on my OrangePi 5:

#sudo curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash

...

Result submitted successfully and will appear live on https://pibenchmarks.com within a couple of minutes.

    Category                  Test                      Result
HDParm                    Disk Read                317.05 MB/s
HDParm                    Cached Disk Read          364.30 MB/s
DD                        Disk Write                256 MB/s
FIO                      4k random read            59190 IOPS (236763 KB/s)
FIO                      4k random write          41881 IOPS (167525 KB/s)
IOZone                    4k read                  74592 KB/s
IOZone                    4k write                  104575 KB/s
IOZone                    4k random read            48409 KB/s
IOZone                    4k random write          78314 KB/s

                          Score: 20736


RE: OPenplotter on OrangePi - Legendlc - 2023-03-07

(2023-03-01, 10:46 AM)DroZDi Wrote: NVMe disk speed test on my OrangePi 5:

#sudo curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash

...

Result submitted successfully and will appear live on https://pibenchmarks.com within a couple of minutes.

    Category                  Test                      Result
HDParm                    Disk Read                317.05 MB/s
HDParm                    Cached Disk Read          364.30 MB/s
DD                        Disk Write                256 MB/s
FIO                      4k random read            59190 IOPS (236763 KB/s)
FIO                      4k random write          41881 IOPS (167525 KB/s)
IOZone                    4k read                  74592 KB/s
IOZone                    4k write                  104575 KB/s
IOZone                    4k random read            48409 KB/s
IOZone                    4k random write          78314 KB/s

                          Score: 20736
Also following this. I plan on using orange pi5/b and open marine running signal k. I plan to grab input data using the senseESP project to get my old analog engines to give me data. Very excited about the orange PI development.


RE: OPenplotter on OrangePi - Legendlc - 2023-03-07

I am very excited to see the orange pi 5/b development. I plan to use the orange pi running open marine and signal k. I plan to use the senseESP project to gather the data from my old analog engines. Very excited to learn how to utilize the orange pi for this.