OrangePi Setup: Difference between revisions

From lechacal
Jump to navigation Jump to search
(Created page with " Tested unit is the Orange Pi PC.<br> http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-PC.html Operating system used is the Armbian Focal ...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
Install image on SD card. Insert SD card and power up the Orange Pi.  
Install image on SD card. Insert SD card and power up the Orange Pi.  


Find teh ip address of the Orange Pi and connect via SSH.
Find the ip address of the Orange Pi and connect via SSH.
  ssh root@<ipaddress>
  ssh root@<ipaddress>


Password is 1234. Follow what the interactive setup requires.
Password is 1234. Follow what the interactive setup requires.


To enable the serial port run teh command below:
To enable the serial port run the command below:


  echo "overlays=uart3" >> /boot/armbianEnv.txt
  echo "overlays=uart3" >> /boot/armbianEnv.txt
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