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
Summer of Sensors Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Summer of Sensors Design Challenge
  • More
  • Cancel
Summer of Sensors Design Challenge
Blog Smart Container Tracking - Interfacing the STEVAL-SMARTAG1 #3
  • Blog
  • Forum
  • Documents
  • Design Challenge
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Summer of Sensors Design Challenge to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: rahulkhanna
  • Date Created: 20 Oct 2022 8:52 PM Date Created
  • Views 1073 views
  • Likes 7 likes
  • Comments 2 comments
  • stmicrocontroller
  • Summer of Sensors Design Challenge
  • renesas
  • nfc
  • evaluation
  • summer of sensors
  • TAG You’re it
Related
Recommended

Smart Container Tracking - Interfacing the STEVAL-SMARTAG1 #3

rahulkhanna
rahulkhanna
20 Oct 2022
Smart Container Tracking - Interfacing the STEVAL-SMARTAG1 #3

Welcome to my #3rd blog of the Summer of Sensors Design Challenge. I shared my approach to making Smart Container Tracker and the unboxing for TAG You’re it, Challenger. 

We will set up the environment, understand the dos & don'ts, and then try a basic example to test the board's functionality.

image

System architecture
The STEVAL-SMARTAG has the STM32L0 low-power microcontroller, ST25DV NFC EEPROM, LIS2DW12 Accelerometer, LPS22HB Barometer, HTS221 RH, and Temperature sensor. The sensor node can be powered by a coin-cell battery (CR2032) or by the output of the NFC harvester (when it is enabled and when the RF field is strong enough). The diodes automatically select the power source with the highest output voltage in the OR configuration.

image

We have an SWD connector to ST-Link/V2 and a CR2032 Battery holder on the back. Now, Insert a CR2032 battery in the battery holder on the back of the STEVAL-SMARTAG1 eval board to power the target microcontroller. I've got my old Nucleo board that can be used for programming. Ensure both jumpers on CN2 on the ST-Link/V2 board are open. Connect the STEVAL-SMARTAG1 evaluation board to the header connector of the ST-Link/V2 board.

  • red (VDD)
  • green (SWCLK)
  • black (GND)
  • yellow (SWDIO)
  • orange (NRST)
  • blue (USART2_TX)

we can connect the Smartag1 either way as shown below. 

image     image

Connect the USB cable to the ST-Link/V2 board, Download FP-SNS-SMARTAG1 and use the pre-compiled binaries for registering your device, or alternative re-compile the code adding your device certificate.

image

Install the ST Asset tracking app on your mobile, and add the SmarTag 1 to register the device. 

image

Once the device registration is complete, Name the device (we had named the device SAT-Tag1) and click on settings. Enter the sampling options and check the sensors to be monitored. Tap your mobile on the SMARTAG and hit the write button. Once the settings are configured, you'll be notified with a "Write complete" popup. 

image

Image - Tap your phone on NFC tag

image

Now click on the Data history and tap the NFC tag to view the sensor data. 

image

Now, we had configured the STEVAL-SMARTAG1 and connected it to the ST asset tracking app. In the next post, we will see how to track it using the web DSH-asset tracking web dashboard. Thanks for reading and do follow the upcoming posts. 

  • Sign in to reply
  • rahulkhanna
    rahulkhanna over 2 years ago in reply to dougw

    Thanks dougw Learning a lot from the community. 

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

    Pretty neat so far.

    • 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