-
Notifications
You must be signed in to change notification settings - Fork 6
Compost Tea Brewer
James edited this page Aug 2, 2017
·
13 revisions
This is the project page for the compost tea brewer.
Code from old tea brewer/worm bin monitor sketch:
// PINS: A0=TEMT6000, A1=Sharp, D2=worm-bin-innter-DHT11, D3=outer-DHT11, D4=brew-tank-DS, D5=worm-bin-DS, D6=heat-mat-relay1, D7=immersion-heater-relay2, D8=brew-pump-relay3, D9=airstone-pump-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