Hair Dryer Reminder

Often people forgot to close their hairdryer, cause problems like wire escape, so to prevent fire from breaking out, today we are going to make a hair dryer reminder, using Arduino Leonardo.
Step 1: Material

For this project, you will need to prepare the following:
x1 Unify knife
x1 ruler in cm
x1 a transparent paper 4.2 x 9 cm
x1 shoebox (any) 31.5 long 17 wide 11 height
Arduino Materials
Arduino Leonardo x1
x 10 wires (any color)
x 1 thermistor
x2 resistor 100 ohm
x1 resistor 10k ohm
x1 resistor
x1 red LED
x1 blue LED
Step 2 : Connecting to Arduino


Black wire: negative ---> GND
Red Wire: positive ---> 5v
Blue Wire: positive ---> 5j
White Wire: 6j ---> A0
Green Wire: j19---> 12
Orange Wire: j24 ---> negative
Pink 1 Wire: j26 ----> ~11
Pink 2 Wire: j30 ---> negative
1 LED connects to g19 20
2 LED connects to g26 27
Brown Resistor 1 connects to i20 24
Brown Resistor 2 connects to i27 30
Blue resistor connects to i6 10
Step 3: Start Coding

void setup(){ // put your setup code here, to run once:
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps pinMode( 12 , OUTPUT); // sets the digital pin as output pinMode( 11 , OUTPUT); // sets the digital pin as output }
void loop(){ // put your main code here, to run repeatedly: Serial.print(analogRead( A0 )); //print message Serial.print(" "); //print a blank Serial.println(); delay( 20 ); // waits a few milliseconds if ( analogRead( A0 ) > 670 ) { digitalWrite( 12 , LOW ); // sets the digital pin on/off digitalWrite( 11 , HIGH ); // sets the digital pin on/off } if ( analogRead( A0 ) < 665 ) { digitalWrite( 12 , HIGH ); // sets the digital pin on/off digitalWrite( 11 , LOW ); // sets the digital pin on/off } }
Downloads
Step 4: Shoe Box


Cut a 5.5 radius circle anywhere on the box with the unify knife. (But do not cut it completely, leave it where you can open it)
Then cut another rectangle 4.5 x 9 cm, and cut the same size of transparent paper.
Step 5: FINSIH!

https://youtu.be/pkGFnAIJ8Hk-----> Youtube Link