Arduino_BME680_Coldfire5282_CGI_Serial is a C CGI project which gathers data from a BME680 sensor connected to an Arduino to a Colfire 5282 developement board.
Communication is made through RS232 protocol, but should work with other serial protocols with some adjustments.
Considering you have installed a free COM image on your 5282,
You'll find the .ino
file for the Arduino UNO.
The index.html
file goes to home/httpd/
The read_serial.c must be compiled from the cross-compiler and put in the home/httpd/cgi-bin/
folder and with a .cgi
extension.
Be carfeull that support for this compiler need you to have Ubuntu 9.04 with no updates (your favourite VM is your friend).
Simply access the main.html via any WebClient.
Command line : (mostly for testing, as it prints tags)
./read_serial x
Where x can be traded for a - temperature b - humidity c - pressure d - gaz levels
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.