Code supports writing to the SD card as well as working with the Volckens group smartphone apps for the mbed HRM1017

Dependencies:   ADS1115 BLE_API BME280 Calibration CronoDot EEPROM LSM303 MCP40D17 NCP5623BMUTBG SDFileSystem SI1145 STC3100 mbed nRF51822

Fork of UPAS_BLE_and_USB by Volckens Group Sensors

Revisions of main.cpp

Revision Date Message Actions
41:1fb3e0ac6f87 2015-06-09 Replaced wire.h library with CronoDot library. File  Diff  Annotate
40:ef7e1dcb3780 2015-06-09 Added the library to control the RGB LED and turned the LED on as low as possible green. File  Diff  Annotate
38:e02e037132b4 2015-06-05 updated fprintf precision for acc_x/y/z to 4 decimal places File  Diff  Annotate
37:838824df3f5f 2015-06-04 Operating code in UPASs shipped to UBC/OSU - includes all MFS transfer functions File  Diff  Annotate
36:2d90be7655e1 2015-06-03 Updated filenaming File  Diff  Annotate
35:bd978e6ccd82 2015-06-02 Removed wire.h library and replaced it with the CronoDot library. Also added the NCP5623BMUTBG library for control over RGB LEDs. File  Diff  Annotate
34:481403146690 2015-05-31 Simple control loop implemented. File  Diff  Annotate
33:bc73a2493821 2015-05-31 UPAS0005 with 31May calibration and updated log filenaming File  Diff  Annotate
32:72e9ea8368da 2015-05-31 UPAS0005 calibrated 31May2015 File  Diff  Annotate
31:f8504ef165fb 2015-05-31 File name formatting modification File  Diff  Annotate
30:8a33a94a1a89 2015-05-31 UPAS0004 operating code calibrated 31May2015 File  Diff  Annotate
29:29dcd5391c36 2015-05-31 Operating program for UPAS0003 31May2015 File  Diff  Annotate
28:39747a95e989 2015-05-31 Not sure what is updated here File  Diff  Annotate
27:6830122ebc00 2015-05-30 UPAS0002 Operational Code 2015 05 30 Calibration File  Diff  Annotate
26:9cf8e76d8274 2015-05-30 UPAS0002 Operational Code 2015 05 30 Calibration File  Diff  Annotate
25:658a9a146391 2015-05-30 Added a -5 degree C offset for temp to line 155 File  Diff  Annotate
24:ff113c02d680 2015-05-30 UPAS0001 Operational Code 2015 05 30 Calibration added in comments for file name of calibration spreadsheet. File  Diff  Annotate
23:3647fecd3cef 2015-05-30 UPAS0001 Operational Code 2015 05 30 Calibration File  Diff  Annotate
22:8dd7e0d4c21c 2015-05-30 Auto sets the digital pot based on set point of 1 lpm, bme temp/press/rh from bme, and the mass flow-digital pot transfer function File  Diff  Annotate
21:765896ebd61c 2015-05-30 removed the test offset omron value of 0.1 from line 124 File  Diff  Annotate
20:ad9883973d86 2015-05-30 Added in placeholder equations for mass and volumetric flow rate File  Diff  Annotate
19:addd6c99c970 2015-05-30 fixed the issue with last rev on line 151 File  Diff  Annotate
18:f530dfdc0c05 2015-05-30 Rearranged the print out values in line 151 File  Diff  Annotate
17:1baf7cab694e 2015-05-30 Changed datalogging file name to UPASLOG_YearMonthDayHourMinuteSec.txt File  Diff  Annotate
16:210e5eaeb89b 2015-05-30 Added Light Sensor and everything is saving correctly to UPASLOGxx.txt, but can only go up to files UPASLOG00.txt-UPASLOG04.txt File  Diff  Annotate
15:3d1322f05b8e 2015-05-29 Modified Saved Files with date time stamp File  Diff  Annotate
14:ad550174db8b 2015-05-29 Added SI1145 Light Sensor and Updated Libraries to reference Volckens Group Repo File  Diff  Annotate
13:a8e096e715bd 2015-05-21 Removed Honeywell pressure sensor File  Diff  Annotate
12:8c00a7f5d483 2015-05-20 Replaced BMP280 library with BME280 library File  Diff  Annotate
11:2297d364af61 2015-05-20 Uses RTC to log consistently every 10 seconds, and a 1 second wait period to eliminate multiple logging events in the same second. File  Diff  Annotate
10:f9cb61b29340 2015-05-20 UPAS Code for AST-UBCUO sampler File  Diff  Annotate
9:2057c3779b6a 2015-05-14 Modified code to fix 24 hour clock time. File  Diff  Annotate
8:204c21adf693 2015-05-12 Toggles on the pump after the digital pot value is set. Added the Honeywell analog pressure sensing line. File  Diff  Annotate
7:a24d7156bc02 2015-05-06 Added RTC and STC3100 Gas Gauge File  Diff  Annotate
6:2328feb48792 2015-05-05 Added option to change Omron Gain for increased voltage range for Dan's manifold design. File  Diff  Annotate
5:0edf35b6d79a 2015-05-03 added bmp280 data (temp is in F and press in hPa) File  Diff  Annotate
4:69bd7e8a994c 2015-05-03 added in timer function for runtime time stamp File  Diff  Annotate
3:2d059d88582b 2015-05-03 Data filename corrected, logging ADS1115 byte words to sd card with incrementing filenames File  Diff  Annotate
2:e596e685eb39 2015-05-03 5 seconds between logging, append to file, and saving ADS1115 data File  Diff  Annotate
1:37babeb68ab9 2015-05-02 upas sd-card cq File  Diff  Annotate
0:14d46ef4b6cb 2015-05-01 UPAS SD Card and ADS1115 File  Diff  Annotate