Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mniedermaier authored Jul 16, 2020
1 parent b9563d0 commit 1373522
Showing 1 changed file with 52 additions and 2 deletions.
54 changes: 52 additions & 2 deletions devices/hmi/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Low-cost ICS Testbed - HMI

## Installation
## Usage of the Raspberry Pi Release Images

https://github.com/hsainnos/LICSTER/releases

## Installation (Not necessary if Releases are used)

### Running Raspberry Pi with Desktop

Recommended and tested with Raspberry Pi OS (32-bit) with desktop on a Raspberry Pi 3.

### Clone the repository

Expand All @@ -11,6 +19,11 @@ mkdir gits
cd gits
```

Install git software on the Raspberry Pi
```
sudo apt install git
```

Clone the git of the low cost testbed.

```
Expand All @@ -29,7 +42,7 @@ cd ~/gits/LICSTER/devices/hmi
#### Install unclutter to disable the mouse pointer on the HMI.

```
sudo apt install unclutter npm
sudo apt install unclutter npm python3-pip xinit lxde-core lxterminal lxappearance lightdm
```

#### Install the python dependencies.
Expand Down Expand Up @@ -134,3 +147,40 @@ The HMI shows, that it is disconnected even though everything is connected as it

To fix this problem you can either flash the SD card of the PLC again or remove the gits repository from the PLC and follow the installation instructions for the PLC.

#### Screen rotation

Edit the boot configuration file of the Raspberry Pi.
```
sudo nano /boot/config.txt
```

Add the following line at the end of the file.
```
lcd_rotate=2
```


#### Power warning

Edit the boot configuration file of the Raspberry Pi.
```
sudo nano /boot/config.txt
```

Add the following line at the end of the file.
```
avoid_warnings=1
```

#### Auto login problem

Start the Raspberry Pi configuration screen:

```
sudo raspi-config
```

Select "3 Boot Options" and "B4 Desktop Autlogin Desktop GUI, automatically logged in as 'pi' user".
Exit and save.


0 comments on commit 1373522

Please sign in to comment.