AN-000156
CH-101 SonicLink Software Quick Start Guide

Chirp Microsystems
CH-101 SonicLink Software
Quick Start Guide

Chirp Microsystems reserves the right to change
specifications and information herein withoutnotice.

Chirp Microsystems
2560 Ninth Street, Ste 200, Berkeley, CA 94710
U.S.A+1(510) 640–8155
www.chirpmicro.com

Document Number: AN-000156
Revision: 1.1
Release Date: 09/27/2019

AN-000156

Overview
This document is a guide for installing and using the SonicLink tool in combination with the TDK/Chirp SmartSonic
board. Users will gain hands-on experience with the unique ultrasonic sensing technology of the Chirp CH-101
sensor, which provides accurate range measurements in a compact, low-power device.
Requirements
1.
2.
3.
4.
5.

PC with Windows OS. (Tested on Windows 8 64-bit, and Windows 10 64-bit.)
TDK/Chirp Microsystems SmartSonic evaluation board.
Two Micro USB cables.
Atmel Studio 7.0 IDE.
Internet connection (if the .NET framework and Atmel/FTDI drivers/tools are not previously installed onthe target PC).

Document Number: AN-000156
Revision: 1.1

Page 2 of 18

AN-000156
Hardware Configuration
The SmartSonic board is used with an external evaluation board as shown below. For initial hardware setup
and programming of the Atmel chip, two micro USB cable connections are required but once the MCU isflashed then only the UART/USB Data connection is required. The board jumpers should be set in theirdefault configuration as shown in the figure below.

To connect an external sensor to the daughterboard, the flex cable will be inserted silver side up at theSmartSonic board and external sensor board. You can see in the pictures that the blue side of flex cable isfacing downward, away from the sensor. When connected properly, an external sensor should lie flat on
the work surface, facing upwards.

For best performance, external CH-101 sensor modules that have the omnidirectional housing (partnumber MOD_CH101-03-01) should be mounted in a flat plate of at least 100 mm (4”) diameter with thesensor’s acoustic housing flush with the surface of the plate. Consult the MOD_CH101 module datasheet
for more information.

Document Number: AN-000156
Revision: 1.1

Page 3 of 18

AN-000156
Installation
1.

Run the “SonicLink_X.X.X_Installer.exe” installer. It will prompt for the installation directory. Once thedesired installation directory is selected, click “Next”.

2.

Check the “Install FTDI drivers” box then click “Next”.

3.

Verify the destination folder and start the installation by clicking on “Install”.

Document Number: AN-000156
Revision: 1.1

Page 4 of 18

AN-000156
4.

Wait for the installation to complete and then click “Finish”.

Installing Atmel Studio 7 and FTDI driver
Connect the SmartSonic evaluation board to the computer using the two USB ports (Note: A sensor
daughter card should first be installed on the SmartSonic board.) Install the following tool to allow FlashMCU Firmware:
ATSAMG55 (web installer) If you haven’t installed Atmel Studio 7, you can download the installer here:
https://www.microchip.com/mplab/avr-support/atmel-studio-7

Document Number: AN-000156
Revision: 1.1

Page 5 of 18

AN-000156
Starting the SonicLink Application
1.

Navigate to the installation directory and run the “SonicLink.exe” executable or the SonicLink icon on
the desktop.

Connecting the SmartSonic Board
1.

If no SmartSonic boards are connected to the USB/COM ports, the Serial Port and “Connect” button
will be grayed out. If you do not observe a connected SmartSonic board in the serial port list, closeand restart the SonicLink application as hardware discovery only occurs during launch of the app.

2.

If a SmartSonic board is connected through a COM port it will appear in the “Serial port” list. Selectthe SmartSonic board from the list and click “Connect”.
If the board needs to be initialized with firmware click “Flash MCU Firmware” to program the MCU.
Otherwise go to the next step.

3.

Add a configuration to match the sensor(s) by clicking “Config Sensors”. Configure the sensor(s) inthe following order.

Document Number: AN-000156
Revision: 1.1

Page 6 of 18

AN-000156

