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
Child:
7:1d691f81d455
--- a/UI/ui.cpp	Wed Apr 09 21:36:13 2014 +0000
+++ b/UI/ui.cpp	Fri Apr 11 02:51:58 2014 +0000
@@ -33,7 +33,7 @@
 }
 
 void ui_startup(){
-    set_temp_unit();
+
     lcd.cls();
     lcd.setCursor(TextLCD::CurOff_BlkOn);
     lcd.locate(0,0);
@@ -43,7 +43,8 @@
 }
 
 void ui_screen1() {
-  
+    
+    set_temp_unit();
     lcd.cls();
     lcd.setCursor(TextLCD::CurOff_BlkOn);
     lcd.locate(0,0);
@@ -54,3 +55,28 @@
     lcd.printf(" S2: %3.1f",soil2_humidity);
 }
 
+void ui_screen2() {
+    
+    set_temp_unit();
+    lcd.cls();
+    lcd.setCursor(TextLCD::CurOff_BlkOn);
+    lcd.locate(0,0);
+    lcd.printf("iT: %3.1f%c",inside_temp,temp_unit_char);
+    lcd.printf(" iH: %3.1f",inside_humidity);   
+    lcd.locate(0,1);
+    lcd.printf("oT: %3.1f%c",outside_temp,temp_unit_char);
+    lcd.printf(" oH: %3.1f",outside_humidity);
+}
+
+void ui_screen3() {
+    
+    //set_temp_unit();
+    lcd.cls();
+    lcd.setCursor(TextLCD::CurOff_BlkOn);
+    lcd.locate(0,0);
+    lcd.printf("iT: %3.1f%c",inside_temp,temp_unit_char);
+    lcd.printf(" iH: %3.1f",inside_humidity);   
+    lcd.locate(0,1);
+    lcd.printf("oT: %3.1f%c",outside_temp,temp_unit_char);
+    lcd.printf(" oH: %3.1f",outside_humidity);
+}
\ No newline at end of file