You just say what the thing does and then you add ā-erā.ā Replenisher keeps your fridge, officeā¦stocked! Just scan! āIām going on break!
Story
TL;DR; This project utilizes the AmazonDRS Arduino library to initiate frictionless purchases on Amazon by scanning NFC tags.
Looking for some help getting started with AmazonDRS Dash Replenishment for Arduino and still need to get your Amazon accounts setup, authorize āLog in with Amazonā, exchange tokens, etc? Hop on over to the Getting Started guide at the AmazonDRS GitHub repo and try out the Amazon Dash Button for Arduino project.
1/12/2017 ā Coming Soon!
Iām working on creating an Arduino shield(aimed at the Due and Zero) that will incorporate the ATWINC1500 WiFi and the PN532 transceiver for NFC all in one shield sized package. Stay tuned for more updates!
2/26/2017 ā The Shields Are In!
Check out the video below for a complete demo of Replenisher! I The shield combines NFC, WiFi, EEPROM, and an LCD. The open source design and libraries for interacting with the shield are all available here! Big thanks to Andium(a new IoT startup I work at) for working with me to spin off a small batch of these shields to make available to the community! You can grab one here. I created a project hub on hackster where Iāll start posting more projects and ideas that spin off from the new shield.
Motivation
The Amazon Dash Button for Arduino is cool, but once the excitement of interacting with the API wears off there really isnāt anything too mind blowing about hitting a button to place an order. So I decided to create this project to show a different way you might want to initiate frictionless Dash Replenishment around your home or office.
The idea is to use NFC tags to create a more fluid replenishment process for products that might not necessarily pair with a āsmartā device. A smart fridge that orders groceries is great, but does your T.V. remote really need a WiFi connection to order new batteries? Utilizing the unique product identifiers Amazon uses called ASINs we can burn an identifier into each RFID tag. The sticker tags could be placed anywhere! Manufacturers could even print them onto their packaging or place them inside their devices. Since RFID tags are passively powered they require no batteries, no WiFi, no time consuming setup. The only device we need to connect to WiFi is the NFC scanner that weāre about to create!
Getting Started
Hardware
First lets make sure you have all of the necessary hardware for the project. Iāve used the Arduino MKR1000 but any WiFi 101 enabled Arduino should work.
In order to scan NFC tags weāre also going to need an NFC antenna and transceiver. Iāve decided to go with Adafruitās PN532 NFC shield with a built-in antenna. The shield is designed for the typical Arduino Uno/Due/Zero/Etc shield form factor but there are breakouts on the board for SPI so we can easily wire up our MKR1000. In addition to headers that ship with the shield and the Arduino weāll also need, jumper cables, and some NFC tags. Specifically Ntag203 Mifare Ultra-light tags(I chose the round stickers, youāll see why in a minute!) This specific flavor or RFID tags are compatible with Adafruitās shield as well as most Android phones and tablets Iāve tried.
If you havenāt already, solder the two rows of header pins to your MKR1000 and solder the provided shield headers to your PN532 shield. Weāll be using SPI so you only need to solder the NFC shield headers to the strip labeled for power (IOr, RST, 3v, 5v, GNDā¦) and the SPI header(MOSI, SS, MISOā¦etc). Youāll also want to make sure you bridge āSEL 1ā and āSEL 0ā with a blob of solder to configure the shield for SPI. If youāre a bit lost on setting up the shield check out Adafruitās getting started guide for the PN532 shield.
Letās wire up the shield!
Outlined in this Fritzing diagram are all the connections youāll need to make between the shield and the Arduino. Take note below of SEL 1 and SEl 0. Those are the copper contacts that need to be bridged together, each witch a blob of solder, so we can use SPI to communicate with the shield instead of I2C.
Read more: AmazonDRS NFC Replenisher