1) First select “Sensor Type”
a. CH-101
2) Select Normal or Short Range operating mode under “Sensor Mode”
a. Normal mode – allows detection of targets from 10 cm to 120 cm
b. Short-Range mode – allows detection of targets from 4 cm to 25 cm
3) Select the full-scale range in millimeters, “FSR (mm)”4) Select “Sample Rate”
5) Select “Sensor 0” through “Sensor 3” configuration settings from the following
a. Not Selected: sensor not usedb. Tx_Rx: Transmit and Receive Modec. Rx Only: Receive Only Mode6) Optional selections can be made by checking the box for the following features
a. Static Target Rejection (STR)i.
The STR mode is used to reject echoes from stationary objects that are in
the sensor’s field of view. In this mode, only the range of moving targets
will be reported in the sensor’s range output. This feature is useful when
the CH-101 sensor must operate in a cluttered environment.
b. Amplitude-scan (A-scan)i.
Sample Rates are limited to 30 S/s for CH-101 when A-scan is enabled. This
limitation is due to the additional time required to read the A-scan datafrom each measurement over the I2C bus.
Once you have the connected sensor(s) configured appropriately, click “Done”.

Document Number: AN-000156
Revision: 1.1

Page 7 of 18

AN-000156

4.

To remove a sensor configuration, click theDocument Number: AN-000156
Revision: 1.1

Page 8 of 18

button.

AN-000156
Adding Sensors to the Configuration
1.
2.
3.

To add sensor(s) to an existing configuration, press thebutton in the main sensors window to
remove any current configurations.
Next, press “Disconnect” to end the serial port connection and allow the board to be reset andfirmware loaded to the new sensors connected to the SmartSonic board.
Additional sensors can be connected to the daughterboard using flex cables1) The on-board sensor U15 shares the same bus with Sensor 0 at connector J6. To use an offboard sensor that is connected to the flex connector Sensor 0 / J6 then you will need toselect J6 using the switch on the edge of the daughterboard, as shown circled in red below.

4.

Next press the physical “Reset” button on the SmartSonic host board to clear the configurations.

5.
6.
7.

Click “Connect” on the SonicLink GUI
Add a configuration to match the sensor(s) by clicking “Config Sensors”.
Once you have the sensor(s) connected to the SmartSonic board configured appropriately, click“Done”.

Document Number: AN-000156
Revision: 1.1

Page 9 of 18

AN-000156
Starting the Data Capture
1.

After a configuration has been added, click on thebutton to initialize the board and sensor you wantto launch. After the initialization completes, a set of tabs will open in the main window, and datacollection will begin as shown below. Click on thebutton for each sensor you want to collect datafrom. You will note that each sensor initialized will light a blue LED next to the corresponding connector
on the daughterboard. In the example below, sensor 0 and sensor 2 have been initialized. The Blue LED
next to J6 will illuminate when the onboard sensor is initialized.

As the sensor module receives echoes from a target, the table displays the target’s range and the echo
amplitude. Depending on how many sensors are connected to the evaluation kit board (1 to 4) the software
will generate the corresponding range data table and graph tabs.

Document Number: AN-000156
Revision: 1.1

Page 10 of 18

AN-000156
Viewing the Data
1.

Once the data capture has started, click on the tabs to view the data from the sensor. Each tab islabeled with the corresponding sensor number (sensor 0 through 3). The following shows an example
with one CH-101 sensor connected as sensor 0.
1) The “Sensor 0 Table” tab shows the live range (in mm) and amplitude values as they are
returned from sensor 0. You can choose to log the captured range and amplitude data to atext file – see “Storing the Data” in the next section.

Document Number: AN-000156
Revision: 1.1

Page 11 of 18

AN-000156
2) The “Sensor 0 Range” shows live range data in a graphical representation.

The chart displays the measured range to the closest target over time. Depending on how manysensors are connected to the evaluation kit board (1 to 4), the software will generate thecorresponding range display windows.

Document Number: AN-000156
Revision: 1.1

Page 12 of 18

AN-000156
3) The “Sensor 0 Amplitude” shows the live Amplitude data in graphical format.

