Back in March I wrote about some simple experimenting with the ST M24LR Discovery kit which feature a dual interface EEPROM - both NFC and I2C. That kit got me thinking about how I might use NFC to move data to and from low cost devices. Not just storing data on a tag, but mini data loggers and the like. So I ordered a few parts to experiment with and yesterday I finally got around to building some I2C/NFC tags. Here's one -
I wound my own antenna. It this seems bizarre, consider that I grew up making crystal sets and the like - why would I miss the opportunity to wind a coil? For anyone wanting to do the same, it's 8 turns around a 4cm diameter former - in this case a plastic lid from a spice jar. Slip the windings off and apply a few dabs of hot glue and it's done. So far all I've done with this is read and write to it with my Nexus 7 tablet (NFC) and an Arduino Uno (I2C). With this EEPROM no power, indeed no connections, are required when using NFC, just the antenna coil.
There was no particular project in mind when I assembled the parts, which is why I included the 0.1" pitch connectors to plug them into a breadboard. What I notice once they were on the desk it that it's an ideal size to include in a Raspberry Pi case. So I built another slightly different one.
This will fit inside the usual cheap type of case. Making this got me thinking about making a smaller one closer to the size of the pre-made tags you can buy but with the advantage of I2C. So I built this -
The wire I used was Verowire, and the coil former is from the 1980s too. (12 turns on 2.2cm former)
Yes, I reckon I'm going to build something gadgety into a cassette tape. Not sure exactly what, but pretty sure it will use an ultra low power MSP430 microcontroller.
As for the Raspberry Pi interface, what I'd like to do with that is use it to change settings that are loaded on rebooting - so I can set up Wifi access codes using a phone or tablet, ideal for a "headless Pi".
No comments:
Post a Comment