Download Print this page
Laird BL652 Quick Start Manual

Laird BL652 Quick Start Manual

At interface smartbasic application
Hide thumbs Also See for BL652:

Advertisement

Quick Links

A
Quick Start Guide
Laird's BL652 and BL654 modules are deployed with embedded smartBASIC. smartBASIC is an event-driven programming
language that does not require complex toolchains and allows the quick creation of custom applications. The language
provides an easy to use API to the underlying Bluetooth, NFC and other hardware and it in turn will generate events that
the developer can service through handlers written in smartBASIC.
This guide assumes that you are familiar with loading smartBASIC applications into the module. If not, please refer to the
application note Loading smartBASIC Applications which is available from the BL654 product page:
https://www.lairdtech.com/products/bl654-ble-thread-nfc-modules
This quick start guide explains how to perform the following:
Load the AT Interface application into two devices
Make a BLE Virtual Serial Port connection
Send the text hello from one device to the second
Send the text world in the reverse direction
Disconnection
To perform the steps in this document, you need the following:
Two devices which could be any one of a DVK-BL652 or DVK-BL654 development board or BL654 USB dongles.
USB-A to USB-micro cable (included with development board) which is not needed if you use a BL654 USB dongle.
UwTerminalX (v1.10a or later recommended), available at
BL652 smartBASIC sample applications, available at
https://github.com/LairdCP/BL654-Applications
application that will need to be loaded.
(Recommended) The latest firmware for your module which can be found on the BL652 page:
http://www.lairdtech.com/products/bl652-ble-module
ble-thread-nfc-modules
To begin, you must physically connect the two devices to your PC and connect to them via UwTerminalX.
To do so, complete the following:
1.
Connect the USB dongle or development board to your PC via the included USB micro cable.
2.
Power your development board (SW4).
3.
Launch UwTerminalX.
4.
From the Update tab within the UwTerminalX pane, click Check for Updates to ensure you're using the latest version
of UwTerminalX with support for the BL652 or BL654.
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/bluetooth
https://github.com/LairdCP/BL652-Applications
in which you will find a folder called 'ATinterface' which contains the
under the 'Software' section
© Copyright 2018 Laird. All Rights Reserved
https://github.com/LairdCP/UwTerminalX/releases
or BL654 page:
https://www.lairdtech.com/products/bl654-
1
v1.0
or
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610

Advertisement

loading

Summary of Contents for Laird BL652

  • Page 1 To perform the steps in this document, you need the following: ▪ Two devices which could be any one of a DVK-BL652 or DVK-BL654 development board or BL654 USB dongles. ▪ USB-A to USB-micro cable (included with development board) which is not needed if you use a BL654 USB dongle.
  • Page 2 Press Enter on your keyboard. If you see the return 00, you are successfully communicating over UART. Figure 1: Terminal returns 00 if connected successfully Embedded Wireless Solutions Support Center: Americas: +1-800-492-2320 http://ews-support.lairdtech.com Europe: +44-1628-858-940 www.lairdtech.com/bluetooth © Copyright 2018 Laird. All Rights Reserved Hong Kong: +852 2923 0610...
  • Page 3 XCompiler on your machine. This is enabled by default and can be disabled in the Config tab. For this quick start guide, we use the ATinterface application in the BL652 or BL654 applications GitHub library. To compile, load, and run this application, complete the steps below.
  • Page 4 13. To check this on the first module, type AT+LSCN and press Enter. The module scans for adverts for about ten seconds and displays any adverts received. 01EA06E7EF3E5F and LAIRD BL654-EF3E5F are specific to this example. Your numbers will be different. 14. Enter AT+LSCN on the second module. The first module is also advertising similarly.
  • Page 5 A complete AT Interface user guide is available from the BL652 product page: https://www.lairdtech.com/products/bl654-ble-thread-nfc-modules Laird’s smartBASIC ATinterface application is available for use in your design. This can accelerate and simplify your development of wireless by enabling an existing system that sends serial data over a wired connection. You are free and encouraged to modify the source of that application to suit your needs.
  • Page 6 All Laird products are sold pursuant to the Laird Terms and Conditions of Sale in effect from time to time, a copy of which will be furnished upon request. When used as a tradename herein, Laird means Laird PLC or one or more subsidiaries of Laird PLC.

This manual is also suitable for:

Bl654