Toilet Sign

by sophie1357 in Circuits > Arduino

302 Views, 1 Favorites, 0 Comments

Toilet Sign

IMG_2435.JPG
IMG_2443.jpg
IMG_2442.jpg

It is a equipment that can help people know is there people inside the bathroom.

What You Have to Prepare?

IMG_2385.JPG
IMG_2382.JPG
IMG_2377.JPG

Arduino:

Arduino Uno, Breadboard, Switch

Resistors(5) [ Yellow (3) Blue (2) ]

Connecting wires(17)

Red LED (9)

Push Button (2)

(Buy from school)

Outward appearance:

Paper, Box, Pencil, Eraser, Scissor, Ruler, Think rope, hook

(buy from Taiwan stationary store

address: No. 616, Beian Road, Zhongshan District, Taipei, Taiwan)

Arduino this program:

ArduBlock

螢幕快照 2019-12-17 下午8.53.59.png
螢幕快照 2019-12-17 下午8.54.24.png

How to put the ArduBlock?

This is the link of ArduBlock I use. You can get the same website. Download the Arduino
www.DavidHuangLab.com

It is the picture of how to put

In step 7 there is a video that clearly show how to put it.

Breadboard

螢幕快照 2019-12-16 下午2.19.19.png
IMG_2374.JPG
IMG_2366.JPG
IMG_2369.JPG
IMG_2371.JPG

How to put the Breadboard?

The website that I use for my breadboard electronic file:

https://www.tinkercad.com/dashboard

Outward Appearance

IMG_2395.PNG
IMG_2397.PNG
IMG_2399.PNG
IMG_2400.PNG
IMG_2444.jpg
IMG_2445.jpg
IMG_2446.jpg
IMG_2447.jpg
IMG_2448.jpg
IMG_2449.jpg

It is all the picture that show the step

In Step 7 there is a video that clearly shows all the steps go together.

I am using a box to cover the breadboard. Than, using paper to cover on the sign.

The LED lights can change when you are choosing to use on girls toilet or boys toilet.

The red LED lights mean girls

The blue LED lights mean boys

Step to Follow

It is a equipment that using in bathroom or public toilet.

Sometimes we can't know is there people inside. Either when the door is close.

When we go inside the bathroom we can press the bottom.

The LED light will be open. The people in outside can know there is people inside.

When you finish. You can press the bottom again. The light will be close.

Another people can use it again.

It can be use over again and again. It will help more people.

Run a Program

Programing code:

https://create.arduino.cc/editor/Sophie1357/cfbd72...

void setup(){ // put your setup code here, to run once:

pinMode( 13 , OUTPUT); // sets the digital pin as output

pinMode( 12 , OUTPUT); // sets the digital pin as output

pinMode( 11 , OUTPUT); // sets the digital pin as output

pinMode( 3 , INPUT); // sets the digital pin as input

pinMode( 2 , INPUT); // sets the digital pin as input

digitalWrite( 13 , LOW ); // sets the digital pin on/off

digitalWrite( 12 , LOW ); // sets the digital pin on/off

digitalWrite( 11 , LOW ); // sets the digital pin on/off

}

void loop(){ // put your main code here, to run repeatedly:

if (digitalRead( 3 )) {

digitalWrite( 13 , HIGH ); // sets the digital pin on/off

digitalWrite( 12 , HIGH ); // sets the digital pin on/off

digitalWrite( 11 , HIGH ); // sets the digital pin on/off

}

if (digitalRead( 2 )) {

digitalWrite( 13 , LOW ); // sets the digital pin on/off

digitalWrite( 12 , LOW ); // sets the digital pin on/off

digitalWrite( 11 , LOW ); // sets the digital pin on/off

}

}

The website that I use to make the electronic file is:

https://www.arduino.cc

How It Works

IMG_2440.JPG
IMG_2441.JPG
IMG_2432.jpg
IMG_2433.jpg

The picture show how the light change

In the video shows the clearly making progress, step and how it runs

please click here