Easy Phone Automation With NFC Tags
Intro: Easy Phone Automation With NFC Tags
More and more smart phones are coming out with NFC capability. But what does that mean for you? A few things: the ability to send data over a very small distance to another phone, the ability to use your phone as a wallet, and the ability to read and write NFC 'tags'.
NFC stands for 'Near Field Communication' and is more or less an RFID (think of the anti-theft tags on clothing) that can engage in two way communication. Some neat things about NFC is that the tags are unpowered and don't have to make contact with the reader to work (though they must be very close).
This instructable will show some ways I've made my mobile life simpler by using NFC tags to automate some functions on my phone. My hope is that you will find them useful or that you will come up with your own ideas. Cool factor aside NFC tags can be very useful and practical.
Sorry apple fanboys, the NFC party is Android only for now. I'd bet money you'll see it in the iPhone 5 though.
NFC stands for 'Near Field Communication' and is more or less an RFID (think of the anti-theft tags on clothing) that can engage in two way communication. Some neat things about NFC is that the tags are unpowered and don't have to make contact with the reader to work (though they must be very close).
This instructable will show some ways I've made my mobile life simpler by using NFC tags to automate some functions on my phone. My hope is that you will find them useful or that you will come up with your own ideas. Cool factor aside NFC tags can be very useful and practical.
Sorry apple fanboys, the NFC party is Android only for now. I'd bet money you'll see it in the iPhone 5 though.
STEP 1: What You'll Need
Getting started with NFC tags for phone automation is easy and pretty cheap.
You will need:
*There are a few different type of NFC tags. To be on the safe side get NDEF preformatted tags, unless you know your phone works with unformatted tags. Also, type 2 tags will work with future iterations of NFC, so consider those. Finally, check the capacity of the tags. Simple tasks require little memory, but swtich tags with multiple tasks can require a more than the 48 bytes available on some tags.
You will need:
- An phone with NFC functionality
- The NFC Task Launcher app for Android ($1.99)
- Some NFC tags- I got mine from TagStand*
- A little creativity
*There are a few different type of NFC tags. To be on the safe side get NDEF preformatted tags, unless you know your phone works with unformatted tags. Also, type 2 tags will work with future iterations of NFC, so consider those. Finally, check the capacity of the tags. Simple tasks require little memory, but swtich tags with multiple tasks can require a more than the 48 bytes available on some tags.
STEP 2: The Basic Idea
It works like this: With NFC Task Launcher installed you can place your unlocked phone within range of a programmed tag an your phone read it and affect the changes written to the tag.
The app can write several different types of tags. In this instructable we'll focus on three, they are:
Some things to consider:
So let's start making your life easier! Here are some of the ways I've used my NFC tags. Comment on ways you have used them, or ideas you have.
The app can write several different types of tags. In this instructable we'll focus on three, they are:
- Task tags executes a single set of tasks, like turn on wifi and/or mute the volume, each time the tag is read.
- Switch tags switch between two sets of tasks each time the tag is read.
- Uri tags can create an outgoing message to be sent
Some things to consider:
- NFC Task Launcher can't do everything imaginable, but does have a wide feature set
- NFC tags can be read through thin materials, like wood or plastic
- Always test the readability before sticking a tag underneath/behind something
- Metal interferes with NFC tags, so if you are putting a tag on metal, make sure you get the right kind of tag
So let's start making your life easier! Here are some of the ways I've used my NFC tags. Comment on ways you have used them, or ideas you have.
STEP 3: Coming Home & Leaving Home
The Effect: When I come home I want wifi turned on and my phone to connect to my home network, and to turn off the phone's vibrate function. When I leave home I want my wifi turned off and vibrate turned on.
Wifi consumes battery, so if I'm not using it I want it off. Also, vibration is great when I'm out and my phone is in my pocket. At home it just rattles the table and makes my phone dance.
The Tag: I wrote this tag as a switch tag so it will swap between the two states. They are:
Wifi consumes battery, so if I'm not using it I want it off. Also, vibration is great when I'm out and my phone is in my pocket. At home it just rattles the table and makes my phone dance.
The Tag: I wrote this tag as a switch tag so it will swap between the two states. They are:
- Coming Home- Turn on wifi, connect to 'Dr.Strangelove' (My home network) and provide the network key (if you don't already have it), turn off vibration
- Leaving Home- Turn off wifi, turn on vibration
STEP 4: Bluetooth on the Go
The Effect: My wife has a fancy Bluetooth headset, but doesn't like to wear it when she's not using it. This tag toggles Bluetooth so my wife can turn her Bluetooth on and off while keeping her eyes on the road.
The Tag: This is a simple task tag that uses toggle Bluetooth. Toggle switches from off to on or on to off, depending on the phone's current state.
The Placement: I stuck the tag on the backside of the door of a compartment on the dash. It is out of sight but well within arm's reach.
The Tag: This is a simple task tag that uses toggle Bluetooth. Toggle switches from off to on or on to off, depending on the phone's current state.
The Placement: I stuck the tag on the backside of the door of a compartment on the dash. It is out of sight but well within arm's reach.
STEP 5: Bed Time
The Effect: I own my phone, it doesn't own me. So, when I go to bed I don't was to be disturbed. This tag quiets the ring and notification tones and ensuring my alarm is turned up when I go to bed. When I get up it turns the ring and notification tones back up.
The Tag: I used a switch tag for this application. The two tasks are:
The Placement: I placed the tag on the bottom of my nightstand table. I put it on the far side of the table so I couldn't accidentally activate the tag when putting mu phone down.
The Tag: I used a switch tag for this application. The two tasks are:
- Goto Bed- Ring tone to 1, notification tone to 1, alarm to 6
- Get Up- Ring tone to 8, notification tone to 6.
The Placement: I placed the tag on the bottom of my nightstand table. I put it on the far side of the table so I couldn't accidentally activate the tag when putting mu phone down.
STEP 6: On My Way Home
The Effect: My wife carpools to and from work and has to wait for people sometimes. When she gets to her car at the park and ride she sends me a text to let me know she'll be home in about 20 minutes so I can get dinner on the table. This tag writes the text message and addresses it to my number. All she has to do is scan the tag and hit send.
The Tag: I used an Uri tag for this that readies the message 'I'm on my way home!'
The Placement: I used a 'laundry token' tag that I mounted in an acrylic key fob I made. That way she can scan it while pulling into the park and ride.
The Tag: I used an Uri tag for this that readies the message 'I'm on my way home!'
The Placement: I used a 'laundry token' tag that I mounted in an acrylic key fob I made. That way she can scan it while pulling into the park and ride.
26 Comments
vrv871208 5 years ago
I realise that this is an old conversation thread. However I was wondering if there was a way to create a NFC tag that would be able to send out an SMS with the location that the tag was tapped at?
diesela 7 years ago
Like it is necessary to have any such nfc trigger or task app installed on the device that is contacting with the tag
Without that app the task cannot be triggered or performed.
I have this question because i want my tags to perform with the guest mobile phones also who don't have the app installed.
Any solution with anyone?
DX MRINAL 10 years ago
NFC task launcher goes by the name of Trigger in play store now which is infact a free download now.
My favorite NFC app is Puzzel alarm clock, for Disabling alarm clock with an NFC tag. The best way to set reminder or wake in the morning is by placing the tags far from your bed.So every morning the alarm will turn ON, you will have to get up from your bed to turn it OFF.
For more NFC how to you can check out my blog NFC MADE EASY.
middleman12 10 years ago
Joe
thehumble1 11 years ago
I have a nexus 4 and am going to get a pack of tokens and am looking around for ideas. These look nice as does a swap in my daughters' room so I can drop the brightness when putting them to bed.
I also saw a case with NFC that switches it either to vibe or loud. I'll keep looking because I'm sure there are a few more brilliant ones out there. Thanks again.
thault 11 years ago
phillycodehound 11 years ago
Thanks so much for the tutorial.
CandyLV 11 years ago
ecks51 11 years ago
1) Why the petty 'fanboys' jab?
2) NFC will not be included in any iOS device.
CYNICALifornia 11 years ago
2) I'm sorry to hear that, if it is true. Where did you get that info?
ecks51 11 years ago
2) Until recently there had been no indication that Apple had much interest in it, but rumors have picked up about prototype iOS devices sporting NFC. No telling if it'll make it into the next gen. iPhone. If it does I just hope there's an easy way to disable it.
amason9 11 years ago
CYNICALifornia 11 years ago
DreamingSheep 11 years ago
P.S. Thanks for the ideas, I'm tempted to use two tags for on/off functions (if it's possible) in case I forget what my phone's set to (very likely to happen). So have one outside my bedroom to turn on silent as I walk in and one as I exit to turn up the volume..
CYNICALifornia 11 years ago
ethan1701 11 years ago
Glad to see it can easily be done with any NFC enabled phone!
CYNICALifornia 11 years ago
I know their 'tiles' are nothing more than branded NFC tags, but I am curious if their app plays nice with NFC Task Launcher.
dkelley1 11 years ago
Marno1 11 years ago
CYNICALifornia 11 years ago