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

Introduction: 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.

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

acess codes __

ip = ip address of esp or its dns address

ip/data displays door data

ip/lock = locks car

ip/unlock = unlocks car

ip = shows data on car like owner info


#### NEW 2021 UPDATE #### THIS VERSION IS NOT MAINTAINED ANYMORE CONVERTED EVERYTHING TO ESP32
converted to esp32 and new blynk beta moving from just a lock to full car manager temperature monitoring,climate control ac, mist remover ,indoor light control,door open warning,handbrake warning,auto car moving lock car stop unlock and many more are added

new hardware esp32 mpu6050 ds18b20 many new connections,etc





#### NEW 2020 UPDATE ####

features (updated on 31 oct 2020 )

keeps data of lock and unlocking including time


unlock all locks if driver side lock is unlocked

unlock car via blynk unlock car via local html (new)

timer based car unlocking like unlocking on 8 am and locking on night you can set it like setting an alarm

main feature rfid based unlocking

and a sectret unlocking feature (new)

added led on D8

locking and unlocking car with the handle knocks see arduino based knock locks, sensor on pin A0

i am useing this in my car so i will always update and clear bugs but sometimes i wont post in github so text me for latest code

Supplies

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

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

bUTTON ON V1 TO LOCK

button on v2 to unlock

led on v10

rtc

eventer for setting alarm locking

terminal on v40

and many more if you know basic codeing please find out

Step 6: 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 7: 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 8: 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

Step 9: My Ui

First Time Author Contest

Participated in the
First Time Author Contest

Be the First to Share

    Recommendations

    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Toys & Games Contest

      Toys & Games Contest
    • Home Decor Challenge

      Home Decor Challenge

    4 Comments

    0
    Athulkrishna2711
    Athulkrishna2711

    Tip 1 year 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

    1
    seamster
    seamster

    1 year ago

    Looks good, thank you for sharing : )