mirror of
https://github.com/JonasunderscoreJones/PI-server-rack.git
synced 2025-10-22 17:29:17 +02:00
first version of arduino README
This commit is contained in:
parent
9e9677f679
commit
056bc00502
1 changed files with 37 additions and 1 deletions
|
@ -1 +1,37 @@
|
|||
# Arduno module
|
||||
# Arduino module
|
||||
|
||||
## task
|
||||
The Arduino module manages the overall assets of the server rack. Those are the LCD display, the button panel and the internal and external serial communication between the computer, Raspberry PI4, Raspberry PI1.2 and itself. It also collects data about the system such as package loss, etc...
|
||||
|
||||
## Build from source
|
||||
1. The following packages/programs need to be installed and setup:
|
||||
|
||||
- arduino-cli with the following libraries installed (or use libs provided in `libs/`):
|
||||
- SoftwareSerial
|
||||
- LiquidCristal
|
||||
- git (or clone repository manually)
|
||||
|
||||
2. open a terminal and run the following commands:
|
||||
|
||||
```
|
||||
git clone https://github.com/J-onasJones/PI-server-rack.git
|
||||
cd PI-server-rack
|
||||
arduino-cli --fqbn [arduino board of your choice] arduino
|
||||
```
|
||||
3. to upload the sketch to an arduino run the following command:
|
||||
```
|
||||
arduino-cli upload --fqbn [arduino board of your choice] -p [arduino port name] arduino
|
||||
```
|
||||
As an example on Linux for the `Arduino Nano` the following:
|
||||
```
|
||||
arduino-cli upload --fqbn arduino:avr:nano -p /dev/ttyUSB0 arduino
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Credits and Licensing
|
||||
|
||||
This project is licensed under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
||||
|
||||
### Libraries
|
||||
All provided license files for the arduino libraries at `/arduino/libs` of this repository have been added to the top of the header file of each library (the files ending in `.h`) if provided or required.
|
Loading…
Add table
Add a link
Reference in a new issue