element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
RFID or NFC
  • Challenges & Projects
  • Project14
  • RFID or NFC
  • More
  • Cancel
RFID or NFC
Project14: RFID or NFC Competition Custom NFC Tags
  • Blog
  • Forum
  • Documents
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RFID or NFC to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: misaz
  • Date Created: 18 Dec 2022 7:59 PM Date Created
  • Views 13617 views
  • Likes 14 likes
  • Comments 7 comments
  • rfidornfcch
  • tag
  • pcb
  • storage box
  • ST25TA02KB-P
  • nfc
  • ST25
  • ST25DV64KC
Related
Recommended

Custom NFC Tags

misaz
misaz
18 Dec 2022
Custom NFC Tags

Hello everyone. I welcome you to my blog post describing (not only) my Custom NFC Tags which I designed, ordered and assembled as part of NFC or RFID Project14 Competition.

Project Idea

I originally promised different project in the discussion of the main competition thread. In the meantime, I got better idea. I originally promised wheel of luck with NFC tag and reader for indicating wheel location. This looked to me like a cool toy but otherwise it was quite useless. But in meantime I got better (and more useful) idea. I decided to upgrade my Duratool Storage Box again. Now with NFC tags. Last time it was successful, so I try to continue the success of this storage box which I originally received for free from Element14. My original idea was to make offline search tool. Every cabinet will have tag with ID and 2D coordinates of cabinet location (row and column in the storage box). Except this information tag will remember parts inside the cabinet and also some parts in nearby cabinets (and their locations). Because capacity of tags memory is limited it will know only about locations of some of the other parts, not about all. Then you will be able to use reader, enter name of part and search it in two steps. The first step is find any cabinet which know location of the thing. As I mentioned cabinets do not know location of all parts, so it may take multiple attempts. After you find any cabinet which know it, it switches to the navigation mode and using X and Y location of tags will show arrow on display navigating you to the correct cabinet location. Because all tags know the X, Y locations it is possible to update row when moving reader near cabinet and seamlessly navigate you to the destination which contains searched thing.

Did not receive NFC Reader

The issue is that I did not received NFC reader (in time). I ordered ST X-NUCLEO-NFC03A1 as part of my reward from previous Project14 competition. Because of some delays in ordering my basket it went out of stock and was backordered but even it was restocked about month ago I still did not receive it. Time run out, and I had to redesign my project for being able to complete it even without NFC reader. For this reason, I was thinking about NFC readers, and I realized that almost every phone has NFC reader, so I tried to proceed in this way. Unluckily NFC in iPhone is very limited and software support in iOS is also very minimalistic. Every interaction requires to pop up system window and all actions must be executed by user interaction (pressing button), so it is hard/impossible to make app as interactive as I originally want. For example navigation to target cabinet mentioned in previous section is impossible to implement without requiring user to click button after moving hand by every ~7 cm.

Alternate Project Idea

I let original idea in the background but simplified it for being able to realize it with iPhone NFC reader only. I added tags to every cabinets and programmed tags with information describing content of the cabinet. After placing phone near to the cabinet, you can find its content even without opening the cabinet. Sometimes it is useful. For example, when you have multiple resistors/capacitors/inductors or other small components in the multiple cabinets, and you do not know if it is in first or second cabinet with the passives. Searching with phone may be faster than looking on every component in the cabinet and checking its value before realizing that searched part is in different cabinet… I implemented it and I find it very useful in this situation.

See it in the action!

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Giveaway Reward

For my project I received giveaway reward: ST25-TAG-BAG-UB and CLOUD-ST25TA02KB.

These tags I used as part of my project, and you will see them later.

Sample Sponsors

Experiments was also sponsored by ST. ST send me free samples of ST25DV64KC-IE6T3, ST25TN01K-AFH5 NFC Tags. I ordered them in the time when shipping on their store was free, so I received them totally for free.

Finding Location of Phone NFC Antenna

