Author Options:

Sd card data logging from keypad with arduino Answered

hi all,

i am very beginner in arduino and programming . but also along with that i have successfully practicing and successfully complete some of the project following this community . now i want to make another project . i want to make a numeric door lock 4*3 pad if someone press the correct password it will open but if someone press the wrong number it will save the password with date and time stamp . is it possible then please suggest me what are the parts need for this project and if possible guide me to write the code .



The forums are retiring in 2021 and are now closed for new topics and comments.

1 year ago

I suggest you split it in 3-4 pieces to learn:
- Keypad first
- Writing stuff to SD after
- Reading RealtimeClock
- Combine the 3 parts you now already know.

1.: Google for "4x3 Keypad Arduino" (https://www.google.com/search?q=4x3+Keypad+Arduino) or browse directly to https://playground.arduino.cc/Main/KeypadTutorial... for a starter on the Keypad
2.: Google for "Arduino SD logging" (https://www.google.com/search?q=Arduino+SD+logging) or go to https://www.arduino.cc/en/tutorial/datalogger for a starter on Datalogging to SDcard.
3.: Google for "Arduino external RTC" (https://www.google.com/search?q=Arduino+external+R...) or go to https://learn.adafruit.com/adafruit-pcf8523-real-t... or https://playground.arduino.cc/Main/DS1302/ for a starter on external RTC-handling

Post again if you managed both parts but still have problems combining the 3 parts. :)