Atmel ATBTLC1000 BluSDK User Manual
Atmel ATBTLC1000 BluSDK User Manual

Atmel ATBTLC1000 BluSDK User Manual

Health thermometer profile
Hide thumbs Also See for ATBTLC1000 BluSDK:

Advertisement

Quick Links

ATBTLC1000 BluSDK
Health Thermometer Profile (HTP) – Getting Started Guide
USER GUIDE
Introduction
®
This getting started guide describes the setup of Atmel
ATBTLC1000 with a
supported platform
(see
Chapter 4) bringing-up an example profile supplied as part of BluSDK release. The Bluetooth Health
Thermometer Profile (HTP) is an example profile application that is embedded as part of the software
release package. The device advertises itself as a Health Thermometer. The ATBTLC1000 Xplained
PRO Extension board includes an on-board temperature sensor (accessible from the host MCU) for the
purpose of sensing the ambient temperature.
Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016

Advertisement

Table of Contents
loading

Summary of Contents for Atmel ATBTLC1000 BluSDK

  • Page 1 Health Thermometer Profile (HTP) – Getting Started Guide USER GUIDE Introduction ® This getting started guide describes the setup of Atmel ATBTLC1000 with a supported platform (see Chapter 4) bringing-up an example profile supplied as part of BluSDK release. The Bluetooth Health Thermometer Profile (HTP) is an example profile application that is embedded as part of the software release package.
  • Page 2: Table Of Contents

    10 Running the Demo ..................... 13 11 Software Architecture ....................18 12 Console Logging ....................... 19 13 ATMEL EVALUATION BOARD/KIT IMPORTANT NOTICE AND DISCLAIMER ..20 14 Revision History ......................21 Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE]...
  • Page 3: Features

    Device Information Service to display the information about the Thermometer device. The current Thermometer profile implementation implements the following characteristics.  Temperature Measurement  Intermediate Temperature  Measurement Interval Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 4: Supported Hardware Platforms And Ides

    XPRO SAM 4S (MCU) ATSAM4SD32C ATBTLC1000 ATSAM4S-XPRO + ATBTLC1000 Atmel Studio v7.0 XPRO Demo Setup iPhone/Android ATBTLC1000+ Atmel Smart Connect app Supported Atmel MCU (Health Thermometer Collector) BLE L Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 5: Hardware Setup

    ATBTLC1000 Xplained Pro Extension Connected to a SAM L21 Xplained Pro SAM D21 Xplained Pro Health Thermometer Setup Figure 6-2. ATBTLC1000 Xplained Pro Extension Connected to a SAM D21 Xplained Pro Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 6: Sam G55 Xplained Pro Health Thermometer Setup

    ATBTLC1000 Xplained Pro Extension Connected to a SAM G55 Xplained Pro SAM 4S Xplained Pro Health Thermometer Setup Figure 6-4. ATBTLC1000 Xplained Pro Extension Connected to a SAM 4S Xplained Pro Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 7: Temperature Measurement Location

    Then the application shall toggle the temperature type. Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 8: Software Setup

    Installation Steps 1. Atmel Studio installation [Atmel Studio 7.0 (build 594) Installer – with .NET] http://www.atmel.com/tools/atmelstudio.aspx (Note: SAM L21 Rev B/SAM D21/SAM G55/SAM 4S part pack is built-in as part of Atmel Studio 7.0) 2. Atmel USB Driver Installer from http://www.atmel.com/tools/atmelstudio.aspx.
  • Page 9: Build Procedure

    The following procedure is explained for SAM L21 application example. The same procedure is valid for the case of all the other supported platforms (see Chapter 4) as well. 1. Select New Example Project. Figure 9-1. Creating a New Project Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 10 2. Enter “htpt” in search window and expand Atmel Corp. Projects. The location and the name of the project can be selected in the respective fields. Click OK. Figure 9-2. Selecting HTPT Sensor Application from Example Projects 3. Accept the license Agreement. The studio will generate the Health Thermometer Profile project for SAM L21.
  • Page 11 Building the HTPT Temperature Sensor Application 5. Download the application via the USB to the SAM L21 board. 6. Once the application is flashed, it is ready to be simulated as Health Thermometer Device. Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 12 Figure 9-4. Flashing the Application on Atmel MCU Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 13: Running The Demo

    Wait for around 10 seconds for the patches to be downloaded from SAM L21 to ATBTLC1000 board. The board should be in advertising mode. Ensure that the console log looks as shown below. Figure 10-1. Console Log for Advertising Mode Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 14 Start the Thermometer application on the iPhone/Android: Figure 10-2. iOS (left)/Android (right) Thermometer Profile App Launch Screen Use the Atmel Smart Connect app to scan for devices. A device with name ‘ATMEL-HTP’ will be seen in the list of discovered devices. Figure 10-3.
  • Page 15 Click on ATMEL-HTP to connect to the device. Subsequently the services page will be seen. Clicking on the services will result in initiation of pairing procedure. Enter the pass key ”123456” show in the Tera term in the pairing pop up.
  • Page 16 The temperature value, RSSI and the device name are displayed on the Mobile App. Console log will be as shown below. Figure 10-6. App Health Thermometer Connected Screen Figure 10-7. Console Log after Connection, Pairing, and with Notifications Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 17 (see Chapter 4). The new value should be updated in the application. Figure 10-8. SW0 Button for changing Body Measurement Location 11. On the Atmel Smart Connect application, going back to the scanning screen will disconnect the device with mobile application. Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE]...
  • Page 18: Software Architecture

    Profile, the profile in itself is implemented inside ATBTLC1000. Specific HTPT APIs are provided as part of the Adapter API that is used by the HTP example application. Figure 11-1. BluSDK Software Architecture Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 19: Console Logging

    Example HTP App Console Log – After Initialization is Completed Figure 12-1. The screenshot below shows the information about connection and temperature notification. Example HTP App Console Log – Connection, Pairing, and Temperature Notification Figure 12-2. Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 20: Atmel Evaluation Board/Kit Important Notice And Disclaimer

    User indemnifies Atmel from any claim arising from user's handling or use of this evaluation board/kit. Except for the limited purpose of internal development and evaluation as specified above, no license, express or implied, by estoppel or otherwise, to any Atmel intellectual property right is granted hereunder.
  • Page 21: Revision History

    Figure 6.4 is updated with SAM4S Xplained Pro image. Section 9.1 Installation Steps are updated. Figure 4-1 is updated. 42530B 11/2015 The screenshots in Chapter 9 are updated. 42530A 09/2015 Initial document release. Health Thermometer Profile (HTP) – Getting Started Guide [USER GUIDE] Atmel-42530C-ATBTLC1000-BluSDK-Health-Thermometer-Profile-HTP-Getting-Started-Guide_UserGuide_022016...
  • Page 22 DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property rig ht is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND COND ITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODU CTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.

Table of Contents