Thought this might be useful:
FROM:
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=2236
01 3.3V 02 5V
03 TWI0-SDA PA12 04 5V
05 TWI0-SCK PA11 06 GND
07 PWM1 PA06 08 UART1_TX PG06
09 GND 10 UART1_RX PG07
11 UART2_RX PA01 12 SIM_CLK/PA_EINT7 PA07
13 UART2_TX PA00 14 GND
15 UART2_CTS PA03 16 TWI1-SDA PA19
17 3.3V 18 TWI1-SCK PA18
19 SPI1_MOSI PA15 20 GND
21 SPI1_MISO PA16 22 UART2_RTS PA02
23 SPI1_CLK PA14 24 SPI1_CS PA13
25 GND 26 SIM_DET/PA_EINT10 PA10
FROM OFFICIAL USER MANUAL:
https://drive.google.com/drive/folders/1lrtE6lbpXqxXTMmq7IxROOaZbOQ0U8uP
P01 VCC-3V3 P02 VCC-5V
P03 TWI0-SDA PA12 P04 VCC-5V
P05 TWI0-SCK PA11 P06 GND
P07 PWM1 PA6 P08 UART2_TX PA0
P09 GND P10 UART2_RX PA1
P11 S-TWI-SCK PL0 P12 PD11
P13 S-TWI-SDA PL1 P14 GND
P15 UART2_CTS PA3 P16 TWI1-SDA PA19
P17 VCC3V3-EXT P18 TWI1-SCK PA18
P19 SPI1_MOSI PA15 P20 GND
P21 SPI1_MISO PA16 P22 UART2_RTS PA2
P23 SPI1_CLK PA14 P24 SPI1_CS PA13
P25 GND P26 PD14
So you can make ~/bin/pinout-orange-pi-zero, and ~/bin/pinout containing:
#!/bin/bash
cat ~/bin/pinout-orange-pi-zero
... or just "~/bin/pinout":
#!/bin/bash
echo "text
text
text"
...so you'll have a pinout command like a Raspberry Pi.
I have confirmed that pin 10 should be PG07, pin 12 should be PA07 and pin 26 should be PA10 for a DS18B20 temperature sensor with armbianEnv.txt like:
$ cat /boot/armbianEnv.txt
---
param_w1_pin=PA07
So it looks like the picture from Orange Pi forums is more accurate. Can anyone comment on the differences between the two pinouts eg pin 10, 12, 26, and others?
Thanks, and thanks for making Armbian, and firstpost.
Also warning, for other noobs (could have saved me several hours): "Armbian 23.5 Jammy" is broken! Click "Archived versions for reference and troubleshooting" on the download page and download "Armbian_23.02.2_Orangepizero_jammy_current_5.15.93.img.xz" instead