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.
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...
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...
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...
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...
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.
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...
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]...
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...
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...
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.
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.