OrangePi Setup

From lechacal
Revision as of 14:21, 31 August 2022 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Tested unit is the Orange Pi PC.
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-PC.html

Operating system used is the Armbian Focal from this page below.
https://www.armbian.com/orange-pi-pc/

Install image on SD card. Insert SD card and power up the Orange Pi.

Find the ip address of the Orange Pi and connect via SSH.

ssh root@<ipaddress>

Password is 1234. Follow what the interactive setup requires.

To enable the serial port run the command below:

echo "overlays=uart3" >> /boot/armbianEnv.txt

Then reboot the Pi with:

sudo reboot

Test the serial output with

stty -echo -F /dev/ttyS3 raw speed 38400
cat /dev/ttyS3

Important note. We are slowly adapting the lcl tools for Orange Pi. We recommend using a Raspberrypi to setup the RPICT board. Then use the Orange Pi for runtime only.

Configuration

Get the latest configuration tool.

wget lechacal.com/RPICT/tools/lcl-rpict-config_v1.14.0.py.zip
unzip lcl-rpict-config_v1.14.0.py.zip

Read the configuration using

./lcl-rpict-config.py -a

Then

cat /tmp/rpict.conf

Write the config

./lcl-rpict-config.py -a -w myfile.conf