Node Mcu Indian Car Central Lock With Rfid and Blynk Timer Unlock

I am showing you today an indian style car fully automated central lock with rfid tag blynk wifi control and time unlock .it also has all the features of a normal central lock.

i also added distance locking LOCKS AND UNLOCKS CAR BASED ON DISTANCE BETWEEN YOU AND CAR

this car central lock WORKS OFFLINE ACTIVATION REQUIRES NETWORK

LOCKS AND UNLOCKS WITH DRIVER SIDE DOOR SENSOR

CHEAP EASY TO MAKE

SEE COMMENTS TO SEE UPDATE CATALOGS

All the above items will be available in Amazon

Supplies:

Node mcu
Relay 2 channel
Door actuator 2 wire. X 3
Door actuator 5 wire x1
Rfid.
Wires
12v to 5v conveter

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Step 1 Connection of Rfid

Look at THE circuits above combine them all so you will get a full circuit. i will also explain it

First you need to connect rfid to node mcu use connective wires you can solder or use male femail connective wires. For that Connect

D3 To RST OF MFRC522

D4 To SDA OF MFRC522

D5 TO SCK OF MFRC522

D6 To MISO OF MFRC522

D7 To MOSI OF MFRC522

PROVIDE 3.3V AND GND TO MFRC522 BY ANY 3.3 AND GND PIN OF NODEMCU DO NOT USE 5V

Now rfid is sucessfully connected

see last step for seeing how i connected

this is the connection of car central lock

Step 2: Connection of Actuator Motor

PLease Wire up relay like in the picture.you can use 2 channel relay

Connect

RELAY SIGNAL 1 TO D0

RELAY SIGNAL 2 TO D2

VCC TO 5v from the converter

GND to GND

NOW I AM SAYING THE MAIN PART CONNECTING ACTUATOR MOTORS

CONNECT
GREEN AND BLUE WIRES OF ALL ACTUT MOTOR TO CENTRE OF RELAY

CONNECT NORMALY CLOSED OF RELAY TO GND OF 12V OF CAR BATTERY

CONNECT NORMALLY OPEN TO 12V OF CAR BATTERY

if your car is locking while clicking unlock filp the relay signal wires

this is actuator motor wiring of how to make car central lock instractble page


Step 3: CONNECTION OF DOOR SENSOR

DOOR SENSORS ARE DESIGNED TO OPEN ALL DOORS IF DRIVERSIDE DOOR IS OPENED/CLOSED MANUALLY SO WE USE 5WIRE ACTUATOR MOTOR IN DRIVER SIDE

SO CONNECT

BLACK WIRE OF 5 WIRE ACTUATOR TO D1 OF NODEMCU

WHITE WIRE OF 5 WIRE ACTUATOR TO 3.3 V
GREY WIRE OF 5 WIRE ACTUATOR TO 0 V

if you are struck in endless loop like unlocking and locking automatically,flip the 3v and ov lines

this is door sensor wiring of how to make car central lock instractble page

Step 4: NOW THE POWER FOR EVERYTHING

USE CAN USE THE 12V OF CAR BATTERY TO POWER THIS ENTIRE THING YOU NEED TO CONNECT THE WIRE DIRECTLY TO BATTERY WITH A FUSE. ACC OR KEY ON DONT WORK.

YOU NEED A 12V TO 5V CONVERTER USE IT TO POWER THE NODE MCU AND RELAY

CONNECT 5V TO VCC

GND TO 0V

CONNECT 12V TO RELAY AS IN STEP 2

this is power wiring of how to make car central lock instractble page

Step 5: NEXT IS THE BLYNK APP TO CONTROL IT VIA WIFI AND MONITOR IT

I HAVE MADE A GOOD UI WITH LCD, TERMINAL,2 BUTTONS LOCK AND UNLOCK ,AN EVENTOR SO THAT YOU CAN SET TIME UNLOCK IF YOU NEED TO LOCK AT SOME TIME EG 9 O'CLOCK NIGHT

SO CHECK IT AND MODIFY TIME UNLOCK BASED ON YOUR NEEDS

I AM PROVIDING A QR CODE TO CLONE MY UI

this is blynk setup of how to make car central lock instractble page

Step 6: My Ui

Step 7: NEXT IS THE MCU CODING

I AM INCLUDING A FILE AND ALSO A GITHUB LINK CHANGE WIFI SSID AND PASSWORD WITH YOUR PHONE HOTSPOT (SWICH IT ON ALWAYS TO GET THIS THING CONNECTED))

AND ALSO CHANGE AUTH TOKEN WITH YOURS

ALSO CHANGE YOUR RFID CARD ID WITH YOURS(SEE THIS TO FIND

CARD UID https://www.instructables.com/id/MFRC522-RFID-Read...))

...........\...\...

... I Will try my maximum to improve my code i am currently working on ,sleep at night ,offline mode,auto unlock delay and many more

[[[[edit: ADDED OTA DISTANCE BASED UNLOCKING AND OFFLINE MODE AUTO UNLOCK DELAY AND MADE EVERYTHING OFFLINE ALSO ADDED MANY FEATURES AFTER THIS DIDNT HAVE TIME TO TYPE FEATURES HERE]]]]]

Please support me

...

GITHUB.COM CODE LINK: https://github.com/Athul2711/Car-central-lock-rfid...

PREFER USE GITHUB FOR CODE DONT USE THE CODE BELOW BECAUSE IT IS NOT UP TO DATE

REQUIRED LIBRARY :

Blynk.h

TimeLib.h

SPI.h

MFRC522.h

SimpleTimer.h

ESP8266WiFi.h

BlynkSimpleEsp8266.h

this is coding page of how to make car central lock instractble page

Step 8: CODE

//CODE BY ATHULKRISHNA>S

CODE REMOVED USE GITHUB LINK: https://github.com/Athul2711/Car-central-lock-rfid...

s

this is coding page of how to make car central lock instractble page

Step 9: Conclusion

THIS IS MY FIRST INSTRUCTABLES

SO I KNOW IT HAS MISSINGS

I AM POSTING THIS ONLY FOR ONE REASON BECAUSE THERE IS NO CAR LOCK LIKE THIS

SO I WANT TO HELP

ANYONE CAN POST THIS PROJECT IN YOUR BLOG OR ANYWHERE

BUT PLEASE ADD MY NAME IN YOUR CREDITS LIST

SORRY FOR MY BAD ENGLISH . I HAVE USED CAPITAL LETTER FOR MODERATE IMPORTANT SENTENSES AND BOLD FOR VERY IMPORTANT POINTS

IF YOU HAVE ANY DOUBTS TEXT ME MY EMAIL IS athulkrishna2711@gmail.com

I will be answering within 24 hr

Dont forget to add comments

this is conclusion of how to make car central lock instractble page

4 People Made This Project!

Recommendations

  • Instrument Contest

    Instrument Contest
  • Make it Glow Contest

    Make it Glow Contest
  • STEM Contest

    STEM Contest

5 Discussions

0
None
Athulkrishna2711

Tip 5 days ago

Code updated : made door sensor and rfid work even if this thing is offline. Maybe today i will add distance based unlocking like auto lock when you go far and its opposite. Prefer to use github page for code because I update it early ..... You can turn off features from eventor app. So i ard eventer app .. deactivate events