Lock Your Door With a Remote Control??

by Alexan24 in Circuits > Arduino

2186 Views, 32 Favorites, 0 Comments

Lock Your Door With a Remote Control??

κατάλογος.jpg

Can you lock a door with a remote?? Well, now you can do it in just five steps!!

Parts

P5182040.JPG
P5182041.JPG
P5182043.JPG

You will need:

1x Arduino (any flavour)

1x Servo

1x Breadboard

1x IR receiver (mine is the VISHAY TSOP2238. You can use one from an old dvd player, tv ...)

Jumper Wires

1x Remote Control

1x 100μf electrolytic capacitor

Wire Up-1

Untitled Sketch_bb.jpg
P5182045.JPG
P5182046.JPG

This is just to find out the buttons code using the IR library which you can download from here.

Make sure you looked the datasheed of your ir receiver. Most can be found here.

Find Your Buttons Code

P5182047.JPG
Στιγμιότυπο οθόνης (5).png
Στιγμιότυπο οθόνης (6).png
Στιγμιότυπο οθόνης (7).png
Στιγμιότυπο οθόνης (8).png
Στιγμιότυπο οθόνης (9).png
Στιγμιότυπο οθόνης (10).png
Στιγμιότυπο οθόνης (11).png
Στιγμιότυπο οθόνης (12).png

Use the IR library to upload the IRrecvDemo.You can follow the photos. After that open the serial monitor and press a button. The buttons code will appear on the serial monitor. REMEMBER THE BUTTONS CODE YOU WANT TO USE TO LOCK AND UNLOCK YOUR DOOR!!!

Wire Up-2

Untitled Sketch_bbs.jpg
P5182048.JPG
Στιγμιότυπο οθόνης (14).png

Wire up the servo and upload the code.REMEBER TO CHANGE THE BUTTONS CODE (see photo).

Done!!!

P5182050.JPG
P5182051.JPG

Press the button to lock and press it again to unlock.It's time you found an awesome way to mount it on you door to lock. I recomend with a trolling door.I hope you enjoyed. Have fun!!