-
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-DHT, D3=outer-DHT, D4=worm-bin-DS, D5=brew-tank-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 //worm bin DS
#define DS2_PIN 5 //brewer tank DS
#define ambi1_PIN A0 //TEMT6000 sensor
#define ambi2_PIN A1 //Sharp sensor
#define relay1_PIN 6 //relay for heat mat under worm bins
#define relay2_PIN 7 //relay for worm tea brewing immersion heater
#define relay3_PIN 8 //relay for main tea brewing air pump
#define relay4_PIN 9 //relay for nighttime airstone-pump