Detection of presence even in small movementsIn automatic lighting, it is often not enou
In automatic lighting, it is often not enough to know that someone just walked through the door. The system must also take into account a person sitting at a table or moving slightly. Hi-Link HLK-LD2401 is a radar module for detecting human presence in internal spaces. Works in the waist 24 GHz and is intended for installation in its own electronic projects, smart lighting, space management and prototypes with Arduin; or ESP32.
The sensor detects movement and micro motion. You can use the result as an input to your application: to display occupancy, trigger timer, change lighting or record event. The final behaviour of the system is determined by the controller program. The module itself therefore does not replace the design of the device, the correct installation and the test in the space where it will actually be used.
The maximum range is not a guaranteed distance for each objective and each space. The result is influenced by installation, orientation, reflections, moving objects and settings. When selecting the area, it is important that the sensor monitors that part of the space you are interested in. Excessive reach can cause reactions due to events outside the desired area.
LD2401 is a presence sensor, not a camera or a human classification system. From his signal, we cannot conclude that a person is a child or an adult. Animals may also affect radar detection, so such a project requires a real test with the desired objective and at the intended location of installation. The manufacturer does not confirm a reliable distinction between children, adults and domestic animals.
For example, for a project in a children’s room, you can test whether the sensor detects presence in a specific area and how long the output remains active when sitting still. To monitor the area where the animal is, check the response at different positions and distances. The result of such a test is the basis for automation settings, not proof that any situation will be detected.
Do not use the module as the only means to control child safety, as a medical monitor or as a safety guard for the machine. Its reasonable use is automation of comfort, development and undemanding perception of occupancy. Where a missed event could cause danger, a solution that is properly planned and verified for that purpose is necessary.
Digital output is practical when you need simple information about the detected presence. The controller reads it and turns on the function or starts the countdown according to its logic. In the UART serial connection, the application can use data transmitted by the selected module version. Format and commands always check in protocol HLK-LD2401.
| Accession | Typical use | Preparation |
|---|---|---|
| GPIO | A simple signal for automation | Appropriate input, signal level and delay processing |
| UART | Serial data reading and communication with module | Correct binding, speed and breakdown of protocol |
| Configuration tool | Spatial adjustment | Supported Connection and Saved Settings |
When connecting to the ESP32, check the concrete plate, its free connections and the permitted load on the power supply. Do not connect sensor output directly to the relay coil or network user. You need an appropriate interface to control the load. UART TTL is also not directly identical to RS232 or RS485.
For the housing, follow the manufacturer’s instructions for the radar window and antenna position. Metal parts can change or disable operation before the antenna. The distance between the sensor and the elements of the housing is also important. The test on the open table therefore does not confirm the same performance after final assembly.
A development example is a table lamp where the ESP32 reads the presence signal and starts the timer only when the sensor reports absence. Discontinue timer presence detected. The user can add a manual key and status view. Thus, behavior is understandable and can be observed during testing.
To fix the problems in the initial version of the program, record the time of the change of exit and the reason for the command to the lamp. If the lamp is switched off prematurely, you can distinguish the problem of perception from the error in the timer. When operating through the network, the local logic should remain clear even when the connection is lost. These decisions are part of your project, not the automatic function of the sensor module.
For a student project, it is useful to compare with another way of perception: you observe both sensors in the same space, maintain the same positions and record the differences. In doing so, do not only assess the maximum reach. Also important are delay, false responses, perception of a dormant person, and simplicity of connection to the remaining electronics.
Official page Hi-Link HLK-LD2401 contain technical data, communication protocol and software tools. Additional available presentation HLK-LD2401 with manufacturer's development files. Select LD2401 when downloading, as similarly named modules use different settings and protocols.
At the Board of Blacks in Ljubljana, we can jointly check the power supply, connection and method of integration into your system. Send the code to the development tiles, sketch the space and destination. This makes it easier to select suitable settings and components and determine a test that will show whether the module fits your project.
Arduino and ESP32: review of power supply, signal levels and module connections. Practical checklist with official sources.
Preview / DownloadProvides sharp and professional prints.
Tested quality for reliable operation.
I2C, SPI and UART are different methods of connecting devices. The choice should be determined by the actual interface of the module and the project requirements, not just the number of free..
Uporaba termalne kamere omogoča hitro odkrivanje napak v elektroniki, preprečuje pregrevanje in zagotavlja hitrejša ter cenejša popravila.
Zakaj se v žarometih nabira vlaga? To ni vdor vode, ampak kondenz! Preberite, kako preprečiti kondenzacijo in podaljšati življenjsko dobo žarometov.
Do not connect the 5-V or 24-V output directly to the ESP32 GPIO. First determine the type of sensor output, then select the appropriate..
Join our sales network and earn up to 35%! You don’t need a company to start – we support you on the way to success and extra earnings.
Discover RustDesk, a free and open source alternative to AnyDesk and TeamViewer that allows easy and safe remote access without restrictions.
Discover the advantages and disadvantages of independent service and how our experience and flexible approach can help you repair your device.
The World of Inks offers innovative solutions for printing, automation and laser welding. Join those who already reduce costs and increase efficiency!
iot,arduino,development,research,learn,advance,innovate,bt,wifi,esp,esp32,eps8266,espressif
15,00 EUR
Add to Cart
stroj za krčenje folije, varnostna folija, zamaški, inox, tri grelne glave, mobilna naprava, pakirna linija, 3D skica
2.500,00 EUR
Add to Cart