In the future there is a bar where all the dead punk rockers hang out. They are each given a MiFare classic card programmed with their name and 666 credits.
This is the device the bartender uses to keep track of their tab.
This project uses an atmega168 to control a pn532 breakout board to write cards as well as read them.
Once the data is read it gets sent to the Particle core over USART and then sent over Wifi to the internet.
There is a Mac OS X application that receives the data and stores it in a CoreData model.
Besides having fun with an nfc card reader, this project is an example of how to use the spark core to communicate with other devices.
A couple of things I should mention:
1) in order to program the atmega168 you need an isp programmer. I use an Arduino micro that I flashed with the Arduino isp code from their ide. Elliot Willams has a book published by MAKE called AVR Programming that is an awesome resource.
2) you need to flash the Spark Core with the web ide using a USB cable, but DON’T try to power the Spark with the 5v battery at the same time. Once the code is flashed you can power the device and MAKE SURE to use a voltage regulator to run the pn532 and the atmega168 at 3.3v so the UART pins are at 3.3v. The Spark Core rx and tx are not 5v tolerant.
For more detail: Darby’s not dead.
I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.ACCEPTPrivacy Policy
Manage consent
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.