Repositorio del código del sistema de adquisición de datos con beaglebone para sensores de gas
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Sayeth 99fa2d79e2 backup from gitlab 10 months ago
images backup from gitlab 10 months ago
resources backup from gitlab 10 months ago
README.md initial commit 10 months ago
daq backup from gitlab 10 months ago
daq.c backup from gitlab 10 months ago
daq.h backup from gitlab 10 months ago
data.dat backup from gitlab 10 months ago
main.c backup from gitlab 10 months ago
uart.c backup from gitlab 10 months ago
uart.h backup from gitlab 10 months ago

README.md

DAQ System with Beaglebone Black using serial communication

This repositori contains a DAQ program and its C code source 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 in your Beaglebone Black

git clone https://gitea.itmorelia.com/SayethR/Sayeth-DAQ-Code.git

Utilization

Configure UART1, UART2 and UART4 ports with this command

config-uart-pins.sh

Connect sensors to power supply and Beaglebone like next diagram. Diagrama conexiones

Then you can run the program 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).

If you need to recompile the progam you can use gcc program from the terminal.