Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller...
-
Upload
faqih-fadhila-ardiansyah -
Category
Engineering
-
view
141 -
download
1
Transcript of Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller...
![Page 1: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/1.jpg)
Porte à puceSM ART S AFETY DOOR WITH SERVO M OTORS AS ACTUATORS , PASSCODE AND DHT SENSORS
BASED ON M ICROCONTROLLER ARDU INO UNO R3
![Page 2: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/2.jpg)
Presented by group 6 Faqih Fadilla Ardiansyah (151611009)
Indri Meilani (151611)
Meifani (151611)
Ziddan Dea Kudrat (151611031)
From Refrigeration and Air Conditioning DepartmentPOLITEKNIK NEGERI BANDUNG
©2016
![Page 3: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/3.jpg)
SUPERVISOR : Mr. Muhammad Arman, S.T., M.Eng., S.PsiINSTRUMENTATIONS LECTURERS :
Mr. C. Bambang Kuncoro S.T., M.T.Mr. Eddi Erham, S.T., M.Eng.Mr. Ismail Welid, M.T.Mr. Ari Sujanto, S.T., M.T.
![Page 4: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/4.jpg)
![Page 5: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/5.jpg)
wiring of porte à puce
![Page 6: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/6.jpg)
![Page 7: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/7.jpg)
Photos Of Prototype Porte a Puce
![Page 8: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/8.jpg)
Design of Prototype Porte a Puce
![Page 9: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/9.jpg)
Open and Close The Door
![Page 10: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/10.jpg)
RH and Tdb Monitoring
![Page 11: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/11.jpg)
What the Purpose of the project?
As the Final Project to complete the requirement of Instrumentation Subject
As the geat step and lessons to improve hard skills and softskills
To apply the knowledge in instrumentation that have acquired during the lectures in class
![Page 12: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/12.jpg)
Where we found the Source of an ideas?
http://www.instructables.com/id/Arduino-door-lock-with-password/
http://www.open-electronics.org/arduino-door-lock-using-4x4-keypad-and-servo-motor/
http://belajarduino.blogspot.co.id/2014/07/sistem-pembuka-pintu-menggunakan.html
http://www.harisprasetyo.web.id/2015/10/membuat-sistem-keamanan-rumah-berbasis.html
http://at-moproduction.blogspot.co.id/2016/09/cara-membuat-password-menggunakan.html
![Page 13: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/13.jpg)
Description Porte à Puce is derived from the french words /Porte/ meaning /door/ and /puce/ meaning
/chip = the incredibly complex yet tiny modules that store computer memory or provide logic circuitry for microprocessors/.
So, Porte à Puce defined as the smart door with various useful fuction in simple circuit display.
The following spesification of Porte à Puce :
1. Security door with passcode and buzzer security alarm (To open the door password required, if the password is wrong, buzzer will on )
2. Monitoring RH and Tdb (RH and Tdb value will display on LCD 16 x 2)
3. Control Tdb (when the value Tdb reach the setpoint the door will open automaticaly to exhaust heat from the room)
![Page 14: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/14.jpg)
Schedule of execution
![Page 15: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/15.jpg)
![Page 16: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/16.jpg)
Working principles of porte à puce
Option Menu
A = Option for enter the passcode to open PORTE A PUCE
B = Option for display the relative Humidity of the room inside
C = Option for display the dry bulb temperature of the room inside
D = Option to close the door
* = Option to process after enter the passcode
# = Option to reset the previous pascode that had been entered
![Page 17: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/17.jpg)
Working principles of porte à puce
FLOWCHART
![Page 18: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/18.jpg)
What are main materials and tools needed to build Porte à puce?
Arduino UNO R3 as microcontrollerServo motor as an actuatorsI2C LCDHex Keypad 4x4 for ArduinoDHT SensorsRed and Green (or White) LED for Arduino as an indicatorsSome types of wiresContactorBread BoardProject BoardPC to upload the program to arduino and also could used as Power SupplyAnother support components and materials for prototype building design
![Page 19: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/19.jpg)
Arduino uno r3Features:
ATmega328 microcontrollerInput voltage - 7-12V14 Digital I/O Pins (6 PWM outputs)6 Analog Inputs32k Flash Memory16Mhz Clock Speed
![Page 20: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/20.jpg)
lcd 16 x2
Dimensions: PCB: 20mm x 35mm (0.8" x 1.4") Display area: 7mm x 25mm Thickness: 4mm
![Page 21: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/21.jpg)
I2c lcdFeatures :
Diagonal Screen Size: 0.91"
Number of Pixels: 128 × 32
Color Depth:Monochrome (White)
Module Construction: COG
Module Size (mm): 46.30× 11.50 × 1.45
Panel Size (mm): 30.00 × 11.50 × 1.45
Active Area (mm): 22.384 × 5.584
Pixel Pitch (mm): 0.175 × 0.175
Pixel Size (mm): 0.159 × 0.159
Duty: 1/32
Brightness ( cd/m2): 150 (Typ) @ 7.25V
Interface: I2C
![Page 22: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/22.jpg)
Servo MotorsServo motors have three wires: power, ground, and signal. The power wire is typically red, and should be connected to the 5V pin on the Arduino board. The ground wire is typically black or brown and should be connected to a ground pin on the Arduino board. The signal pin is typically yellow, orange or white and should be connected to a digital pin on the Arduino board. Note that servos draw considerable power, so if you need to drive more than one or two, you'll probably need to power them from a separate supply (i.e. not the +5V pin on your Arduino). Be sure to connect the grounds of the Arduino and external power supply together.
![Page 23: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/23.jpg)
Dht11 sensorsspesification :Ultra low cost3 to 5V power and I/O2.5mA max current use during conversion (while requesting data)Good for 20-80% humidity readings with 5% accuracyGood for 0-50°C temperature readings ±2°C accuracyNo more than 1 Hz sampling rate (once every second)Body size 15.5mm x 12mm x 5.5mm4 pins with 0.1" spacing
![Page 24: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/24.jpg)
Hex Keypad 4x4 Hex key pad is simply an arrangement 0f 16 push button switches in a 4X4 matrix form. Typically a hex keypad will have keys for number 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and letters A, B, C, D, *, #. The hex keypad will have 8 connection wires namely R1, R2, R3, R4 and C1, C2, C3, C4 representing the rows and columns respectively. The schematic diagram and photo of a typical hex keypad is shown in the figure.
The program identifies the pressed key by a method called column scanning. In this method a particular row is kept low and other rows are held high. The the logic status of each column line is scanned. If a particular column is found low, then that means the key that comes in between that column and row is short(pressed). Then the program registers that key being pressed. Then the same procedure is applied for the subsequent rows and the entire process is repeated. For example if row 1 is kept low and column 1 is found low during scanning, then that means key”1″ is pressed.
![Page 25: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/25.jpg)
Buzzer or Piezoelectric speaker for arduino
A Piezoelectric speaker or buzzer is a loudspeaker that uses the piezoelectric effect for generating sound. The initial mechanical motion is created by applying a voltage to a piezoelectric material, and this motion is typically converted into audible sound using diaphragms and resonators.
Piezos have polarity, commercial devices are usually having a red and a black wires indicating how to plug it to the board. We connect the black one to ground and the red one to the output. Sometimes it is possible to acquire Piezo elements without a plastic housing, then they will just look like a metallic disc.
![Page 26: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/26.jpg)
LED A light-emitting diode (LED) is a two-lead semiconductor light source. It is a p–n junction diode, which emits light when activated. When a suitable voltage is applied to the leads, electrons are able to recombine with electron holes within the device, releasing energy in the form of photons. This effect is called electroluminescence, and the color of the light (corresponding to the energy of the photon) is determined by the energy band gap of the semiconductor.
![Page 27: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/27.jpg)
How much we spent the money to build porte à puce?
No Deskripsi Jumlah Harga (IDR) Keterangan
1 Arduino uno 1 160.000 Membeli
2 I2C Display 1 35.000 Membeli
3 Keypad 4x4 1 15.000 Membeli
4 Protoboard 1 40.000 Membeli
5 Motor servo 1 30.000 Membeli
6 Led merah 1 8.000 Membeli
7 Resistor 220 ohm 2 1.000 Membeli
8 Kabel jumper 30 - Tersedia
9 Buzer 1 15.000 Membeli
10 PCB 1 8.000 Membeli
11 Akrilik 30 x 30 (cm) - Tersedia
12 Engsel Pintu 4 5.000 Membeli
13 Kabel Male Female 40 30.000 Membeli
14 Mur dan Baut 20 - Tersedia
15 Timah Solder 1 roll 20.000 Membeli
16 Solder 1 - Meminjam
17 Mata Bor 1 7.500 Membeli
18 Bor 1 - Meminjam
19 Lem Kaca 1 12.500 Membeli
20 Kabel Male-Male 20 15.000 Membeli
26 Sensor DHT 1 36.000 Membeli
Total Rp. 443.000,00
![Page 28: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/28.jpg)
The listing programs of porte à puce
![Page 29: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/29.jpg)
![Page 30: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/30.jpg)
![Page 31: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/31.jpg)
![Page 32: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/32.jpg)
![Page 33: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/33.jpg)
![Page 34: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/34.jpg)
![Page 35: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/35.jpg)
![Page 36: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/36.jpg)
![Page 37: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/37.jpg)
Modification We include the function of the door not only as the automatic safety door from a burglar, but porte à puce is also the safety door from fire and extreme temperature by using :
The buzzer as the alarm if someone enter the wrong passcode, and also if fire or extreme temperature occurs
The DHT Sensors that could identify the relative humidity and temperature
We controll the door to open (servo to rotates for about 90 degrees) if the room temperature reach 35ºC
![Page 38: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/38.jpg)
CHALLENGE
CostIdea
Listing program
Design and Construction
![Page 39: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/39.jpg)
ConclutionWe live in an age where the crime rate is high, while technology has changed rapidly, the thief become a genius thief. So we must to be a genius too, increasing the level of security and safety is necessary, no more for manual, it’s time for automation.
Our Porte a Puce is right choice to increase our security system with low cost and worthed features.
![Page 40: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/40.jpg)
Hope for the futureMay this project could be useful for improvement of safety and security efforts in this automation era. We hope someday we could upgrade Porte a Puce with another features, by :
◦ Adding the fingerprint sensor, so only authorized people can access Porte a Puce for entry◦ Adding the fire sensors, gas sensor, Liquefied Petroleum Gas (LPG) sensor, and smoke sensor
to improve the safety functions. So, when the sensor detects the presence of fire, LPG, toxic & flamable gases and smoke, the buzzer will ring and the door will automatically open to rescue people inside.
◦ Implanting the chip inside Porte a Puce, to simplify the circuit display
![Page 41: Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors Based on Microcontroller Arduino Uno R3](https://reader036.fdocuments.in/reader036/viewer/2022062503/587db7971a28abae2f8b77f3/html5/thumbnails/41.jpg)