Skip to content

Compost Tea Brewer

James edited this page Aug 3, 2017 · 13 revisions

This is the project page for the compost tea brewer.

Code from old tea brewer/worm bin monitor arduino sketch:

/* PINS: 
// A0=TEMT6000
// A1=Sharp
// D2=inner-DHT11
// D3=outer-DHT11
// D4=brew-tank-DS
// D5=worm-bin-DS
// D6=heater-relay1
// D7=airlift-relay2
// D8=aerator-relay3
// D9=output-relay4
*/


//#include <dht11.h>
//#define DHT1_PIN 2                  //inner (bottom bin) DHT
//#define DHT2_PIN 3                  //outer (ambient air) DHT


#include <OneWire.h>
#define DS1_PIN 4                   //brewer tank DS (water temp)
//#define DS2_PIN 5                   //worm bin DS


//#define ambi1_PIN A0                //TEMT6000 sensor
//#define ambi2_PIN A1                //Sharp sensor


#define relay1_PIN 6                //relay for water heater
#define relay2_PIN 7                //relay for primary airlift pump
#define relay3_PIN 8                //relay for secondary air pump
#define relay4_PIN 9                //relay for output/sensor/recirc pump