Hey there.
Like some of us here in the community, I also have the desire to recognise movement so well that, for example, lights are switched on/off perfectly when entering the room.
With sensors based on the RCWL-0516 (wireless) or PIR (optical) I have never managed to achieve sufficiently good results. Although my cat was certainly happy when the light went on for him
Cost at the moment (with tax in my country) about 40âŹ
Can detect movement
Can detect presence
Can detect micro movement
Has an autonomous-mode
Here is a nice promo video: (title: Getting started with BGT60LTR11AIP Shield)
I have pre-ordered 2 modules and hope that they will be available soon. With this thread here, I wanted to draw attention to it and I would be very happy if a few others can be found here who would have the fun to implement.
On the other hand, I am neither an expert nor a newcomer in building diy iot devices. Probably I would take the ESP32 first to then also integrate as a HomeAssistant sensor.
I would be very happy about your opinions and tips.
Radar sensors make for a fun project. There are indeed lots out there available today. Including the sensor in the FP1. There is a reddit thread with the part a few months ago. FCCID pictures also give it away. I checked back then and it was in stock.
Let us know how you make out with your new sensor when it arrives.
Following this, am very interested in these as well. Please update once you receive the modules how you can integrate them and create your own sensors.
Pretty sure that a large corporation is a far larger target for litigation for breach of spectrum than an individual using such low power modules that the signal likely cannot even be detected beyond the walls of their own home.
I created a prototype yesterday. It detects movement and approaches with autonomous mode. I got all the boolean switches I needed with zigbee2mqtt and integrated them into my homeassistant.
So my BGT60 is now connected with 4 wires to an CC2530 test-dev-board.
I create a firmware for that with the ptvo-firmware-creator and flashed it with a raspberry-pi-zero 1.3. I used this flash-tool-set but you can use a cc-flasher for that too.
The flash process for me, was like this here: Alternative flashing methods | Zigbee2MQTT
I will later create a diagram to show you the right connection, If you need this(?).
Ad 1. I donât think youâll be able to do anything about it. Thatâs the drawback of having something that is sensitive enough to detect someone sitting or something similar. The only thing I see would be to use some form of enter/leave events to know that something is in the monitored area and decide at that moment that itâs a person through the size. If itâs big enough: itâs human. And after that, even if the movement is much smaller (breathing for example), but the leave wasnât fired - itâs still human. So for your cat it would work like: on enter itâs too small to be human so no reason to monitor for occupancy.
Of course thereâs also possibility to use additional sensors, like youâve mentioned in the different thread. Checking for temperature as well would also remove false triggers from some things. The best would be to know combine size and temperature with events.
Ad 2. With 60GHz sensor anything can trigger if you donât compensate for that. Moving curtains, leaves, fanâŠanything. Positioning is crucial here, to minimize possible environmental factors. If you need it for specific task, like âknowingâ if someone is sitting on the couch, then itâs best to narrow down the sensorâs view and point it directly at such couch.
Thank you for your comments. I actually think there should be a way to lower the sensitivity of the sensor. Only I do not quite understand how to do this
At the moment I use the autonomous mode. This is the simple mode of the chip. For this I simply evaluate the pins TDet and PDet. One stands for presence, the other if something moves towards or away from the sensor.
On page 18 of this PDFâs is described how to influence them. At least thatâs how I understood itâŠ
I canât help you with things like that, sorry. But I want to advise on the sensitivity thing - if you lower it too much, you wonât be able to detect when someone is not moving (like sitting on the couch) because sensor wonât see all those mico-movements that humans normally do (breathing is one of them). Thatâs the main issue, so to speak, with mmWave sensors. They see too much
This is good advice. These sensors can be tricky to get dialed in. And the sensor that offers more flexible configuration options are going to be easier to setup.
Oof⊠âŠa sensor that requires soldering to configure sensitivity isnât going to be fun to work with.
@Draghmar - What exactly do you envision âenter/leaveâ to report? Seems that a sensor could never âknow this by defaultâ since âentering/leavingâ implies room boundaries which the sensor would be unaware of. Perhaps a combination of a âdistanceâ setting as well as âapproaching/leavingâ? (funny angles would complicate thisâŠ)
The RFBeam K-LD2 does the distance + approach/recede; but doesnât combine them into enter/leave. Nor is it a presence sensor.
But an interesting proposition none-the-less. The challenge I see is when you get a âfalse positive for leaving but are still in the roomâ. Do you have to leave then re-enter to reset it?? eeks!
The enter event would simply detect any move in the detectable area. In most cases the object would move into the area, so the sensor would detect it at the edge, thus âknowingâ that the enter happened. There can be of course situations where something would start moving somewhere in the middle of the area. I donât know if it should trigger the same event (I donât thinks so) but it should try to determine if that is a human anyway. More elaborate system could remember last position of the object and try to âguessâ if that movement is something new or not.
Other case would be enter that would stay at the edge, which would mean it would be small but in reality we wouldnât know if itâs small because it is small or because it would have iceberg syndrome. I guess that would be a difference between enter and occupancy.
As for the leave it would work in the opposite way: just track the object when it disappears when moving to the edge. In both events I imaging it could work in a similar way to edge swipe detection in smartphones. That would remove the issue of the false positives you were suggesting.
I donât have knowledge on how exactly those sensors work. For example I donât know if one sensor is enough to determine position in space or if two are needed for calculations (FP1 has one sensor as far I know so I guess one is enough). The detectable area should be known, at least in theory, because specs tells us what are max horizontal and vertical ranges.