The Inspiration
This week we will make a smart device that perform a certain function, program Arduino UNO to read signals from multiple input components to control multiple action components using Arduino C (Text Code).
so I decided to make a demo of my final project (Kinetic pavilion or Kinetic architecture is a concept through which buildings are designed to allow parts of the structure to move, without reducing overall structural integrity).
We used The open-source Arduino Software (IDE) to write code and upload it to the board.
We used cardboard to assemble my device's components.
We used the Arduino UNO board to control the input and output.
USB 2.0 Printer Cable - A-Male to B-Male Cord
We used a USB 2.0 Printer Cable - A-Male to B-Male Cord as a voltage source.
DC adapter (5v output)
We used DC adapter (5v output) to improve the power in Arduino uno.
We used Servo Motor Micro to control the movement of pavilion.
We used IR Sensor to detect motions.
The rotray potentiometer allows us to control the shaft at angles between 0 and 180 degrees.
Resistors to reduce current flow to potentiometer.
We used MM wires to connect the circuit.
The function of The Pavilion is a flexible architectural open space that invites people to come in and spend time in it. so the place should be shaded to be comfortable.
screenshot of wiring digram
The device has two modes:
In manual mode: you can control the servo using potentiometer.
In Seating mode: Ir sensor detective the person so the servo move.
Screenshot 1
Screenshot 2
When I used the Servo motor with potentiometer, the servo motor shook while turning.
So I asked my instructor in the lab and he told me to add a resistor to reduce current flow to potentiometer and its work.
Servo motor
the final result
I will use an IR sensor and Servo motor to control my pavilion.
This week we built a smart home system.
smart home wiring