SonicLib Programmer’s Guide for SonicLib v4
●The sensors measure distance (range) by emitting an ultrasonic pulse and measuring the time-of-flight (ToF) for that pulse to travel through the air, either reflected back to the transmitting sensor or received by a second sensor.
●The SonicLib API functions provide a consistent interface for an application to use the sensors in various situations. This is especially important, because all InvenSense ultrasonic sensors are completely software-defined. Except for a few low-level programming interfaces, the SPI or I2C “registers” are simply memory locations determined by the specific sensor firmware being used. They are subject to change between firmware revisions and can vary significantly between firmware images with different feature sets, even for the same device hardware. Operation of the ultrasonic sensors and presenting the data is more complicated than in most other types of devices, requiring intimate interaction with the device.
●The SonicLib API allows your application to use different sensor firmware images or SonicLib updates without requiring code changes.
●This guide explains how to use SonicLib to create your embedded sensing application. Key API functions and sequences are highlighted, with an emphasis on typical use cases. Some options and parameters, and many additional API functions, are not discussed in detail here. For more information on other SonicLib features, refer to the included HTML documentation or the comments in the soniclib.h header file, which provides a complete description of all interfaces.
ICU family 、 ICU-10201 、 ICU20201 、 ICU-30201 、 CH101 、 CH201 、 ICU 、 ICU-20201 、 ICU-x0201 |
|
API functions and sensor driver routines 、 ultrasonic sensors |
|
|
|
User's Guide |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
07/15/2024 |
|
Revision: 3.0 |
|
AN-000175 |
|
2.6 MB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.