The OrangePi 5 Pro is a single board SoC computer based on the Rockchip RK3588S arm64 processor. It has built-in GPIO, I2C, PWM, SPI and MIPI DSI interfaces.
For more info about the OrangePi 5 Pro, go to http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-Pro.html.
Please refer to the main README.md
Tested OS:
- armbian: "Armbian_community_25.5.0-trunk.4_Orangepi5pro_bookworm_vendor_6.1.99_minimal" (1-wire not working)
- Debian server image: "Orangepi5pro_1.0.4_debian_bookworm_server_linux6.1.43"
Please follow the instructions of the OS provider. A ssh access is used in this guide.
ssh <user>@192.168.1.xxx
Not all drivers are enabled by default. You can have a look at the configuration file, to find out what is enabled at your system:
cat /boot/armbianEnv.txt
sudo apt install armbian-config
sudo armbian-config
The pin numbering used by your Gobot program should match the way your board is labeled right on the board itself.
r := orangepi5pro.NewAdaptor()
led := gpio.NewLedDriver(r, "7")
Compile your Gobot program on your workstation like this:
GOARCH=arm64 GOOS=linux go build -o output/ examples/orangepi5pro_blink.go
Once you have compiled your code, you can upload your program and execute it on the board from your workstation
using the scp
and ssh
commands like this:
scp output/orangepi5pro_blink <user>@192.168.1.xxx:~
ssh -t <user>@192.168.1.xxx "./orangepi5pro_blink"