At our office we have a coffee problem. We began to start tearing through bags of espresso beans and wanted to help keep our coworkers accountable. The idea was simple--create a system that tracks how much coffee you drink and show you about how much it costs.
The HID reader we used is the HID OMNIKEY 5427 CK. This reader is capable of using keyboard wedge mode where it acts as an HID Keyboard device; this allows the device to work on computers without requiring drivers. The device has a web interface for configuration, the device documentation I used is available here, however I will walk through much of the relevant setup.
HID Reader Setup
2. Navigate to the web interface http://192.168.63.99/
3. Under Keyboard Wedge > General Config - select the Keyboard Wedge Enable check box then make sure the check box Tech order after error is not checked.
For this project you can use any Arduino, but you will need to alter the VID and PID in the App.xaml.cs to match whichever device you choose to use. I chose to use an Arduino Leonardo.
To check VID and PID:
- open the device manager
- Right click on your device and select properties
- Got to the events tab and under information you should see the VID and PID
Hook up 1: +in on the PowerTail to Pin 12 on the Arduino and 2: -in to GND on the Arduino
The application is a Windows Universal Application. It uses Remote-Wiring as well as Remote-Wiring.