- Application: This example code uses M263 I2C to drive TDK CH101 to achieve distance measurement function.
- BSP Version: M263_Series_BSP_CMSIS_V3.00.003
- Hardware: NuMaker-M263KI V1.1
This example code uses the M263 I2C to drive CH101 module to achieve distance measurement function. The CH101 provides accurate range measurements to target at distances up to 1.2m. Unlike other types of ToF rangefinders, such as infrared (IR) sensors, the CH101 is not affected by the color or transparency of objects and works in all lighting conditions.
The EV_MOD_CH101-03-01 module of TDK is used in this example. The module board incorporates a CH101 Ultrasonic Sensor device with an omnidirectional acoustic housing assembly, a capacitor and an FPC/FFC connector, and communicates with main control microcontroller (MCU) through I2C interface. This module can perform pitch-catch and pulse-echo range-finding at distances from 4 cm to 1.2m.
You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0609180445
|