-
1Step 1
Grab the code from this Github. You need to uncomment the uniqueSet array and index tracker in the code for the first time your compile the firmware. Compile and upload to the Arduino.
-
2Step 2
Use the git install method to add Seeed Studio NFC library: https://github.com/Seeed-Studio/PN532
-
3Step 3
Reset the ballot count (and records of which tokens have voted) by shorting pin3 to ground and pressing reset.
-
4Step 4
Install the Arduino IDE
-
5Step 5
Make all the appropriate connections (schematic in GitHub)
-
6Step 6
Scan all the tags that will be used as voting tokens. The UID for each will be printed to the terminal in a C header format. Copy this to your own uniqueSet.h file.
-
7Step 7
Open up the serial terminal window. Then short pin 2 to ground and press the reset button on the Arduino. This puts it in UID read mode.
-
8Step 8
Flash the Arduino again with the newly created uniqueSet.h file. When it reboots "Chad" is ready to record votes.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
Need some help with the interrupt service , its not working for me
Are you sure? yes | no
Where do we get the code and should we compile it or its already done.
Are you sure? yes | no