Peter MaSarah HanEthan Fan
Created April 25, 2020 © LGPL

Hygieia

Low cost H2O2 sterilizer aiming to disinfect items for COVID19 #COVID19DetectProtect #EUvsVirus

BeginnerFull instructions providedOver 1 day381
Hygieia

Things used in this project

Hardware components

Arduino Zero
Arduino Zero
×1
DFRobot Arduino Shield
×1
Gravity:Digital Push Button (Yellow)
DFRobot Gravity:Digital Push Button (Yellow)
×1
DFRobot Gravity LED Module
×1
I2C 16x2 Arduino LCD Display Module
DFRobot I2C 16x2 Arduino LCD Display Module
×1
Seeed Studio Seeed Grove - Water Atomization v1.0
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Schematic

Hardware Schematic to follow

Code

Hygieia Arduino Code

Arduino
Hygieia Arduino Code
#include <Wire.h>
#include "rgb_lcd.h"


rgb_lcd lcd;


int ledPin = 7;                // LED is 7
int inputPin = 6;               // Button is 6
int vaporizer = 8;                // Vaporizer is 8

bool pressed = false;
int count = 0;

void setup() {
  pinMode(ledPin, OUTPUT);      // declare LED as output
  pinMode(inputPin, INPUT);     // declare pushbutton as input
  pinMode(vaporizer, OUTPUT);      // declare LED as output
      // set up the LCD's number of columns and rows:
    lcd.begin(16, 2);
          lcd.setRGB(0, 0, 0);

    // Print a message to the LCD.
    lcd.print("Ready      ");
        lcd.setCursor(0, 1);

    lcd.print("              ");


}

void loop(){

  int val = digitalRead(inputPin);  // read input value
  if (val == HIGH) {   
    pressed = true; // check if the input is HIGH
  }
  
  if(pressed == true){

    digitalWrite(ledPin, HIGH); // turn LED ON
    digitalWrite(vaporizer, HIGH); // turn LED ON
    count += 1;
    lcd.setCursor(0, 0);
    lcd.print("Steralizing");
  }
  else
  {
        lcd.setCursor(0, 0);

    lcd.print("Ready      ");
      
      digitalWrite(ledPin, LOW);  // turn LED OFF
      digitalWrite(vaporizer, LOW); // turn LED ON
  }

  if(count > 900)
  {
    count = 0;
    pressed = false;
  }
  delay(1000);
}

Credits

Peter Ma

Peter Ma

49 projects • 393 followers
Prototype Hacker, Hackathon Goer, World Traveler, Ecological balancer, integrationist, technologist, futurist.
Sarah Han

Sarah Han

13 projects • 79 followers
Software Engineer, Design, 3D
Ethan Fan

Ethan Fan

9 projects • 36 followers
Mobile, Watch, and Glass Developer

Comments