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

buzzer/buzz.cpp

Committer:
umairaftab
Date:
2014-04-14
Revision:
57:7ab93ed49b70
Parent:
7:1d691f81d455

File content as of revision 57:7ab93ed49b70:

#include "mbed.h"
                                //set timer 1ms
int beep_delay;
DigitalOut myled(PTE5);
void timer1(void)        //interrupt every 1ms
{
    beep_delay=beep_delay-1;
}
void beep(float freq,int time)
{

    beep_delay=time;

    do {
        myled = 1;
        wait(freq);
        myled = 0;
        wait(freq);
    } while(beep_delay!=0);
}