Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Arnov Sharma
Published © GPL3+

"UVC Box" a DIY UV Sterilizer

A low cost easy to re-make UVC Sterilizer for sterilizing medical equipment and stuff.

BeginnerFull instructions provided4 hours11,105
"UVC Box" a DIY UV Sterilizer

Things used in this project

Hardware components

Microchip attiny84
×1
uvc leds
×10
Arduino Nano R3
Arduino Nano R3
for programming Attiny84
×1
UTSOURCE Electronic Parts
UTSOURCE Electronic Parts
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
ferric chloride

Story

Read more

Custom parts and enclosures

Encloser STL FILE

Schematics

PCB for etching

SCH

Code

CODE

C/C++
const int buttonPin = 0;    //7 arduino pin
const int UVPin =  5;     //13 arduino pin

int pinsCount=5;                        
int pins[] = {10,9,8,7,6};   //2,3,4,5,6 arduino pin

int buttonState = 0;        

void setup() {
  pinMode(UVPin, OUTPUT);
  pinMode(buttonPin, INPUT_PULLUP);

  for (int i=0; i<pinsCount; i=i+1){    
   pinMode(pins[i], OUTPUT); 
  }

  for (int i=0; i<pinsCount; i=i+1){    
    digitalWrite(pins[i], HIGH);         
    delay(1000);                          
    digitalWrite(pins[i], LOW);          
  }
}

void loop() {
  buttonState = digitalRead(buttonPin);
if (buttonState == LOW) {
    digitalWrite(UVPin, HIGH);
    delay(600000);
    digitalWrite(UVPin, LOW);
  } else {
  }
}

Credits

Arnov Sharma

Arnov Sharma

310 projects • 311 followers
Just your average MAKER

Comments