The Amplitude tab shows amplitude of the received echo over time. The units of this display are leastsignificant bits (LSBs) of the sensor’s on-chip ADC. The full-scale value is 32,768. The amplitude varies basedon the object’s size, surface texture and shape. As the object moves further away from the sensor theamplitude diminishes.

Document Number: AN-000156
Revision: 1.1

Page 13 of 18

AN-000156
4) The “Sensor 0 A-scan” tab shows the live Amplitude scan (A-scan) data in graphicalrepresentation.

While the range and amplitude tabs display the range and amplitude of the nearest target, the A-scan tab
displays the ultrasound amplitude at all range points for the current pulse-echo measurement, commonly
known as an A-scan. In this plot, the vertical axis represents the echo (received signal) amplitude (in LSBs)
and the horizontal axis represents the range in mm. The distance to a given object can be determined by
the position of the corresponding echo on the horizontal range axis. The size, orientation, and surface
texture of the object will affect the echo’s amplitude.

Document Number: AN-000156
Revision: 1.1

Page 14 of 18

AN-000156
Viewing Multiple Data Windows
1.

You have the option to open multiple window tabs to view in either horizontal or vertical tabs asshown in example below. To open a second data tab either horizontally or vertically, right click yourmouse cursor on the tab you wish to tile and a drop-down menu will open. Select either “NewHorizontal Tab Group” or “New Vertical Tab Group”.

Example of Vertical Tab Group for Range and A-scanDocument Number: AN-000156
Revision: 1.1

Page 15 of 18

AN-000156
Example of Horizontal Tab Group for Range and A-scan

Storing the Data
1.

You can choose to save the time-stamped Range and Amplitude data by entering a path/filename in the “Log file” field.
You may set the directory for the log file by clicking thebutton and browsing for the desired directory. Once thefile and directory settings are correct, click “Enable” to begin logging the data to the file.

Document Number: AN-000156
Revision: 1.1

Page 16 of 18

AN-000156

2.

To stop saving the data to a file, press the “Disable” button.

Pausing or Resume the Data Capture
1.

To Pause the data capture for a given sensor, press the2.

To Resume the data capture for a given sensor, press theDocument Number: AN-000156
Revision: 1.1

Page 17 of 18

button in the main Sensors Window
button in the main Sensors Window.

AN-000156

REVISION HISTORY
Revision Date

Revision

Description

9/5/2019

1.0

Updated SW reference

9/27/2019

1.1

Add module mount information

This information furnished by Chirp Microsystems, Inc. (“Chirp Microsystems”) is believed to be accurate and reliable. However, no responsibility is assumed by Chirp
Microsystems for its use, or for any infringements of patents or other rights of third parties that may result from its use. Specifications are subject to change without
notice. Chirp Microsystems reserves the right to make changes to this product, including its circuits and software, in order to improve its design and/or performance,
without prior notice. Chirp Microsystems makes no warranties, neither expressed nor implied, regarding the information and specifications contained in this document.
Chirp Microsystems assumes no responsibility for any claims or damages arising from information contained in this document, or from the use of products and services
detailed therein. This includes, but is not limited to, claims or damages based on the infringement of patents, copyrights, mask work and/or other intellectual property
rights.
Certain intellectual property owned by Chirp Microsystems and described in this document is patent protected. No license is granted by implication or otherwise under
any patent or patent rights of Chirp Microsystems. This publication supersedes and replaces all information previously supplied. Trademarks that are registeredtrademarks are the property of their respective companies. Chirp Microsystems sensors should not be used or sold in the development, storage, production or utilizationof any conventional or mass-destructive weapons or for any other weapons or life threatening applications, as well as in any other life critical applications such as
medical equipment, transportation, aerospace and nuclear instruments, undersea equipment, power plant equipment, disaster prevention and crime preventionequipment.
©2016—2017 Chirp Microsystems. All rights reserved. Chirp Microsystems and the Chirp Microsystems logo are trademarks of Chirp Microsystems, Inc. The TDK logo
is a trademark of TDK Corporation. Other company and product names may be trademarks of the respective companies with which they are associated.

©2019 Chirp Microsystems. All rights reserved.

Document Number: AN-000156
Revision: 1.1

Page 18 of 18