commit 4829a97c607aea1eb891f4136c420645278ea402 Author: Sayeth Date: Wed Mar 5 12:32:54 2025 -0600 initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..aa713d1 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# 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](/images/conexion_sensores.png) + +Then you can run the program wih this comand*: + +``` +./daq +``` + +*replace **** with the total data acquisition time (in hours), and **** with the time between each measurements acquisition (in seconds). + +If you need to recompile the progam you can use **gcc** program from the terminal.