/USB-RFID-Keyboard

Primary LanguageC++GNU General Public License v3.0GPL-3.0

USB-RFID-Keyboard

Note

This was a toy project, somehow a proof-of-concept.

I have no use for it so it is archived.

Description

This device behave like a USB Keyboard and a USB Serial port. As USB Keyboard, when a programmed card is read:

  • a formatted text, programmed in the RFID card, is written;
  • the LEDs are lighted according to a programmed color. As USB Serial port supported cards can be programmed using a terminal application.

Software Development Environment

For software development I have used the Atom editor with platformio-ide and platformio-ide-terminal packages.

In PlatformIO -> Initialize new PlatformIO Project or modify existing... I have selected the Teensy LC board.

Hardware

The hardware is built with a Teensy-LC, a MFRC522 card reader and some WS2812B LEDs. USB-RFID-Keyboard was born from an exercise in using cheap RFID readers and cards so the first version was build using a breadboard and wires. A schematic is in the work and will be published when ready.

Dependencies

The project depends on two libraries : MRFC522 and FastLED.

Install dependencies - PlatformIO CLI version less then 3

Launch PlatformIO Library Manager from PlatformIO -> Library Manager CLI, and type in the terminal window:

pio lib install 63
pio lib install 126

Note: in case you wonder where the numbers 63 and 126 came from, go to the PlatformIO Libraries Registry.

Install dependencies - PlatformIO CLI version at least 3

The libraries should be installed automatically when building the project (NOT tested, based on official documentation).

License

USB-RFID-Keyboard's software and documentation is released under the GNU GPLv3 License. See the LICENSE-GPLv3.txt file.

USB-RFID-Keyboard's hardware schematic is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. See the LICENSE-CC-BY-SA-4.0.txt file.