Arduino RFID unlock Mac (Linux and Win) © GPL3+

Arduino micro with RFID unlock your computer. Set one or many RFID tag, and unlock your computer with your personal password.

  • 2,450 views
  • 8 comments
  • 11 respects

Components and supplies

Apps and online services

About this project

I've a Macbook Pro, I've also a big password on my Macbook. When the Mac goes on stop, I do write the pass for open the system. In a normal day I digit the password something like 100 times. Now I've found the solution! The RFID TAG!

I use an Arduino Micro, and an RFID sensor tag for unlock my computer by keychain.

Follow my tutorials, and UNLOK your computer without touching keyboard.

Materials

Step 1: Connect the hardware

Unlock computer using RFID TAG

For this project you do use an Arduino/Genuino Leonardo on pro micro. The reason is implicit on the project. When you use the rfid tag near the Arduino, it send the letters of your password to your system. Your computer read the atmega32u4 like a keyboard. In the code of Arduino there is your system password. This password will be wrote on screen when you present the TAG. For this reason, the connections to RFID RC-522 of this tutorials are fits for an Arduino Leonardo or Arduino Micro (China). Follow the scheme and see the image. Connect all the pin. Pay more attention to connect the 3.3V pin of RFID shield to voltage regulator. You can burn the shield.

You can use also an Arduino Pro micro 3.3V, without voltage regulator.

  • 1 SDA 10
  • 2 SCK SCK1
  • 3 MOSI MOSI1
  • 4 MISO MISO1
  • 5 IRQ *
  • 6 GND GND
  • 7 RST Reset
  • 8 +3.3V Volt regulator --> 3.3V

Step 2: Upload the code

Before uploading the code, write your TAG code, and install the MFRC522 library by using https://github.com/ljos/MFRC522.

After this connect the Arduino to computer, and upload the code in the file.

Step 3: Try the code

Well! it's time to try! Open a Text Editor, and connect your Arduino to computer. Try to approach your TAG to the RFID reader. If all is OK, you can see your password on text editor. It works?!

Code

MFRC522 Library
MFRC522 Arduino library on GitHub https://github.com/ljos/MFRC522.

Comments

Similar projects you might like

Herb Box Eco System

Project tutorial by Walter Heger

  • 5,302 views
  • 6 comments
  • 49 respects

Web-Controlled LED Animations with Raspberry Pi and Arduino

Project tutorial by Bruno Portaluri

  • 5,029 views
  • 13 comments
  • 23 respects

Use Alexa to Control Your TV!

Project tutorial by Grensom

  • 2,961 views
  • 5 comments
  • 30 respects

Talking Clock 2 - New Version (Bilingual: EN-PT)

Project tutorial by LAGSILVA

  • 748 views
  • 2 comments
  • 10 respects

Making a Cheap Aquarium Parameters Controller

Project tutorial by Boisse Martin

  • 1,168 views
  • 2 comments
  • 5 respects

Valentine Blink: Wireless LED Hearts

Project showcase by AdiK

  • 2,381 views
  • 13 comments
  • 20 respects
Add projectSign up / Login