RCWL-0516 icon indicating copy to clipboard operation
RCWL-0516 copied to clipboard

Helping my friend with a cheap Chinese radar light bulb

Open Halo3fanz opened this issue 2 years ago • 5 comments

Hi all,

My friend purchased a light bulb with a radar sensor. It lists for SGD14 (US$10) but is perpetually on sale for SGD4 (US$2.93):

E27 Sensor Radar Light Bulb

However it's detection range was too large (~4m radius). I stumbled on this project and realised the circuit and principles used are similar. Here is the circuit:

image

image

And my messy amateur interpretation of it:

image

The chip is a HYL-1617 (not an easy find and you need a Taobao account) which can be found for RMB0.55 ($0.09). Quite cheap, but the datasheet's only available in Mandarin. I used a translator app to OCR it.

I managed to lower the range down to 2.0m +- 0.2m by modifying the 1Mohm across the Opamp to 145kOhm. I don't have any idea how the relationship of range and resistor value scales in this circuit so I just tried a bunch of different values until I got it right. I think it works similarly to the RCWL-0516's R-GN resistor.

Anyway, just thought you guys might be interested in my little learning experience.

Halo3fanz avatar Apr 08 '22 15:04 Halo3fanz

I am nterested in my little learning experience and want to increase the ON delay time. Could you send me the HYL-1617 Mandarin datashheet? I can't find it on any website. Thank you.

lluotx avatar Mar 05 '23 16:03 lluotx

I also tried to increase the ON delay time - from reading the manual on Taobao (via google translate), I understood that increasing the 680k resistor between VDD and CT should increase the ON delay time. I put 1M there, but it didn't turn on afterwards. I guess there's some limit how much it can handle? Or I made an error while soldering.

From the manual I also got that after every ON period, there's a mandatory OFF period that always is 0.07x as long as the ON period.

Anyway, maybe the manual on Taobao is also wrong, because it mentions MA5002 all over the place.

tiltec avatar Jan 05 '24 22:01 tiltec

@Halo3fanz thank you for your amazing work on drawing the schematic
@tiltec I also wanted to extend the duration time that the lamp remained on.
I was more lucky, it worked for me R=1M,C=1nF->t=40Sec R=1M,C=3nF->t=120Sec R=1M,C=10nF->t=6,5min=400Sec (but the hold-off time became too long)

Another drawback of this implementation is that it is not re-trigger-able. Once triggered, it will go off after the configured time, regardless if it detected additional movement during the "on" time. I have not looked into that, but I want to fix it... it is annoying

RadarLampOnTimeMod

RadarLampTestSetup

/chris

cvdabbeele avatar Feb 03 '24 22:02 cvdabbeele

Update: Disconnecting pin4 from the pcb and connecting it via 10K ohm to pin 8 makes it retriggerable I have the impression that this works so much better... no need to change the RC timing. I see that pin 4 is also connected to the LDR, so I'm not sure if this modification is going to mess with the light sensitivity I'll do some field testing later HYL1617-PinOut_6593 /chriV

cvdabbeele avatar Feb 03 '24 23:02 cvdabbeele

Update: the modified lamp has now been working for a couple of weeks. It is in a dark room and has to light up multiple times per day. It nicely re-triggers, as long as it sees movement, and the light has regularly been "on" continuously for 15 min without me having to wave my arms or anything.
So far, no negative effects on this hack /chriV

cvdabbeele avatar Feb 27 '24 21:02 cvdabbeele