Logging into Desktop with Arduino
-
@Nairod785 note that you can only use keyboard commands with the leonardo, with uno, mega etc you have to do some sneaky re-flashing of the usb interface chip in order to emulate a keyboard. If you're ordering a new arduino it might be easier with a Leonardo.
-
@Lokki what are your error messages in the arduino ide?
@Nairod785 here are some pictures:
-
I know, the one I want to use, had the same ATMega 32U4, so it has the same abilities as a Leonardo. But smaller ;)
-
@MacManus, it's all sorted. Reinstalled the libraries again and it's happily compiling. Works well, nicely done.
@Nairod785, awesome. Sounds like I should try one of those, they're tiny. -
As a suggestion for your code, it would be interesting if you could add a 'program' button for ring UIDs (enabled with pre-authorised master ring) and switch the code around a bit to grab the password from the ring?
-
Yeah - interesting idea - i will tinker with the code in my next spare time to improve the code.
-
Sounds cool. That way you could link 'allow authorisation' to UID and have the password grabbed from the ring so it's two part authentication. If you're really keen you could encrypt the stored password and have the arduino decrypt it.
-
Hehe this is cool, I actually wrote a bit about the security issues of doing this back in January after prototyping something similar myself.
Like @Lokki and others have said if you can resolve the security / implementation issues then you will be onto a huge winner with this! :)
-
Works fine for me. Thanks a lot!
I have a little question though
should the power (VCC pin) be connected to 3.3V or to 5V?
as you wroteVCC <-> 3v3
but in the manual it says on page 5 for the Leonardo board you should connect it to 5V. As I'm new to those things I don't want to connect anything wrong and burn my board right after receiving it ;-)
Thanks for the help
-
it works both.
Connect it to 5v if it says in the manual. -
OK, Thanks!