Darby’s not dead.

Hardware components:
Core
Particle Spark Core
× 1
atmega168
× 1
pn532 breakout board/ adafruit
× 1

Story Darby's not dead.

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.Schematic Darby's not dead.
For more detail: Darby’s not dead. 


About The Author

Ibrar Ayyub

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.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top