Let me tell you something:
Having a lock is a useful thing. And if it's made out of Arduino, then that's an even better thing. Let's get started.
Step 1: Building the lockFirst I glued a cardboard strip on the lid of the box so when I put the lid back on
it was the bit in the box where the servo would hold. Then, I stuck the servo motor so that when it was at 90° angle, it would hold the cardboard and stop the box opening.
And it ended up like this:
So the next step is connecting the Arduino. Connect the Arduino like this:
I used sticky tape to fix the Arduino on the box.
Step 4: Upload the codeDon't forget to add the RFID Library to the Arduino IDE (you can find the library at the code bit of this tutorial).
Copy the code and paste it to your Arduino IDE and upload it.
Step 5: Done!Then...you're done! If you have a question, I can answer it.
Comments