Introduction: REMINDER BOXY

THIS ISN"T A NORMAL BOX.

Step 1: Introduction:

This is not a normal box. REMINDER BOXY is a box that can remind you when your things is too many, it’s time for cleaning. There are 2 different sound and distance: The first sound shows up when things are 10cm long to the top, with a beep for every 1 second. The second sound shows up when things are 5cm long to the top, with two different sound for every 0.5 second.

Step 2: LIST OF THE MATERIAL:

STEP 2.1 Arduino:

- Arduino board (suggest: Arduino Leonardo, but Arduino UNO is fine)

- Breadboard

- Speaker

- Ultrasonic sensor (suggest: HC-SR04)

- LCD board (12C)

- Power bank and USB

- Jumper wires (12 are enough)

STEP 2.2 Box:

- Empty box

- Painting tools (decorate the box)

- Paper board (to make a cover for arduino)

- Box cutter

Step 3: HOW TO MAKE IT/ Arduino:

Step 4: HOW TO MAKE IT/ Box:

1. Find a empty box, decorate it if you want.

2. Use box cutter to cut the hole for ultrasonic sensor on the top of the box (* make sure the position is accurate)

3: Cut a whole for ultrasonic sensor’s jumper wire on the side of the box (* a small whole is okay)

Step 5: Box COVER:

4. Put the arduino board inside the box

5. Use paper board to make a small cover for the arduino board

6. Cut a whole on the side of the paper board (* make sure jumper wires can go through it)

7. Combine the cover and arduino board (* make sure you cover arduino)

Step 6: FINAL STEP of the Box:

8. Use power bank and USB to connect arduino

9. Finish! Now you can put things! (* the cover can also put things on it)

Step 7: CODE:

<p>#include <Wire.h><br>#include <LiquidCrystal_I2C.h>

#define trigPin 10
#define echoPin 12
LiquidCrystal_I2C lcd_I2C_27(0x27,16,2);
void setup() {
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
}
void loop() {
float duration, distance;
digitalWrite(trigPin, LOW); 
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = (duration / 2) * 0.0344;
if (distance >= 400 || distance <= 2){
lcd_I2C_27.print("Out of range");
delay(250);
}
if (distance <= 5){ //5cm distance, will shows up 2 different sound for every 0.5 sec
tone(13, 800.0, 100.0);
delay (50);
tone(13, 650.0, 100.0);
delay (50);
tone(13, 500.0, 100.0);
delay (50);
}else if(distance <= 10){ //10cm distance, will shows up a beep for every 1 sec
tone(13, 330.0, 100.0); delay (1000); } else { lcd_I2C_27.print(distance); lcd_I2C_27.print(" cm"); delay(250); } delay(250); lcd_I2C_27.clear(); }</p>

Step 8: TEST IT!

IoT Challenge

Participated in the
IoT Challenge