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

Committer:
umairaftab
Date:
Sun Apr 13 02:02:04 2014 +0000
Revision:
30:417e8ba439ff
Parent:
14:72176f1e4907
Backlight Code Added

Who changed what in which revision?

UserRevisionLine numberNew contents of line
umairaftab 3:087ce66714c0 1 #include "mbed.h"
umairaftab 3:087ce66714c0 2 #include "TextLCD.h"
umairaftab 7:1d691f81d455 3 extern TextLCD lcd;
umairaftab 4:8d1df60ef3c3 4
umairaftab 4:8d1df60ef3c3 5
umairaftab 4:8d1df60ef3c3 6
umairaftab 4:8d1df60ef3c3 7 extern int temp_unit;
umairaftab 4:8d1df60ef3c3 8
umairaftab 4:8d1df60ef3c3 9 extern float outside_humidity;
umairaftab 4:8d1df60ef3c3 10 extern float outside_temp;
umairaftab 4:8d1df60ef3c3 11 extern float outside_dewpoint;
umairaftab 4:8d1df60ef3c3 12
umairaftab 4:8d1df60ef3c3 13 extern float inside_humidity;
umairaftab 4:8d1df60ef3c3 14 extern float inside_temp;
umairaftab 4:8d1df60ef3c3 15 extern float inside_dewpoint;
umairaftab 4:8d1df60ef3c3 16
umairaftab 4:8d1df60ef3c3 17 extern float soil1_humidity;
umairaftab 4:8d1df60ef3c3 18 extern float soil2_humidity;
umairaftab 4:8d1df60ef3c3 19
umairaftab 12:b3137bb72ef7 20 extern unsigned int peltierout;
umairaftab 12:b3137bb72ef7 21 extern unsigned int peltierin;
umairaftab 12:b3137bb72ef7 22 extern float peltierin_temp;
umairaftab 12:b3137bb72ef7 23 extern float peltierout_temp;
umairaftab 12:b3137bb72ef7 24
umairaftab 12:b3137bb72ef7 25 extern unsigned int red_light_value;
umairaftab 12:b3137bb72ef7 26 extern unsigned int blue_light_value;
umairaftab 12:b3137bb72ef7 27 extern unsigned int green_light_value;
umairaftab 12:b3137bb72ef7 28
umairaftab 14:72176f1e4907 29 extern float weight_sensor;
umairaftab 12:b3137bb72ef7 30
umairaftab 30:417e8ba439ff 31 extern DigitalOut lcd_backlight;
umairaftab 30:417e8ba439ff 32
umairaftab 8:2d462919519e 33 void ui_startup();
umairaftab 8:2d462919519e 34 void ui_screen1() ;
umairaftab 8:2d462919519e 35 void ui_screen2() ;
umairaftab 11:f9ffd5ab7e94 36 void ui_screen3() ;
umairaftab 12:b3137bb72ef7 37 void ui_screen4() ;
umairaftab 30:417e8ba439ff 38 //void ui_settings();
umairaftab 30:417e8ba439ff 39 void lcd_backlight_on();
umairaftab 30:417e8ba439ff 40 void lcd_backlight_off();