![]() The bottom wires in the middle are the ones that are connected to the lock mechanism.One of them into the ground pin and one of them into a free GPIO. The first 2 wires in the top-left are the wires that will be plugged into the Raspberry Pi's GPIO pins.There are some wires here so I'll do my best to explain what you are looking at. I used a 12v adapter and reused the relay that I had. This one required an external power source. The last part of my test was to setup the electric lock mechanism. So I just changed the keys in the code and it was working good after that. Only with one small problem, the keys were backwards. My keypad was recognised by the Raspberry Pi. Keypad = adafruit_matrixkeypad.Matrix_Keypad(rows, cols, keys)Īnd it seems I did a good job. # Membrane 3x4 matrix keypad on Raspberry Pi -Ĭols = This way I can reuse them for another one of my projects. But I don't want to waste parts by soldering them. You know that old num-lock light that indicates if your num-lock is active or not? No? See picture below. Small electric lock mechanism (mine works with 12v)įirst things first.Striped it from an old keyboard (the num-lock light indicator) In this article I'll show you how I build it. ![]() That idea never really got any further than my notebook, until today. ![]() They would be able unlock the locker via biometrics, app on the phone or just a simple 3x4 keypad. I imagined people all over the world using my smart locker. You know, the ones that come to you once you are daydreaming and for a solid minute it’ll seem like you have found the golden egg. In my last article I wrote about my "(not so) smart car: " and while doing so I thought it would be a great idea to build another useless application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |