When I was a kid we played a game called Mastermind. Basically one person makes up a code using colored plastic pegs and the other person tries to guess the code or pattern in a limited number of turns by placing colored pegs on the board and learning if any of his or her guesses are correct.
I thought to try and make an electronic version using RFID tags instead of colored plastic pieces.
Making the game as I have in the drawing would need at least an Arduino Mega because of the 4 RGB LEDS. I wonder if there is a way to multiplex, charlipex or somehow get the RGB LEDS to use less pins? (You need GND plus 3 PWM pins for each one)
Using an Arduino, an Adafruit NFC / RFID shield and an Adafruit proto shield. System recognizes each of 3 tags presented and plays a different tone and light up a different LED for each one.
Adafruit PN532 NFC/RFID Controller Shield for Arduino + Extras – We’ve taken our popular Adafruit PN532 breakout board and turned it into a shield – the perfect tool for any 13.56MHz RFID or NFC application. The Adafruit NFC shield uses the PN532 chip-set (the most popular NFC chip on the market) and is what is embedded in pretty much every phone or device that does NFC. It can pretty much do it all, such as read and write to tags and cards, communicate with phones (say for payment processing), and ‘act’ like a NFC tag. If you want to do any sort of embedded NFC work, this is the chip you’ll want to use!
NFC (Near Field Communications) is a way for two devices very close to each other to communicate. Sort of like a very short range bluetooth that doesn’t require authentication. It is an extension of RFID, so anything you can do with RFID you can do with NFC. You can do more stuff with NFC as well, such as communicate bi-directionally with cell phones
Because it can read and write tags, you can always just use this for RFID-tag projects. We carry a few different tags that work great with this chip. It can also work with any other NFC/RFID Type 1 thru 4 tag (and of course all the other NXP MiFare type tags)
The Adafruit shield was designed by RF engineers using the best test equipment to create a layout and antenna with 10cm (4 inch) range, the maximum range possible using the 13.56MHz technology. You can easily attach the shield behind a plastic plate with standoffs and still read cards through a (non-metal) barrier.
This shield is designed to use I2C or SPI communication protocols. I2C is the default, as it uses fewer pins: analog 4 and 5 are used for I2C (of course you can still connect other I2C devices to the bus). Digital #2 is used for “interrupt” notification. This means you don’t have to sit there and ‘poll’ the chip to ask if a target tag has been found, the pin will pull low when a card, phone, etc is within range. You can adjust which pin is used if you need to keep digital #2 for something else. It is also easy to change the shield over to SPI where you can use any 4 digital pins by shorting two solder jumpers on the top of the PCB. Compatible with any “classic” Arduino – NG, Diecimilla, Duemilanove, UNO – as well as Mega R3 or later. For using the I2C interface with Mega R2 or earlier, two wires must be soldered as the I2C pins are in a different location on earlier Megas.
Comes with: the Adafruit NFC/RFID PN532 shield including a tuned 13.56MHz stripline antenna, 36-pin 0.1″ header for attaching the shield to an Arduino. If you want to stack another shield on top or below, check out our stacking headers that allow pass-through stacking. We also toss in a Mifare Classic 1K card! (You can get more tags from us here)Related
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
No comments yet.
Sorry, the comment form is closed at this time.