|
LD2410Async
Asynchronous Arduino ESP32 library for the LD2410 mmWave radar sensor
|
All enums, structs, and type helpers for LD2410Async. More...
Classes | |
| struct | ConfigData |
| struct | DetectionData |
| Holds the most recent detection data reported by the radar. More... | |
| struct | StaticData |
Enumerations | |
| enum class | TargetState { NO_TARGET = 0 , MOVING_TARGET = 1 , STATIONARY_TARGET = 2 , MOVING_AND_STATIONARY_TARGET = 3 , AUTOCONFIG_IN_PROGRESS = 4 , AUTOCONFIG_SUCCESS = 5 , AUTOCONFIG_FAILED = 6 } |
| Represents the current target detection state reported by the radar. More... | |
| enum class | LightControl { NOT_SET = -1 , NO_LIGHT_CONTROL = 0 , LIGHT_BELOW_THRESHOLD = 1 , LIGHT_ABOVE_THRESHOLD = 2 } |
| Light-dependent control status of the auxiliary output. More... | |
| enum class | OutputControl { NOT_SET = -1 , DEFAULT_LOW_DETECTED_HIGH = 0 , DEFAULT_HIGH_DETECTED_LOW = 1 } |
| Logic level behavior of the auxiliary output pin. More... | |
| enum class | AutoConfigStatus { NOT_SET = -1 , NOT_IN_PROGRESS , IN_PROGRESS , COMPLETED } |
| State of the automatic threshold configuration routine. More... | |
| enum class | Baudrate { BAUDRATE_9600 = 1 , BAUDRATE_19200 = 2 , BAUDRATE_38400 = 3 , BAUDRATE_57600 = 4 , BAUDRATE_115200 = 5 , BAUDRATE_230500 = 6 , BAUDRATE_256000 = 7 , BAUDRATE_460800 = 8 } |
| enum class | DistanceResolution { NOT_SET = -1 , RESOLUTION_75CM = 0 , RESOLUTION_20CM = 1 } |
| Distance resolution per gate for detection. More... | |
All enums, structs, and type helpers for LD2410Async.
|
strong |
State of the automatic threshold configuration routine.
Auto-config adjusts the sensitivity thresholds for optimal detection in the current environment. This process may take several seconds.
Use NOT_SET only as a placeholder; it is not a valid configuration value.
Definition at line 160 of file LD2410Types.h.
|
strong |
@brief Supported baud rates for the sensor's UART interface.
These values correspond to the configuration commands accepted by the LD2410. After changing the baud rate, a sensor reboot is required, and the ESP32's UART must be reconfigured to match.
Definition at line 195 of file LD2410Types.h.
|
strong |
Distance resolution per gate for detection.
The resolution defines how fine-grained the distance measurement is:
Use NOT_SET only as a placeholder; it is not a valid configuration value.
Definition at line 216 of file LD2410Types.h.
|
strong |
Light-dependent control status of the auxiliary output.
The radar sensor can control an external output based on ambient light level in combination with presence detection.
Use NOT_SET only as a placeholder; it is not a valid configuration value.
Definition at line 93 of file LD2410Types.h.
|
strong |
Logic level behavior of the auxiliary output pin.
Determines whether the output pin is active-high or active-low in relation to presence detection.
Use NOT_SET only as a placeholder; it is not a valid configuration value.
Definition at line 128 of file LD2410Types.h.
|
strong |
Represents the current target detection state reported by the radar.
Values can be combined internally by the sensor depending on its signal evaluation logic. The AUTO-CONFIG states are special values that are only reported while the sensor is running its self-calibration routine.
Definition at line 20 of file LD2410Types.h.