Deep Slumber, codename ISA, is a program made for the arm MBED during Hack The Burgh 2018 that analyses light, temperature, humidity and CO2 levels in a room. It uploads this information onto an SQL server through a rest API, providing the necessary environment for data processing. Further improvements we hope to provide are the regulation of said parameters by wifi connection to electric heaters, wifi enabled controllable lightbulbs and other iot gadgets as well as a website that will provide recommendations for sleep cycle improvements.
Dependencies: C12832 CCS811 Sht31 TSL2561
Fork of ARM_HACK_THE_BURGH by
Revision 58:44e839410957, committed 2018-03-10
- Comitter:
- Ottomanslap
- Date:
- Sat Mar 10 17:48:37 2018 +0000
- Parent:
- 57:a2340579d7ad
- Child:
- 59:22dd28696d59
- Commit message:
- Commented network jizz
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Mar 10 17:46:39 2018 +0000
+++ b/main.cpp Sat Mar 10 17:48:37 2018 +0000
@@ -155,6 +155,7 @@
int main()
{
+ /*
int count = 0;
pc.printf("WiFi example\n\n");
@@ -190,6 +191,8 @@
tsl2561.setGain(TSL2561_GAIN_0X);
tsl2561.setTiming(TSL2561_INTEGRATIONTIME_402MS);
+ */
+
while(1) {
string json = "{\n";
