Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors
Based on Microcontroller Arduino Uno R3
SUPERVISOR : Mr. Muhammad Arman, S.T., M.Eng., S.Psi
INSTRUMENTATIONS 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.
created by :
Faqih Fadilla Ardiansyah
Indri Meilani
Meifani
Ziddan Dea Kudrat
3. • SUPERVISOR : Mr. Muhammad Arman, S.T., M.Eng., S.Psi
• INSTRUMENTATIONS 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.
4.
5. 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
6. 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
7. 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.
10. 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
12. WHAT ARE MAIN MATERIALS AND
TOOLS NEEDED TO BUILD PORTE À
PUCE?
• Arduino UNO R3 as microcontroller
• Servo motor as an actuators
• I2C LCD
• Hex Keypad 4x4 for Arduino
• DHT Sensors
• Red and Green (or White) LED for Arduino as an indicators
• Some types of wires
• Contactor
• Bread Board
• Project Board
• PC to upload the program to arduino and also could used as Power Supply
• Another support components and materials for prototype building design
13. ARDUINO UNO R3
Features:
• ATmega328 microcontroller
• Input voltage - 7-12V
• 14 Digital I/O Pins (6 PWM outputs)
• 6 Analog Inputs
• 32k Flash Memory
• 16Mhz Clock Speed
15. DISPLAY DETAILS OF I2C LCD
Display details:
• 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
• Display current draw is completely dependent on your usage: each OLED LED draws current when on so the more pixels you have lit, the more
current is used. They tend to draw ~15mA or so in practice but for precise numbers you must measure the current in your usage circuit.
• This board/chip uses I2C 7-bit address 0x3C
16. SERVO MOTORS
Servo 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.
Servo motors are great devices that can turn to a
specified position.
Usually, they have a servo arm that can turn 180
degrees. Using the Arduino, we can tell a servo to go
to a specified position and it will go there. As simple
as that!
Servo motors were first used in the Remote Control
(RC) world, usually to control the steering of RC cars
or the flaps on a RC plane. With time, they found their
uses in robotics, automation, and of course, the
Arduino world.
17. DHT SENSORS
DHT sensors is temperature & humidity sensors. These low cost sensors
are very basic and slow, but are great for hobbyists who want to do some
basic data logging. The DHT sensors are made of two parts, a capacitive
humidity sensor and a thermistor. There is also a very basic chip inside
that does some analog to digital conversion and spits out a digital signal
with the temperature and humidity. The digital signal is fairly easy to read
using any microcontroller.
In this project we are using DHT11
With spesification :
• Ultra low cost
• 3 to 5V power and I/O
• 2.5mA max current use during conversion (while requesting data)
• Good for 20-80% humidity readings with 5% accuracy
• Good for 0-50°C temperature readings ±2°C accuracy
• No more than 1 Hz sampling rate (once every second)
• Body size 15.5mm x 12mm x 5.5mm
• 4 pins with 0.1" spacing
18. 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.
19. 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.
20. 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.
21. 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
25 Terminal 1 5.000 Membeli
26 Sensor DHT 1 36.000 Membeli
Total Rp. 443.000,00
33. WE INCLUDE THE MODIFICATION TO 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
35. CONCLUTION
We 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.
36. HOPE FOR THE FUTURE
May 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