speedradar 2.1.0.0
|
Speed Radar Click is a compact add-on board that comes with a radar motion detector. This board features the K-LD2, a radar transceiver from RFbeam. It is a 24GHz radar with a detection distance for humans of up to 15m and cars of up to 30m. Its digital structure makes it easy to use in an MCU-based application or as a standalone device where movement detection or even a speed measurement is required.
We provide a library for the Speed Radar Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Speed Radar Click driver.
speedradar_cfg_setup
Config Object Initialization function. speedradar_init
Initialization function. speedradar_default_cfg
Click Default Configuration function. speedradar_send_command
Speed Radar send command function. speedradar_get_direction
Speed Radar get direction function. speedradar_get_detection
Speed Radar get detection function. This example demonstrates the use of Speed Radar click board by processing the incoming data and displaying them on the USB UART.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
The demo application sends a command that returns and displays the speed [km/h] and magnitude [dB] of the dominant movement for the forward and backward planes of the spectrum, measured frontal to the sensor. Results are being sent to the UART Terminal, where you can track their changes.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.