You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
972 B
972 B
DAQ System with Beaglebone Black using serial communication
This repositori contains C code to implement a DAQ system with a Beaglebone Black using serial communication with sensors. Sensors used in this system are: GC-0017 (Cabron dioxide), CM-31910 (Carbon monoxide, and temperature) and OX-0052 (Oxigen).
Installing
To get this repositore you just need to clone it into your Beaglebone Black
git clone https://gitlab.com/sayeth.rd/daq-serial-bbb/
Utilization
Configure UART1, UART2 and UART4 ports with this command
config-uart-pins.sh
Connect sensors to power supply and Beaglebone like in the next diagram.
Then you can run the code wih this comand*:
./daq <daq duration(h)> <sampling period(s)>
*replace <daq duration(h)> with the total data acquisition time (in hours), and <sampling period(s)> with the time between each measurements acquisition (in seconds).