OrangePi Setup: Difference between revisions

From lechacal
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 26: Line 26:


'''Important note.'''
'''Important note.'''
We have not worked on running the usual lcl tools on Orange Pi. We recommend using a Raspberrypi to setup the RPICT board. Then use the Orange Pi for runtime only.
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

Latest revision as of 14:21, 31 August 2022


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