But before I started developing my project, I tested very interesting Field Indicator card from tag bag and checked where do the iPhone has NFC antenna? As you can see on the video below it is in upper part of phone.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Custom NFC Tags

For my project I need 30 tags because storage box contains 30 cabinets. In fact, I need less because I do not need to tag cabinets used as temporary storage or cabinets containing only one easily determinable part. I decided to tag 20 of 30 cabinets. Tag bag do not contain required number of tags and some of them are too large for cabinets, or they have very specific use case (like tag that you have seen for indicating NFC field strength). For this reason, I designed my own PCBs with trace antenna and made my own NFC tags!

This was my first design with any antenna. Because I am not skilled in RF, I was not sure if my design will work. For this reason, I tried three different designs. All I ordered on OSHpark and assembled them.

Here they are:

And from back side:

image

As you can see two tags are designed for tags in UFDFPN5 package. The difference between tags is antenna design. The first tag has antenna on both sides (front and back) and second have antenna only on front side. The third tag is designed with different chip. It is designed for use with TSSOP8 dynamic tags and has interface to MCU when used in this way.

Schematics

There are two (not three) schematics because schematics for first and second tag are exactly the same (they differ only in antenna design). Schematics of first and second tag is following:

image

Schematics of dynamic tag is slightly more complicated:

image

Board Layout

Board layouts of each tag are following:

 

BOM

 

Bill of Materials

Product Name Manufacturer Quantity Buy Kit
ST25DV64KC-IE8T3, NFC Tag STMICROELECTRONICS 3 Buy Now
ST25TA02KB-PC6H5, NFC Tag STMICROELECTRONICS 6 Buy Now
CRG0603F4K7, SMD, 4.7 kohm, ± 1%, 100 mW, 0603, Thick Film NEOHM - TE CONNECTIVITY 9 Buy Now
TSW-106-08-L-S-RA, Pin Header, 2.54 mm, 1 Rows, 6 Contacts, THT, Right Angle SAMTEC 3 Buy Now
GA0603A101JXBAC31G, SMD MLCC 100 pF, 100 V, 0603, ± 5%, C0G / NP0 VISHAY 3 Buy Now
0603N680J500CT, SMD MLCC, 68 pF, 50 V, 0603, ± 5%, C0G / NP0 WALSIN 3 Buy Now
CC0603JRNPO9BN560, SMD MLCC, 56 pF, 50 V, 0603, ± 5%, C0G / NP0 YAGEO 3 Buy Now
MC0603N100J500CT, SMD MLCC, 10 pF, 50 V, 0603, ± 5%, C0G / NP0 MULTICOMP PRO 15 Buy Now
885012206078, SMD MLCC, 150 pF, 50 V, 0603, ± 10%, X7R WURTH ELEKTRONIK 3 Buy Now
 

Additional Parts

Product Name Manufacturer Quantity
NFC Tag PCB (UFDFPN5, single-sided antenna) OSHPark 3
NFC Tag PCB (UFDFPN5, double-sided antenna) OSHPark 3
NFC Tag PCB (TSSOP8, single-sided antenna) OSHPark 3

Assembly

Soldering tag in UFDFPN5 package was not easy. In case of one tag, I shorted antenna and after several rework attempts, I always failed in states that antenna was shorted or one pin unconnected.  Other 8 tags I successfully soldered.

At the end I had bunch of my own tags:

image

Tuning antenna

The next step after soldering NFC chip was tunning tag antenna (and soldering it). In case of NFC tag this means selecting value of capacitor mentioned in schematics as C1.

I tried to compute value using online calculator on ST webpage, but this online calculator has no support for dual-sided antennas. I also later noted that values from this calculator was not absolutely correct. Maybe I used calculator in a wrong way and misunderstood some parameter. Instead, I find values for all three types of tag experimentally. I tried to find ideal tuning capacitor value by soldering one capacitor, manually checking range and then soldering additional capacitor in parallel. After adding second capacitor I checked difference.

