background image

 

Proximity Reporter 

– Getting Started Guide USER GUIDE 

 

Atmel-42517C-ATBTLC1000-BluSDK-Proximity-Reporter-Getting-Started-Guide_USERGUIDE_022016 

2
2
 

22 

ATMEL EVALUATION BOARD/KIT IMPORTANT NOTICE AND 
DISCLAIMER 

This evaluation board/kit is intended for user's internal development and evaluation purposes only. It is 
not a finished product and may not comply with technical or legal requirements that are applicable to 
finished products, including, without limitation, directives or regulations relating to electromagnetic 
compatibility, recycling (WEE), FCC, CE or UL. Atmel is providing this evaluation board/kit “AS IS” 
without any warranties or indemnities. The user assumes all responsibility and liability for handling and 
use of the evaluation board/kit including, without limitation, the responsibility to take any and all 
appropriate precautions with regard to electrostatic discharge and other technical issues. 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. 
ATMEL SHALL NOT BE LIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR 
CONSEQUENTIAL DAMGES RELATING TO USE OF THIS EVALUATION BOARD/KIT.  

ATMEL CORPORATION 
1600 Technology Drive 
San Jose, CA 95110 
USA 

 

 

 

Summary of Contents for ATBTLC1000 BluSDK

Page 1: ...er and monitors the link quality of the connection based on RSSI reporting from the peer device The Proximity Reporter implements the Link Loss Service Immediate Alert Service and Transmit Power Service The Proximity Reporter receives the alert level configuration from the Monitor and adapts behavior and provides notification accordingly This document explains the details about 1 Getting started w...

Page 2: ... Setup 4 3 2 SAM D21 Xplained Pro Proximity Reporter Setup 4 3 3 SAM G55 Xplained Pro Proximity Reporter setup 5 3 4 SAM 4S Xplained Pro Proximity Reporter setup 5 4 Software Setup 6 4 1 Installation Steps 6 4 2 Build Procedure 7 5 On board LED Configuration 11 5 1 Link Loss 11 5 2 Alert on Path Loss Immediate Alert 11 6 Console Display 12 7 Running the Demo 12 8 BluSDK Software Architecture 21 9 ...

Page 3: ...pported IDEs SAM L21 MCU ATSAML21J18B ATBTLC1000 ATBTLC1000 XSTK ATSAML21 XPRO B ATBTLC1000 XPRO Atmel Studio v7 0 SAM L21 MCU ATSAML21J18A ATBTLC1000 ATSAML21 XPRO ATBTLC1000 XPRO Atmel Studio v7 0 SAM D21 MCU ATSAMD21J18A ATBTLC1000 ATSAMD21 XPRO ATBTLC1000 XPRO Atmel Studio v7 0 SAM G55 MCU ATSAMG55J19 ATBTLC1000 ATSAMG55 XPRO ATBTLC1000 XPRO Atmel Studio v7 0 SAM 4S MCU ATSAM4SD32C ATBTLC1000 ...

Page 4: ...tarted Guide_USERGUIDE_022016 4 4 3 Hardware Setup 3 1 SAM L21 Xplained Pro Proximity Reporter Setup Figure 3 1 ATBTLC1000 Xplained Pro Extension Connected to a SAM L21 Xplained Pro 3 2 SAM D21 Xplained Pro Proximity Reporter Setup Figure 3 2 ATBTLC1000 Xplained Pro Extension Connected to a SAM D21 Xplained Pro ...

Page 5: ... Getting Started Guide_USERGUIDE_022016 5 5 3 3 SAM G55 Xplained Pro Proximity Reporter setup Figure 3 3 ATBTLC1000 Xplained Pro Extension Connected to a SAM G55 Xplained Pro 3 4 SAM 4S Xplained Pro Proximity Reporter setup Figure 3 4 ATBTLC1000 Xplained Pro Extension Connected to a SAM 4S Xplained Pro ...

Page 6: ...dio 7 0 2 Atmel USB Driver Installer 7 0 712 http www atmel com tools atmelstudio aspx 3 Install the standalone ASF package from http www atmel com tools AVRSOFTWAREFRAMEWORK aspx Note Refer to the BluSDK release notes for updates to version numbers of the components mentioned above This ASF msi package will install the following examples within the Atmel Studio environment 1 Proximity Profile Rep...

Page 7: ...ity Reporter Getting Started Guide_USERGUIDE_022016 7 7 4 2 Build Procedure The following procedure is explained for SAM L21 application example The same procedure is valid for the case of other Atmel supported platform as well 1 Select New Example Project Figure 4 1 Creating a New Project ...

Page 8: ...2 Enter Proximity Reporter 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 4 2 Selecting Proximity Reporter Application from Example Projects 3 Accept the license Agreement The studio will generate the Proximity Profile Reporter project for SAM L21 ...

Page 9: ...r Getting Started Guide_USERGUIDE_022016 9 9 4 Building the solution Figure 4 3 Building the Proximity Reporter Application 5 Download the application via the DEBUG USB to the SAM L21 board using Device Programing option available in Tools as shown below Figure 4 4 Selecting Device Programming Option ...

