Digital Compost

13

Click here to load reader

Transcript of Digital Compost

Page 1: Digital Compost

Let’s interact

with Daily Dump

Page 2: Digital Compost

CONTENTS

32

4

1Know ur daily dump

What do you need?

Connecting temp sensor.

Getting started with arduino

1-2

3-4

5-6

7-8

PREFACE

This book is about interaction- Interaction with compost, with the help of different Tools of tech-

nology. It is intended as an aid to teaching for beginners. Simple steps are shown along with

photographs.

2

Page 3: Digital Compost

76

8

5Effect of temperature and moisture on com-

post activity

Connecting tempera-ture sensor

Connecting Compost to your

Working with both-temperature sensor and humidity sensor.

1-2

3-4

5-6

7-8

Page 4: Digital Compost

Kno

w y

our

daily

Dum

phello friends,I am daily dumpI am used to manage your medium vol-umes of kitchen and garden waste without taking much space in your home. This happens because of a process called composting. I con-vert organic home waste into compost easily.

Compost is made by billions of microbes (fungi, bacteria, etc.) that digest garden and kitchen wastes that you provide them. If the pile is cool enough, worms, insects and their relatives will help out the microbes. However, like people, these living things need air, water and food. If you maintain your pile to provide for their needs, they’ll happily turn your garden and kitchen wastes into compost much more quickly.

How compost is made?

Many things happens inside me while composting. While composting my Temp, moisture, Ph value changes. This has an effect on compost activity but you cannot observe these changes. do you want to know these changes and man-age your home waste Quickly and effec-tively? I will show you how to do this. you can build your own digi- compost which can talk to you and speak what is happening inside. this involves simple steps to do and you need some things for this. in next chapter we will discuss what things are required.

Page 5: Digital Compost

Getting started with Arduino

Arduino is a microcontroller a device which connects your computer to the outer world. we can create a programme on computer using the arduino programming language.

where can I get ar-

duino board and how

can i use arduino pro-

gramming language?

Wha

t do

you

need

?

USB CORD

TEMPERATURE SENSOR LM-35

WIRES

ARDUINO BOARD BREADBOARD

COMPUTER

Moisture Sensor

Page 6: Digital Compost

Con

nect

ing

Ard

uino

to

your

com

pute

rFollowing are the steps to connect ar-duino board to computer:- 1. Get an Arduino board and cable 2. Download the Arduino environment 3. Install the USB drivers 4. Connect the board

After you have connected the board go to the arduino folders and double click ar-duino.

Arduino board

USB plug

Arduino work space look like this :-

//Write your code here

Page 7: Digital Compost

Con

nect

ing

tem

pera

ture

se

nsor

In this chapter we will see how to connect temperature sensor to your computer using arduino board. This circuit will send serial information about the tem-perature so you can use on your computer, change the code as you will.

Temperature sensor LM35

Assembling:This is a quick and simple step. Just connect the 5V out-put from arduino to the 1st pin of the sensor, ground the 3rd pin and the 2nd one, you connect to the 0 Analog Input.

5V (+Vs )

0 Anal input(Vout)

Ground(Gnd)

Page 8: Digital Compost

Working with both temper-ature sensor and humidity

sensor.

Moisture sensor

0 Anal input(Vout)

Ground(Gnd)

Moisture is an important factor in the process of composting. Ideally, your pile should be as moist as a wrung-out sponge to fit the needs of compost microbes. This means that there is a thin film of water coating ev-ery particle in the pile, mak-ing it very easy for microbes to disperse themselves

To detect moisture content in daily dump, moisture sensor is used. It is a small device having two electrodes. Con-nect one to 0 analog input and other to ground as shown in figure.

Moisture sensor and temperature sensor are connected to bread board. A series of wires are used to connect them to arduino.

Yellow green and red wires are connecting temperature sensor to 5V output, 0 Analog Input and to the ground respectively. Blue and black wires are connecting moisture sensor to ground and 0 analog input.

Page 9: Digital Compost

Plac

ing

sens

ors i

nsid

e D

ump.

Once your whole cir-cuit is completed next step is to place the sen-sors inside daily dump.Open the lid and in-sert bread board with moisture sensor and temperature sensor attached into it.

Effect of temperature and moisture content on com-posting

Temp is the key parameter determining success of • composting

Heat production depends on• size of pile its moisture content Aeration C/N ratio

40 to 50 degrees is considered ideal for composting.•

Temp is directly proportinal to composting .•

Drier compost mixture tend to heat up and cool off • more quickly than wetter mixtures

There should not be too much or too less moisture in • the pile.

Page 10: Digital Compost

Here is your daily dump of type khamba. It has three units.Temperature and moisture content also depends on several other factors like weath-er, aeration and Carbon nitrogen ratio.Also it varies according to time.

To check whats happen-ing inside daily dump you have to keep two sensors inside the pile. Open the top lid of dump.

Here in this picture the pile inside the dump looks dry. Temperature and moisture content may rise or fall after sometime

Page 11: Digital Compost

Write the following code in arduino work-space:-/*An open-source LM35DZ Temperature Sensor for Arduino. This project will be enhanced on a regular basis(cc) by Daniel Spillere Andrade , http://www.danielandrade.nethttp://creativecommons.org/license/cc-gpl*/

int pin = 5; // analog pinint putPin = 3; // humidityint tempc = 0,tempf=0; // temperature variablesint samples[8]; // variables to make a better precisionint maxi = -100,mini = 100; // to start max/min temperatureint i;

float humi = 0;float prehum = 0;float humconst = 0;float truehum = 0;float pretruehum = 0; long pretruehumconst = 0; long valb = 0;

void setup(){ Serial.begin(9600); // start serial communication}void loop()

Keep bread board inside the container of he daily dump

Connect the arduino board with your computer.

Page 12: Digital Compost

{

for(i = 0;i<=7;i++){ // gets 8 samples of temperature

samples[i] = ( 5 * analogRead(pin) * 100) / 1024; tempc = tempc + samples[i]; delay(10000);}

tempc = tempc/8; // better precision//tempf = (tempc * 9)/ 5 + 32; // converts to fahrenheit

if(tempc > maxi) {maxi = tempc;} // set max temperatureif(tempc < mini) {mini = tempc;} // set min temperature

valb = analogRead(putPin); // humidity calculationprehum = (valb/5);humconst = (0.16/0.0062);humi = prehum - humconst;pretruehumconst = 0.00216*tempc;pretruehum = 1.0546-pretruehumconst;truehum = humi/pretruehum ;delay(10000);

Serial.print(tempc,DEC);Serial.print(“ Celsius, “);

Serial.print(maxi,DEC);Serial.print(“Max”);Serial.print(mini,DEC);Serial.println(“Min”);Serial.print (“Humidity: “);Serial.print ((long)truehum);Serial.println (“% “);

tempc = 0;

delay(10000); // delay before loop}

Click on Upload the I/O board.

All the readings will be displyed on console as shown.

screen will show temp and moisture of compost after every twenty minutes.

Page 13: Digital Compost

Temperature and humidity readings are shown on con-sole of arduino workspace