Arduino Automated Room With POV Display

by Akshat Shankar Bidwai in Circuits > Arduino

818 Views, 4 Favorites, 0 Comments

Arduino Automated Room With POV Display

Working of Automatic Light on off system and POV DISPLAY 🔥🔥🔥
IMG20240602095654[1].jpg

Hi, I'm Akshat, and I've developed an exciting project to automate my room. My project comprises two main components: a sound sensor circuit and a POV display. The sound sensor detects my commands, and when I clap twice, the Arduino activates the relay, turning on the light. Additionally, the Arduino controls a servo motor that acts as a switch, displaying the LED bulb status on the POV display. I've outlined detailed steps so you can easily replicate this project and automate your room too !!!

Supplies

20240514_233601.jpg
20240505_165606.jpg
20240519_115724.jpg
IMG_20240428_210723.jpg
IMG20240526212030.jpg
IMG20240526212002.jpg
IMG20240526213352.jpg
IMG20240530210405.jpg
IMG20240526214224.jpg
images.jpg

FOR SOUND SENOR CIRCUIT

  1. Arduino UNO
  2. Sound Sensor module
  3. 5v Relay module
  4. Servo motor (To control POV)
  5. 2x Battery (one for servo and one for battery)


FOR POV DISPLAY

  1. Arduino Nano
  2. 11 LEDs
  3. 3.7v small battery
  4. Solder Board
  5. IR Sensor Module
  6. Solar Panel (Optional)
  7. 775 DC Motor (You can use any high speed motor)
  8. Speed regulator Module (For DC Motor speed control)
  9. Battery (to power motor)
  10. 11x 1k resistors
  11. Battery to power on DC motor which will rotate POV.

In total you will need 4 batteries !!

SOUND SENSOR CIRCUIT

Screenshot 2024-06-02 133033.png
IMG20240526214423.jpg
IMG-20240602-WA0066[1].jpg
IMG-20240602-WA0069[1].jpg
IMG-20240602-WA0070[1].jpg
IMG-20240602-WA0071[1].jpg

First of all, connect Arduino UNO 5v and GND to bread board to make a common connection for other modules. Connect 5v and GND pin of relay and sound senor to Bread board.

Connect digital pin of relay with pin 4 of Arduino.

Connect Digital pin of sound sensor to pin 9 of Arduino.

Connect Digital pin of Servo to pin 10 of Arduino.


Provide an external power supply to your servo motor, otherwise, it may not work properly. Make sure to connect the GND pin of the Arduino with the external power supply and the servo motor as shown in the image. Connecting the GND pin of the Arduino to the external power supply ensures that the potential difference between the Arduino and the servo is same. Without this connection, the servo will not function.

Follow the provided circuit diagram!

Make sure to make necessary connections with relay and the circuit of your room as shown in the circuit diagram. Take the help of an Electrician because working with 220v can be risky.

Follow the Circuit Diagram Provided !!


CODE:

POV DISPLAY

IMG20240602095628[1].jpg
IMG20240602095654[1].jpg

A persistence of vision (POV) display is a device that uses the human eye's afterimage phenomenon to create a two-dimensional display.  You can create a POV display to show the LED bulb status by following these steps:

Soldering Components

20240430_213833.jpg
20240430_213900.jpg
IMG_20240428_210709.jpg
IMG_20240428_220236.jpg
IMG_20240428_220241.jpg

I have used a total of 11 LEDs for POV Display. 8 LED for displaying text and the remaining for Outline.

Take a solder board and cut into strips. If you strips are short, you can connect two strips together with hot glue to make it longer. After cutting the strips, solder 11 LEDs on the strips. The Shorter leg is cathode(-ve) and longer leg is anode(+ve). Solder cathode of LED with each other to make a common cathode as shown.

Now connect 1k resistors to the anode of LEDs.

I have a connected the first 2 LEDs and the last LED together by making the anode common for Outline of POV Display. I have done this because I wanted them to remain on all the time.

Make the Foundation

20240515_094417.jpg
20240514_234434.jpg
IMG20240526211307.jpg
IMG20240526211455.jpg