Page 10: ...e USER GUIDE Atmel 42517C ATBTLC1000 BluSDK Proximity Reporter Getting Started Guide_USERGUIDE_022016 1 0 10 6 Program the device to download the Proximity Reporter application as shown below Figure 4 5 Flashing the Application on Atmel MCU ...

Page 11: ... by the Proximity Monitor If the link loss alert level is High Alert then LED blinking rate will be fast 1 second interval and if it is Mild Alert then the blink rate is moderate 2 second interval and for No Alert the LED is turned off 5 2 Alert on Path Loss Immediate Alert This alert is applicable when Immediate Alert Service is implemented The example application relies on path loss configuratio...

Page 12: ...rm shall be opened and attached to the appropriate COM port enumerated by the device on the PC 7 Running the Demo 1 Connect the ATBTLC1000 Xplained Pro Board to SAM L21 Xplained Pro EXT1 as indicated in Figure 3 1 2 Power on the SAM L21 by connecting the USB Cable 3 On the PC open any Terminal Application e g TeraTerm Select the appropriate COM Port Settings Baudrate 115200 None Parity one Stop bi...

Page 13: ...UIDE Atmel 42517C ATBTLC1000 BluSDK Proximity Reporter Getting Started Guide_USERGUIDE_022016 1 3 13 1 On the mobile phone start the Atmel Smart Connect mobile application provided with the release package Figure 7 2 Scanning for Proximity Reporter ...

Page 14: ...USERGUIDE_022016 1 4 14 2 The Atmel Proximity reporter device will be discovered and displayed in the scan screen as shown Figure 7 3 Proximity Reporter Devices Listed in Scan Results 3 Click on the Proximity Reporter device displayed in the scan results and this will initiate the pairing procedure Figure 7 4 Pairing Request ...

Page 15: ... Reporter Getting Started Guide_USERGUIDE_022016 1 5 15 4 Click on Pair A pop up requesting the pass key will appear Enter the pass key 123456 and click on OK as shown below A pop up will appear indicative successful connection Figure 7 5 Pass Key Entry Figure 7 6 Connecting with PXP Reporter ...

Page 16: ...SER GUIDE Atmel 42517C ATBTLC1000 BluSDK Proximity Reporter Getting Started Guide_USERGUIDE_022016 1 6 16 5 On the Proximity Reporter side the console log will display the successful completion of the pairing procedure Figure 7 7 Pass Key Entry ...

Page 17: ...d services will be displayed for the Atmel Proximity Reporter Device Figure 7 8 Display of Services Supported by Proximity Reporter 7 Click on the desired service Link Loss or Immediate Alert for configuration of the alert level characteristics Choose a value from a given set of three values viz High Mild and Low alert levels as shown Figure 7 9 Settings Screen for Configuring the Alert Level ...

Page 18: ... Based on the distance of separation path loss is plotted on the zone radar using received RSSI values from the Proximity Reporter Based on the zone the Proximity Monitor sends the corresponding alert level The console log on the Proximity Reporter will display the corresponding alerts and on board LED behavior will be as specified in Chapter 6 2 Figure 7 10 Proximity Reporter Path Loss Plot Acros...

Page 19: ...ng after until you observe the Link Loss pop up appear The console log on the Proximity Reporter will display the corresponding alerts and when link loss happens will report disconnection The on board LED behavior will be as specified in Chapter 6 1 The lock screen is used to emulate a common use case application where this Link Loss service could be used For e g Key Fob When the user is in close ...

Page 20: ...nnect to the PXP Reporter On moving the mobile device closer to the reporter the connection is re established 11 The TX power service is used to retrieve the TX Power of the Proximity reporter Click on the TX Power Service icon in the services screen The Proximity Monitor reads the TX Power value from the Proximity reporter and displays it as shown below Figure 7 14 Proximity Monitor Reading TX Po...

Page 21: ...ximity Reporter Getting Started Guide_USERGUIDE_022016 2 1 21 8 BluSDK Software Architecture The following diagram illustrates the various layers in the BLE subsystem for the BTLC1000 configuration The External host can be Atmel supported platform Figure 8 1 BluSDK Software Architecture ...

Page 22: ... AS IS without any warranties or indemnities The user assumes all responsibility and liability for handling and use of the evaluation board kit including without limitation the responsibility to take any and all appropriate precautions with regard to electrostatic discharge and other technical issues User indemnifies Atmel from any claim arising from user s handling or use of this evaluation board...

Page 23: ...GUIDE_022016 2 3 23 10 Revision History Doc Rev Date Comments 42517C 02 2016 Table 2 1 is updated with SAM4S support Figure 3 4 is updated with SAM4S Xplained Pro Image Section 4 1 Installation Steps are updated 42517B 11 2015 Figure 3 1 is updated The screenshots in Chapter 4 are updated 42517A 09 2015 Initial document release ...

Page 24: ...ITHOUT LIMITATION DAMAGES FOR LOSS AND PROFITS BUSINESS INTERRUPTION OR LOSS OF INFORMATION ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Atmel makes no representations or warranties with respect to th e accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and ...

Reviews: