Project Autus - Automated Plant Chamber
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.
DS18B20Multiple/DS18B20.h@57:7ab93ed49b70, 2014-04-14 (annotated)
- Committer:
- umairaftab
- Date:
- Mon Apr 14 19:18:14 2014 +0000
- Revision:
- 57:7ab93ed49b70
- Parent:
- 38:9f4107db1bff
Cosmetic Changes, Menus added
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
umairaftab | 38:9f4107db1bff | 1 | /* |
umairaftab | 38:9f4107db1bff | 2 | * DS18B20. Maxim DS18B20 One-Wire Thermometer. |
umairaftab | 38:9f4107db1bff | 3 | * Uses the OneWireCRC library. |
umairaftab | 38:9f4107db1bff | 4 | * |
umairaftab | 38:9f4107db1bff | 5 | * Copyright (C) <2010> Petras Saduikis <petras@petras.co.uk> |
umairaftab | 38:9f4107db1bff | 6 | * |
umairaftab | 38:9f4107db1bff | 7 | * This file is part of OneWireThermometer. |
umairaftab | 38:9f4107db1bff | 8 | * |
umairaftab | 38:9f4107db1bff | 9 | * OneWireThermometer is free software: you can redistribute it and/or modify |
umairaftab | 38:9f4107db1bff | 10 | * it under the terms of the GNU General Public License as published by |
umairaftab | 38:9f4107db1bff | 11 | * the Free Software Foundation, either version 3 of the License, or |
umairaftab | 38:9f4107db1bff | 12 | * (at your option) any later version. |
umairaftab | 38:9f4107db1bff | 13 | * |
umairaftab | 38:9f4107db1bff | 14 | * OneWireThermometer is distributed in the hope that it will be useful, |
umairaftab | 38:9f4107db1bff | 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
umairaftab | 38:9f4107db1bff | 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
umairaftab | 38:9f4107db1bff | 17 | * GNU General Public License for more details. |
umairaftab | 38:9f4107db1bff | 18 | * |
umairaftab | 38:9f4107db1bff | 19 | * You should have received a copy of the GNU General Public License |
umairaftab | 38:9f4107db1bff | 20 | * along with OneWireThermometer. If not, see <http://www.gnu.org/licenses/>. |
umairaftab | 38:9f4107db1bff | 21 | */ |
umairaftab | 38:9f4107db1bff | 22 | |
umairaftab | 38:9f4107db1bff | 23 | #ifndef SNATCH59_DS18B20_H |
umairaftab | 38:9f4107db1bff | 24 | #define SNATCH59_DS18B20_H |
umairaftab | 38:9f4107db1bff | 25 | |
umairaftab | 38:9f4107db1bff | 26 | #include "OneWireThermometer.h" |
umairaftab | 38:9f4107db1bff | 27 | #include "OneWireDefs.h" |
umairaftab | 38:9f4107db1bff | 28 | |
umairaftab | 38:9f4107db1bff | 29 | class DS18B20 : public OneWireThermometer |
umairaftab | 38:9f4107db1bff | 30 | { |
umairaftab | 38:9f4107db1bff | 31 | public: |
umairaftab | 38:9f4107db1bff | 32 | DS18B20( PinName pin); |
umairaftab | 38:9f4107db1bff | 33 | |
umairaftab | 38:9f4107db1bff | 34 | virtual void setResolution(eResolution resln); |
umairaftab | 38:9f4107db1bff | 35 | |
umairaftab | 38:9f4107db1bff | 36 | protected: |
umairaftab | 38:9f4107db1bff | 37 | virtual float calculateTemperature(BYTE* data); |
umairaftab | 38:9f4107db1bff | 38 | }; |
umairaftab | 38:9f4107db1bff | 39 | |
umairaftab | 38:9f4107db1bff | 40 | |
umairaftab | 38:9f4107db1bff | 41 | #endif |