Arresio_Eneppe
Published © LGPL

Zygomycetes Killer

Anti-mold device that spot the humidity point and eliminate it.

IntermediateFull instructions provided599
Zygomycetes Killer

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
9V battery (generic)
9V battery (generic)
×1
Rotary Potentiometer, 10 kohm
Rotary Potentiometer, 10 kohm
×1
Alphanumeric LCD, 16 x 2
Alphanumeric LCD, 16 x 2
×1
DHT11 Temperature & Humidity Sensor (3 pins)
DHT11 Temperature & Humidity Sensor (3 pins)
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Relay Module (Generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Laser cutter (generic)
Laser cutter (generic)
Soldering iron (generic)
Soldering iron (generic)
Multitool, Screwdriver
Multitool, Screwdriver

Story

Read more

Custom parts and enclosures

laser cutted structure

Schematics

electrical diagram

the heater has been modified in a electric motor powered with 24V DC, and
it is powered by a trasformers 220v DC to 24v DC

Code

listato_antimuffa

Arduino
#include <DHT.h>                              //we have included the dht library 
#include <Servo.h>                            //we have included the servo library
#include <LiquidCrystal.h>                    //we have included the LCD library
#define DHTPIN 8                              //the dht sensor is connected to the pin 8
#define DHTTYPE DHT11                         //we have defined that the temperature and humidity sensor is a dht11
#define relay 0                               //the relay is connected to the pin 0
Servo servo1;                                 //the servo motor is nominated "servo1"
DHT dht(DHTPIN, DHTTYPE);                     // Initialize DHT sensor.
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);        //display connection(pin)
int pos = 0;                                  //variable integer called 'pos', it means the variable of the servo position 
void setup() {                                
lcd.begin(16, 2);                             //set the type of display (columns, rows)
lcd.print("Temperatura");                     //write "temperatura" on the LCD
lcd.setCursor(0,1);                           //set cursor on column 0 and row 1
lcd.print("Umidita'");                        //write "umidita'" on the LCD
pinMode(relay , OUTPUT);                      //set that the relay is an output
servo1.attach (6);                            //servo is attached on the pin 6
}
void loop() {
int t = dht.readTemperature();                //dht read the temperature and memorize it
int h = dht.readHumidity();                   //dht read the humidity and memorize it
lcd.setCursor(14, 0);                         //set cursor on column 14 and row 0
lcd.print(t);                                 //write the temperature on the LCD
lcd.setCursor(14, 1);                         //set cursor on column 14 and row 1
lcd.print(h);                                 //write the humidity on the LCD
if (h>65) {                                   //if humidity is above 65%
digitalWrite (relay, HIGH);                   //turn the RELAY on
 delay (500);                                 //wait 500 milliseconds
 for(pos = 0; pos < 180; pos += 1)            //set a cycle with values ranging to 0 to 180 (degrees of our servo)
  {                                  
     servo1.write(pos);                       // the servo will gradually move from its 0  position to the 180  position 
                                     
     delay(15);                               //sets a delay of 15 milliseconds for eache FOR cylce(The higher the delay the slower the servo will be)
  } 
  for(pos = 180; pos>=1; pos-=1)              //in this case, set a cycle with values ranging from 180 to 0
  {                                
     servo1.write(pos);               
    delay(15);                        
  } 
}
else {
digitalWrite (relay, LOW);                    //turn the RELAY off
 delay (500);                                 //wait 500 milliseconds
}}

Credits

Arresio_Eneppe
1 project • 1 follower

Comments