The tag with single-sided antenna works best with 168 pF which I made as combination of 100 pF and 68 pF. Range is about 3 – 4 cm from iPhone SE. Tag with double-sided antenna works in range 0 – 1 cm even without any tunning capacitor. Adding 20 pF (which I made as parallel combination of two 10 pF capacitors) increase range to about 3 – 4 cm similarly to tag with single-sided antenna. The worst results I achieved with dynamic tags. Their antennal is smaller because chip is larger and there are also additional passives. Also, there are wires crossing the antenna. With 236 pF (which is equivalent of 150 pF + 56 pF + 10 pF + 10 pF + 10 pF, ufff. 5 capacitors in parallel!) I achieved about 2 – 3 cm range. Note that capacitances mentioned above are affected by tolerances. All mentioned capacitors have tolerances 5% (except 150 pF which has 10%) and because I use multiple capacitors tolerances are “summed”. Following photo shows 5 tuning capacitors in parallel. Smiley

image

Writing and Reading Tags

Because my only NFC reader was iPhone, I had to use application for writing and reading the tags. I used three apps:

  • NFC Tap from ST for general purpose NFC evaluation
  • NFC Tools from wakdev for writing tags
  • NFC Scanner from Wander Bit LLC for reading text tags

Conclusion

This project did not go as I originally planned due to supply chain issue. But I still learn a lot. Making my own NFC tags was super cool. It was my RF design, and I was surprised that all three designs worked, and I was able to tune all of them tune to range about 3 – 4 cm which is slightly less than range of professional tags from ST but when I taky in account hobby tuning approach it is good result, I think. At least it was suitable for my project.

Below, you can download gerbers and Kicad project for all three types of my NFC Tags.

Resources

  • NFC Tag PCB (UFDFPN5, single-sided antenna) Gerbers
  • NFC Tag PCB (UFDFPN5, single-sided antenna) Kicad Project
  • NFC Tag PCB (UFDFPN5, double-sided antenna) Gerbers
  • NFC Tag PCB (UFDFPN5, double-sided antenna) Kicad Project
  • NFC Tag PCB (TSSOP8, single-sided antenna) Gerbers
  • NFC Tag PCB (TSSOP8, single-sided antenna) Kicad Project
  • Sign in to reply
  • misaz
    misaz over 2 years ago in reply to shabaz

    Hi shabaz ,

    Yes you are correct that I designed dynamic tags for more advanced use case then for providing static information. My second project (featuring dynamic tags) is now available here:  Low-Power NFC Thermometer

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 2 years ago in reply to BigG

    Interesting!

    Just saw these NFC flex antennas , which might be handy for quickly trying out stuff, although I think misaz board layout is better/cheaper to just order, especially because it integrates all the other parts, and this doesn't. 

    The main rectangular portion of this is 15 x 25mm, so small enough to fit into projects

    image

    The pads are 2 x 3mm, with 0.5 mm gap. They are solderable apparently.

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • BigG
    BigG over 2 years ago in reply to misaz

    Wow that's very good. I forget how good OSHpark's pricing can be for small boards. It is definitely worth it for these type of tags.

    Yes antenna tuning is tricky.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • misaz
    misaz over 2 years ago in reply to BigG

    Thasnk for sharing. But my dynamic tag is cheaper Slight smile. PCB at OSHpark cost 3.50 for 3pcs, which is 1.17 USD for single piece, chip cost 1.50 USD at newark (fro 4 Kib variant, 64 Kib variant which I use cost 1.71 USD at newark). And capacitors and resistors are almost free. They have two additional connectors (which I do not have on my tags), so it add about dolar more but my tag is still cheaper. For 4 USD you most probably get tag with better antenna and of course it would be properly tuned (= better range and more reliable communication).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • BigG
    BigG over 2 years ago in reply to shabaz

    Yes very cost effective... e.g. Adafruit have a breakout for less than $4! www.adafruit.com/.../4701

    • Cancel
    • Vote Up 0 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