Project Autus - Automated Plant Chamber

Dependencies:   TextLCD mbed

Fork of keypad_test by Plamen Totev

Autus

This is the codebase accompanying the project Autus.

Autus is an automated growth chamber for plants.

Features

Control Humidity inside chamber wrt to external humidity. Control Temperature inside chamber. ( Peltier Heaters/Coolers ) Water and shower plants. Control soil humidity. Monitor water tanks level (Load Cell) /media/uploads/umairaftab/frdm_-_new_page1.png

Code Base Features

Fixed timing and CRC for DHT-11 Sensor. Fixed OneWire bug for ds18b20

Cyclic Executive Scheduler with Priority. Async IPC framework for PC App over bluetooth

Fake RTC systick, I was having some trouble with the on board rtc.

/media/uploads/umairaftab/download.png

Revision:
5:bf31a58915a5
Parent:
4:8d1df60ef3c3
--- a/airhumidity.cpp	Wed Apr 09 21:36:13 2014 +0000
+++ b/airhumidity.cpp	Fri Apr 11 02:51:58 2014 +0000
@@ -5,8 +5,8 @@
 int error_outside;
 int error_inside;
 
-DHT sensor_outside(PTD4,SEN11301P); 
-DHT sensor_inside(PTD5,SEN11301P); 
+DHT sensor_outside(PTD1,SEN11301P); 
+DHT sensor_inside(PTD3,SEN11301P); 
 
 float get_air_temp_outside(int tempunit){
     wait(1); 
@@ -21,6 +21,9 @@
         case 2:
             return sensor_outside.ReadTemperature(KELVIN);
             break;
+        default:
+            return sensor_inside.ReadTemperature(CELCIUS);
+            break;
     }
 }
 
@@ -51,6 +54,9 @@
         case 2:
             return sensor_inside.ReadTemperature(KELVIN);
             break;
+        default:
+            return sensor_inside.ReadTemperature(CELCIUS);
+            break;
     }
 }