Make a hole in the center of the strip. This hole will be used to attach the motor to the strip. Take a gear that fits on the shaft of the motor and make a hole in it so that a screw can go through it. Attach the gear to the strips with hot glue. Insert the screw through the hole of the strip and the gear. Ensure the screw is tight to prevent it from breaking off while spinning.

Connections

20240515_093612.jpg
IMG20240526211237.jpg
IMG20240526211243.jpg
IMG20240526211307.jpg
IMG20240526211317.jpg
IMG20240526211332.jpg
IMG20240601114609.jpg
Screenshot 2024-06-02 163907.jpg

You can solder the Arduino header pin onto the solder board or attach the Arduino Nano to the solder board with hot glue. Using hot glue is recommended because it is more convenient and saves time on soldering the Arduino onto the solder board strips.

Attach the IR module and 3.7V Li-OH battery to the strip. Ensure that one side has the LEDs and the other side has the Arduino, IR module, and battery.

Note: Make sure both sides of the arm have equal weight (equilibrium). You should be able to balance your strip at the point where you will connect the motor. Otherwise, the motor will become jerky and vibrate vigorously, which can damage the strip containing the Arduino.


Connect the Components to Arduino Nano as follow:

led1 - pin 2

led2 - pin 3

led3 - pin 4

led4 - pin 5

led5 - pin 6

led6 - pin 7

led7 - pin 8

led8 - pin 9

IR Module - pin 10

Cathode of LEDs - GND of Arduino

Anode

Follow the circuit diagram for details.

Now upload the CODE:

Downloads

Body of POV

20240526_234204.jpg
20240527_001519.jpg
20240527_002815.jpg
IMG_20240527_105111.jpg
IMG_20240527_105119.jpg
IMG_20240527_105128.jpg
IMG_20240527_105143.jpg
IMG_20240527_105148.jpg
IMG_20240527_105155.jpg
IMG_20240527_110458.jpg
IMG_20240527_110505.jpg
IMG_20240527_111313.jpg
IMG_20240527_111541.jpg
IMG_20240527_111559.jpg
IMG20240530211850.jpg
IMG20240530211858.jpg
IMG20240602165926[1].jpg

Make a simple stand-like body for the POV display. Cut two strips of MDF board to the desired length. Attach the strips to the motor to create a structure as shown in the images above.

Use jute rope to tie the MDF board strips tightly so that they are held firmly. Take a cardboard box and fill it with thermocol. Add weights to the box to make it stable. Use a cutter to cut the box and insert the strips.


After that Paste Black Tape at the point where the IR module is sensing obstacle.

At last connect the D.C. Motor to the speed regulator to control speed of motor.

I have also added a solar panel on the POV Display so that I can charge my battery from it. If you want you can skip this part.

Final Arrangements

IMG20240602165943[1].jpg
IMG20240602165947[1].jpg
IMG20240602170028[1].jpg
Setup of Automatic light on off system with POV DISPLAY!!! 🔥🔥🔥

Attach the servo motor from the sound sensor circuit with a piece of cardboard. Place the servo in such a way that when claps are detected and the lights are on, the servo will rotate the hand away from the POV display and no message will be shown. When the lights are off, the servo will rotate the hand towards the POV Display. The IR module will sense the hand, and a message of "LIGHT OFF" will be displayed on the POV display.

(NOTE : If you found that lights are turning on without clapping then decrease the sensitivity of sound sensor by turning the potentiometer counter clockwise on the sound sensor.

If you found that lights are not turning on after clapping then increase the sensitivity of sound sensor by turning the potentiometer clockwise on the sound sensor)


If you found that the circuit is running opposite, i.e., POV displays a message of "LIGHT OFF" when light is actually on, try to correct the position of the servo with respect to POV Display.

Final Results

Working of Automatic Light on off system and POV DISPLAY 🔥🔥🔥

To start the circuit connect the battery to the POV. Then, connect another Battery to the DC Motor via a speed regulator. Adjust the speed of the POV. Connect the Battery to Sound sensor circuit. Don't forget to give your Servo motor external power supply as discussed earlier !! You are ready to run the circuit.


I hope that you will find this project interesting and will try to make one for your room.

I wish you all the best for making this project.

Thank you :)