Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of keypad_test by
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)
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.
Revision 55:0bfa6b62a66b, committed 2014-04-14
- Comitter:
- umairaftab
- Date:
- Mon Apr 14 15:59:44 2014 +0000
- Parent:
- 54:1302a97c84aa
- Child:
- 56:d1e81ca74f22
- Commit message:
- Serial Printer Carriage Feed Line Issue Fixed
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Apr 14 15:49:59 2014 +0000
+++ b/main.cpp Mon Apr 14 15:59:44 2014 +0000
@@ -113,27 +113,27 @@
void printer_print_values(){
- printf("\n\r**Autus Sensor Values**\n\r");
+ printf("\n\r**Autus Sensor Values**\r");
wait(1);
- printer.printf("Chamber Temp: %4.2f\n\r",inside_temp);
+ printer.printf("Chamber Temp: %4.2f\r",inside_temp);
wait(1);
- printer.printf("Chamber Humidity: %4.2f\n\r",inside_humidity);
+ printer.printf("Chamber Humidity: %4.2f\r",inside_humidity);
+ //wait(1);
+ //printer.printf("Chamber Dewpoint: %4.2f\r",inside_dewpoint);
wait(1);
- printer.printf("Chamber Dewpoint: %4.2f\n\r",inside_dewpoint);
- wait(1);
- printer.printf("External Temp: %4.2f\n\r",outside_temp);
+ printer.printf("External Temp: %4.2f\r",outside_temp);
wait(1);
- printer.printf("External Humidity: %4.2f\n\r",outside_humidity);
+ printer.printf("External Humidity: %4.2f\r",outside_humidity);
+ //wait(1);
+ //printer.printf("External Dewpoint: %4.2f\r",outside_dewpoint);
wait(1);
- printer.printf("External Dewpoint: %4.2f\n\r",outside_dewpoint);
- wait(1);
- printer.printf("Soil Moisture-1: %4.2f\n\r",soil1_humid);
+ printer.printf("Soil Moisture-1: %4.2f\r",soil1_humid);
wait(1);
- printer.printf("Soil Moisture-2: %4.2f\n\r",soil2_humid);
+ printer.printf("Soil Moisture-2: %4.2f\r",soil2_humid);
wait(1);
- printer.printf("Load Cell: %4.2f\n\r",weight_sensor);
+ printer.printf("Load Cell: %4.2f\r",weight_sensor);
wait(1);
- printer.printf("\n\r*****END*****\n\r");
+ printer.printf("\r*****END*****\r");
}
//**************************FUNCTION TO READ SENSORS **********************************************
