i need advice on how to build and code a keypad and fob operated lock

i am building a lock that can be opened via keyfob or password.i would like the lock to be a magnetic lock.i am using arduino uno.please help! pics will be attached for what i want to use.

FYI,i am using an elegoo uno r3 clone

Snapshot_20200619_2.JPG

Snapshot_20200619_3.JPG

Snapshot_20200619_4.JPG

Snapshot_20200619_5.JPG

Snapshot_20200619_6.JPG

Snapshot_20200619_7.JPG

Snapshot_20200619_8.JPG

Just inserting the pics so we don't have to download them

Snapshot_20200619_2.JPG
Snapshot_20200619_3.JPG
Snapshot_20200619_4.JPG
Snapshot_20200619_5.JPG
Snapshot_20200619_5.JPG
Snapshot_20200619_7.JPG
Snapshot_20200619_8.JPG

Put the LCD to one side, and write the code for the keypad and NFC individually using the serial monitor.
Then when that is working and tested, work in the LCD.

thats the problem.i'm not a very good coder.are there examples i could use?

militaryfanatic322:
thats the problem.i’m not a very good coder.are there examples i could use?

All of the devices you list will have examples in their libraries.

Thank you!! i completely forgot about the examples!do the examples have the wiring diagram as well???

Some may, others not.

Be aware that you may run out of pins if you’re not careful.

thank you!!!!!!!

look in the project hub under the COMMUNITY tab above.

make your life simpler. get an I2C backpack for the LCD display

I would put the antenna for the RFID up under the roof of the porch, because there are no runts in this house.

blewtobits:
Just inserting the pics so we don't have to download them

OK, so when I do this, I tend to make them clickable as well, centre them and and remove the sizing parameters that the forum tries to insert. Not that this matters here when they are only small and poorly focused. And put a space between. :grinning: For example ("quote" me to see the code):

Snapshot_20200619_2.JPG

Snapshot_20200619_3.JPG

I wonder why they are mirrored?

The OP will of course need to load the MFRC522 library in the IDE Library Manager. There is a project somewhere - not sure whether it is in the library as it crashed my system when I loaded it - which fully implements the use of a "master" card (fob) to program the EEPROM for the allowed fobs. :grinning:

[quote author=Geek Emeritus link=msg=4648167 date=1592589805]
make your life simpler. get an I2C backpack for the LCD display
[/quote]Only simpler if you use the HD44780 library in the IDE Library Manager. :roll_eyes: