This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OPenplotter on OrangePi
#5
First update for OrangePi 5 (Debian 11)

1. Enabling GPIO UART0 for GPS modem

GPIO pinout -> http://www.orangepi.org/html/hardWare/co...-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/co...-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  +---+--------+----------+-----+------
Reply


Messages In This Thread
OPenplotter on OrangePi - by Ralph - 2023-01-20, 12:03 AM
RE: OPenplotter on OrangePi - by Sailoog - 2023-01-24, 06:33 PM
RE: OPenplotter on OrangePi - by Coyote24 - 2023-01-24, 10:51 PM
RE: OPenplotter on OrangePi - by DroZDi - 2023-02-26, 10:32 AM
RE: OPenplotter on OrangePi - by DroZDi - 2023-02-26, 02:16 PM
RE: OPenplotter on OrangePi - by DroZDi - 2023-02-27, 12:08 PM
RE: OPenplotter on OrangePi - by jim321 - 2023-02-27, 12:33 PM
RE: OPenplotter on OrangePi - by DroZDi - 2023-03-01, 10:46 AM
RE: OPenplotter on OrangePi - by Legendlc - 2023-03-07, 07:21 PM
RE: OPenplotter on OrangePi - by Legendlc - 2023-03-07, 07:34 PM
RE: OPenplotter on OrangePi - by Opie91 - 2023-03-08, 12:03 AM
RE: OPenplotter on OrangePi - by Sailoog - 2023-03-08, 01:08 PM
RE: OPenplotter on OrangePi - by DroZDi - 2023-03-19, 08:36 PM
RE: OPenplotter on OrangePi - by DroZDi - 2023-03-20, 08:08 PM
RE: OPenplotter on OrangePi - by DroZDi - 2023-03-21, 03:52 PM
RE: OPenplotter on OrangePi - by DroZDi - 2023-03-24, 11:17 PM
RE: OPenplotter on OrangePi - by DroZDi - 2023-03-25, 11:11 AM
RE: OPenplotter on OrangePi - by DroZDi - 2023-03-26, 10:34 PM
RE: OPenplotter on OrangePi - by Ralph - 2023-03-28, 02:33 PM
RE: OPenplotter on OrangePi - by DroZDi - 2023-03-29, 07:36 AM
RE: OPenplotter on OrangePi - by DroZDi - 2023-03-29, 02:11 PM
RE: OPenplotter on OrangePi - by DroZDi - 2023-04-01, 02:26 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)