|
|
@ -5,7 +5,7 @@ Sensors used in this system are: GC-0017 (Cabron dioxide), CM-31910 (Carbon mono
|
|
|
|
|
|
|
|
|
|
|
|
### Installing
|
|
|
|
### Installing
|
|
|
|
|
|
|
|
|
|
|
|
To get this repositore you just need to clone it to your Beaglebone Black
|
|
|
|
To get this repositore you just need to clone it into your Beaglebone Black
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
git clone https://gitlab.com/sayeth.rd/daq-serial-bbb/
|
|
|
|
git clone https://gitlab.com/sayeth.rd/daq-serial-bbb/
|
|
|
@ -13,11 +13,13 @@ git clone https://gitlab.com/sayeth.rd/daq-serial-bbb/
|
|
|
|
|
|
|
|
|
|
|
|
### Utilization
|
|
|
|
### Utilization
|
|
|
|
|
|
|
|
|
|
|
|
To run this code and commincate with sensors, you first have to configure UARTs ports, configuring GPIOs as uart running the command
|
|
|
|
Configure UART1, UART2 and UART4 ports with this command
|
|
|
|
```
|
|
|
|
```
|
|
|
|
config-uart-pins.sh
|
|
|
|
config-uart-pins.sh
|
|
|
|
```
|
|
|
|
```
|
|
|
|
this command will configure UART1, UART2 and UART4.
|
|
|
|
|
|
|
|
|
|
|
|
Connect sensors to Beaglebone like in the next diagram.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
Then you can run the code wih this comand:
|
|
|
|
Then you can run the code wih this comand:
|
|
|
|
|
|
|
|
|
|
|
|