element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Enchanted Objects
  • Challenges & Projects
  • Design Challenges
  • Enchanted Objects
  • More
  • Cancel
Enchanted Objects
Blog Identifying Keys
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: crjeder
  • Date Created: 7 Apr 2015 8:12 PM Date Created
  • Views 949 views
  • Likes 5 likes
  • Comments 5 comments
  • smart_key_hooks
  • enchanted_objects
Related
Recommended

Identifying Keys

crjeder
crjeder
7 Apr 2015

Crucial to my design is the ability to detect and identify keys. The potential solutions are divided into following categories: wireless, wired and explicit. The later means the user explicitly states „this is key #11“ through some interface. This is the least desired one and will be the fall-back if everything else fails. Therefore let's concentrate on the other two.


Wireless


Because of the popularity of RFID tags wireless identification was the technology I thought about first when looking for a solution to this problem. But there are many more which fall into two categories: active and passive wireless.


Passive Wireless

Passive Wireless is the “classic” RFID tag we see as labels on high priced goods every day. The RF chip is powered “over the air” by the reader which limits distance, data rate and processing power of such solutions. But for identification, data rate and processing power requirements are very low, thus cheap solutions will perform well in this scenario.

I did not know that there are different frequencies with different characteristics in RFID technology. The following table lists properties relevant in this project.


Frequency

 

Typical max sensing

Distance in m

Multiple Tags?

Problematic to Operate near Metal

125 kHz

Low Distance, slow, expensive tags

0.3

No

Yes

13,5 MHz

ISM Band used for Smart Cards and Memory cards also NFC

+ cheap tags

1

Yes

Yes

~800 – ~900 MHz

UHF

2

Yes

No

2.4 GHz

ISM Band is also used for Bluetooth, BLE, ZigBee, WiFi, etc.

1

Yes

No

 

NFC and contact less Smart Cards use the same frequencies. 13.5 MHz readers and tags are easily available and cheap. UHF readers are very expensive so despite their good properties they will be excluded. 2.4 GHz passive tokens seem to exist only in theory. Therefore the choice boils down to two alternatives 125 kHz and 13.5 MHz which will be tested for their ability to communicate when the tag hangs between the keys. The metal may shield the tag and reliable reading might not be possible.

I have ordered one 125 kHz reader and key fobs and a NFC / RFID Arduino shield to try the most promising solutions.

 

image

(Foto by Adafruit Industries)

Active Wireless

Active tokens are very similar to passive ones, only with a battery. This is of course very simplified, but is enough to get an idea. By actively powering the RF device many of the limitations of passive devices can be overcome. Plus RF technologies which are to power consuming for passive tags like WiFi and Bluetooth can be used. I was not able to find any passive token in the 2.4 GHz ISM band but there exist active ones. Because of size and weight constraints BLE tokens are most viable.


Wired


Wired solutions are often simpler and cheaper than wireless ones, but are less practical or convenient. My first idea to detect keys hanging on a hook was using switch which gets pressed or released by the weight of the keys. The detection part is really simple, more difficult is the identification. This has to be outsourced to the user: The hooks and key rings are marked with a colour and users have to hang their key on the respective hook. That violates my idea of how the user interface should be but would be a solution if everything else fails. (see explicit identification)

Since there is only one conductor between a key fob and the board 1-Wire devices came into my mind. Usually a circuit for 1-Wire looks like this:

 


image

But 1-Wire bus is a marketing lie: they do not count the ground wire!


 

image

The question now is where do we get the ground from?

 

I have two ideas which I have to test. First use the human body as ground. The mass should be big enough for the small charge which has to be transported (ca. 7 nano coulomb). The resistance of the skin can be several kilo Ohms which may be too much. Since I am not an electronics expert and everybody I’ve so far asked could not answer this question I have to try it. Parts are ordered, stay tuned for updates.

 

image

While testing it turned out that the human skin is a very bad conductor which makes this version impossible at least with 3,3 V.

Since this does not work I would insulate the hook form the board and use the board as ground. Not as elegant but should work.

 

 

image

 

And indeed the keys are good enough conductors and when they are large enough they touch the board. So I have a solution!

  • Sign in to reply

Top Comments

  • Workshopshed
    Workshopshed over 10 years ago +1
    You could have a PCB tag on the key with contacts on the end then rather than having hooks you could have slots which you put the tag into.
  • crjeder
    crjeder over 10 years ago in reply to Workshopshed +1
    Brilliant idea! Thank you! I was to focused on the hook idea that I haven't seen this solution. Since the first test for 13.56 MHz RFID was not so promising I will continue with 1-Wire since this would…
  • crjeder
    crjeder over 10 years ago in reply to gadget.iom +1
    I thought for a while how I could implement this without forcing the user to fumble the key fob into a slot like a SD card. Other solutions with which I came up had the problem that they allowed the contacts…
  • crjeder
    crjeder over 10 years ago in reply to gadget.iom

    I thought for a while how I could implement this without forcing the user to fumble the key fob into a slot like a SD card. Other solutions with which I came up had the problem that they allowed the contacts to be mixed up.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • crjeder
    crjeder over 10 years ago in reply to Workshopshed

    Brilliant idea! Thank you! I was to focused on the hook idea that I haven't seen this solution. Since the first test for 13.56 MHz RFID was not so promising I will continue with 1-Wire since this would definitely work using your Idea.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 10 years ago

    A simple metal strip that the hanging key/keys made contact with might work for your ground.

     

    If you are hanging them up up then several 125Mhz or 13.5Mhz RFID tag readers will work fine.

    Have a look at the same size of these 125Khz readers and antenna we used in the KeyAssist project.

    NFC or RFID Reader

     

     

    Most modern vehicles use an antenna around the igntion key to detect the key.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gadget.iom
    gadget.iom over 10 years ago in reply to Workshopshed

    Andy Clark wrote:

     

    You could have a PCB tag on the key with contacts on the end then rather than having hooks you could have slots which you put the tag into.

     

    Thats a great Idea. It could have a large contact/pad on each side of the board with a 1-wire device attached to them, or a series of contacts with links to generate a binary representation of the tag ID.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Workshopshed
    Workshopshed over 10 years ago

    You could have a PCB tag on the key with contacts on the end then rather than having hooks you could have slots which you put the tag into.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube