Chirp Microsystems SonicLib Programmer's Guide

This programmer's guide provides an introduction to the SonicLib library and how to use it to program Chirp Microsystems' ultrasonic sensors. It covers the organization of the SonicLib files, the steps involved in creating an application, and how to initialize, configure, and sense the sensor.


Chirp Microsystems SonicLib Programmer's Guide - cover page
Brand
Chirp Microsystems
Category
sensor
Document type
User Manual
Language
English
Pages
25
File format
PDF
File size
695 KB
Published
20 October, 2023
Updated
20 October, 2023
MD5 checksum
A285E5CF4C15825782AF4D4D990F2472

About this manual

This document provides step-by-step instructions for using SonicLib to control Chirp ultrasonic sensors in embedded C applications. It covers file organization, initialization, configuration, and sensing operations. The guide emphasizes software-defined sensor control and compatibility across firmware versions.

Key sections include setting up the development environment, initializing hardware and software, configuring sensor modes, and reading range and amplitude data. It also explains how to integrate with board support packages and use HTML documentation for detailed API references.

What's inside

  • Introduction
  • File Organization
  • Creating an Application
  • Initialization
  • Configuration
  • Sensing
  • Sensor Firmware Releases
  • Revision History

Frequently asked questions

What is the purpose of Chirp SonicLib?

It is a set of API functions and sensor driver routines to control Chirp ultrasonic sensors from an embedded C application.

What files are in the chirp micro directory?

It holds SonicLib API modules, internal Chirp sensor driver, sensor firmware files, and HTML documentation.

What must be defined in chirp_board_config.h?

The symbols CHIRP_MAX_NUM_SENSORS and CHIRP_NUM_I2C_BUSES must be defined.

Download PDF (695 KB)