Repositorio del código del sistema de adquisición de datos con beaglebone para sensores de gas
 
 
Go to file
Demo User 8321e9e5a4 all measures
images Upload New File
README.md Update README.md
config-uart-pins.sh uart configuration file added
daq all measures
daq.c all measures
uart.c Upload New File
uart.h Upload New File

README.md

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. Diagrama conexiones

Then you can run the code wih this comand*:

./daq <time> <sampling period>

*change < time> and < sampling period> with your own values.