Introduction: By the FingerPrint Recognition Function of 1Sheeld and IPhone,in Windows Login

Material

*Hardware

ArduinoLeonardo 1pc

1SHEELD+ IOS / ANDROID PHONE FOR ARDUINO 1pc

*SoftWare

Arduino IDE

・1Sheeld App iOS App / Android App

1Sheeld Library

Step 1: Connection

Arduino Leonardo with 1Sheeld

Step 2: Code

#include "Keyboard.h"
#define CUSTOM_SETTINGS
#define INCLUDE_FINGERPRINT_SCANNER_SHIELD
#define INCLUDE_PUSH_BUTTON_SHIELD
#include

void setup()
{

OneSheeld.begin();
}

void loop()
{
if(FingerprintScanner.isNewFingerScanned() && FingerprintScanner.isVerified())
{
Keyboard.print("Your Password");
delay(50);
Keyboard.write(KEY_RETURN);
delay(500);

}
if (PushButton.isPressed())
{
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press(KEY_LEFT_ALT);
Keyboard.press(KEY_DELETE);
delay(100);
Keyboard.releaseAll();
delay(200);
Keyboard.write(KEY_RETURN);
delay(2000);
Keyboard.write(KEY_RETURN);
delay(50);
}

}

Step 3: Notes on Writing to Arduino

When writing code in, I change the switch of 1Sheeld to SW and write.

Step 4: Application Operation

Step 1 Connect 1Sheeld to power supply

Step 2 Press Scan to connect 1Sheeld

Step 3 Select FingerPrint and PushButton


Step 5: Impression / Improvement Points / Questions Etc.

My Maker nickname is uomo libero.
If you have any questions, please contact me on Twitter.@Creatura18
*Although Linux and OS X versions are also available, OS X is unverified.

Comments