🌈 ESP32-S3 Rainbow: ZX Spectrum Emulator Board! Get it on Crowd Supply →
View All Posts
read
Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
HELP SUPPORT MY WORK: If you're feeling flush then please stop by Patreon Or you can make a one off donation via ko-fi

A little while back I ripped the PIR and mystery chip out of one of these cheap night lights and dropped a microwave radar module in its place. It worked beautifully: much better sensitivity, sensible timeout, the whole thing tucked back into the original case like nothing had happened.

But I had a sneaking suspicion I might have improved one thing and quietly ruined another. The radar module is always on. The PIR-and-mystery-chip combo, on the other hand, looked like it was doing something clever with sleep. So before I get smug about my mod, let’s actually measure what each version is pulling from the battery.

Out comes the Nordic Power Profiler Kit II.

PPK2 wired up to the original night light PCB

The Original: LEDs On

Power the supply on, start logging, and the LEDs immediately come up to greet me. It takes a moment to actually trigger because I’ve taped over the LDR (the night light flatly refuses to light up unless it thinks it’s dark), but once it triggers we’re sitting at about 80 mA, which matches the last time I measured this on the bench.

PPK trace with the LEDs on, drawing about 80 mA

That’s the easy bit. The interesting question is what the board does when it’s not lighting up.

The Original: Waiting Mode

Wait long enough for the LEDs to time out and the trace drops off a cliff. The board settles into a “waiting for movement” mode at roughly 700-800 ”A. Fine, that’s basically what a comparator and a small MCU sipping at the PIR signal ought to look like.

But then something weird starts happening. Every so often the trace drops down to a tiny fraction of that. Not lower-by-a-bit. Much lower, about 30 ”A.

The mystery chip's pulsed ultra-low-power mode

It sits down there for a while, then briefly pops back up to a few hundred microamps, then drops again. It’s clearly a sleep-and-poke pattern: the chip is mostly asleep and only briefly waking up to look at the PIR. As long as I don’t move, it stays in this ultra-low-power mode pretty much indefinitely.

That’s actually really impressive for a chip with all its identifying marks sanded off.

Doing the Maths on the Original

Scroll back to a chunk of the ultra-low-power section, drag a selection across it, and the PPK helpfully spits out the average: 72 ”A.

Selecting the ultra-low-power region: 72 ”A average

And during the noisier “actively monitoring” segments it’s averaging more like 700-800 ”A. So depending on what mood it’s in, the original is sipping between 72 ”A and around 0.8 mA. Whichever number we pick, on its 350 mAh cell that’s a lot of standby time. In theory the 72 ”A figure puts it at something like 200 days. In practice it definitely doesn’t last that long, but the cell is almost certainly not really 350 mAh either.

The really annoying thing is that I already know from living with these things that the original barely triggers. So all that lovely low power gets wasted because the night light isn’t actually on when you want it to be. Which is, you know, the entire point of a night light.

My Mod: On the PPK

Swap the leads onto the radar version. There’s a current limit resistor in series with the indicator LED here so I don’t have to worry about the LED itself drawing a lot.

Radar-modded board hooked up to the PPK

Wait the ~40 seconds for the radar’s extended timeout to expire (that big cap on the CTM pad is doing its job) and then we get to see the real story.

My Mod: Idle Current

LED out, no movement, just sitting there waiting. The trace settles into a fairly fat band of noise centred around 2.85-2.9 mA.

Radar version drawing 2.85 mA at idle

I tried covering and uncovering the LDR to see whether the radar module was doing anything clever with it. Does it actually shut down in daylight, or just gate the output? Spoiler: it just gates the output. The module itself draws the same ~2.86 mA whether the LDR thinks it’s bright or dark. The LDR is purely there to stop the LEDs lighting up during the day, not to save power.

Honestly, 2.8 mA isn’t that bad for a radar module that’s continuously transmitting and listening. It’s just a lot more than 72 ”A.

So
 Did I Make It Worse?

Time to be honest with the numbers.

Original 72 ”A / 350 mAh / ~200 days versus Improved 2.8 mA / 820 mAh / ~12 days

On paper, the original on its sad little 350 mAh cell at 72 ”A average should run for around 200 days. My “improved” version at 2.8 mA on the 820 mAh cell I fitted comes out at
 about 12 days.

Ouch.

In fairness, the original definitely doesn’t get anywhere near 200 days in real life, partly because the cell is optimistic and partly because every actual trigger spends time at 80 mA. And my mod actually triggers reliably, which the original conspicuously does not. But still, twelve days between charges is rubbish for something that’s supposed to live on a wall.

Salvaging It

All is not lost. I’ve got a stash of much beefier 2000 mAh cells that physically fit inside the case if I’m a bit careful about packaging.

2000 mAh Liter Energy Battery dropped into the case

Swapping that in gets the modded version to roughly 30 days between charges, which is much more like it. Not as flashy as “charge it four times a year”, but I’ll actually believe 30 days from a thing that genuinely turns on when I walk past.

So yes: strictly on standby current, I made it considerably worse. But factor in “does it actually do its job”, and a bigger cell, and I think I’m still ahead. Just.

The bit that’s still nagging at me is the original. Whatever that mystery chip is doing in its sleep mode is really nicely done; 72 ”A average is properly low. If I could find a way to make the original trigger reliably, I’d have basically the perfect night light. That’s probably a project for another day.

If you want to watch the meters in motion (including the satisfying moment when the trace drops to a pancake-flat 30 ”A), it’s all on YouTube.

Related Posts

Hacking a Cheap PIR Night Light Into Something Actually Useful - Sick of flaky PIR night lights with laughable range and timeouts, I cracked one open, reverse‑engineered the sanded‑off mystery chip, and swapped the PIR for an RC‑WL0516 microwave radar. I added an LDR, bumped the timeout with a cap, drove the LEDs via a MOSFET and resistor, and upgraded the cell to 820 mAh—all neatly tucked back into the original shell. Result: way better sensitivity, sensible timeout, and battery life that should finally match the hype. It works. Now to do the rest of them.
Brain Surgery - I cracked open a cheap Halloween toy, found the super-simple LED + LR41 setup with the arm-as-switch trick, and swapped the ‘empty head’ for my own CH32V003 + buzzer PCB. Now it screams as well as shines—powered by a small lithium cell for extra volume because if you’re going to be annoying, do it properly. New schematic, new brains, same spooky vibes.
When “Software Bugs” Are Actually Bad Soldering - A quick MLX90640 IR camera test turned into a dead-on-I2C mystery. I ran the usual checks—addresses, pull-ups, voltages, wiring—and even fixed my forgotten UART/I2C jumper, but still nothing. A peek under the microscope revealed sketchy solder on the 3V3 LDO; a quick reflow and the sensor sprang to life. Lesson relearned: don’t trust factory soldering, look early with a microscope, and stop blaming software when the hardware’s silent.
I Bodged a microSD Adapter Back to Life - A cheap microSD adapter died with a horrible scratchy noise, so instead of binning it I cracked it open, found a snapped spring contact, and soldered on a resistor lead as a makeshift tip. Against all odds, it worked and the card mounted—proof these things are just spring contacts—but it’s mechanically cursed and absolutely not to be trusted. Fun experiment, not advice.
I Built a 27V Circuit to Fix This $3 Gadget - I revived a cheap scribble pad by swapping its fried board for a tiny PCB that boosts a coin cell to 27 V—enough to cleanly reset the bistable LCD. It’s a Joule Thief with Zener regulation and twin 220 ”H inductors (mounted in opposite orientations), pulling ~17 mA during charge and ~7 mA while regulating. It’s coin-cell friendly, works great, and just needs a bit of case surgery for a perfect fit.

Related Videos

Making this CR*P Night Light GOOD - I've been picking up cheap motion night lights—performance meh, battery life definitely not 'four charges a year'. So I cracked one open for a Big Clive-style reverse-engineer: TP4054 charger at ~300 mA into a tiny 350 mAh cell, an 8-pin mystery PIR/LED driver taking the PIR and LDR directly and sinking the LED cathodes. No visible current limiting on the board, but measured ~68 mA on the bench so it's baked into the chip. Then I gutted the brains, dropped in an RC-WL0516 radar sensor, added an LDR and a timing cap to stretch the ~3 s timeout, and drove the LEDs with a MOSFET and proper current limiting. Swapped in a bigger 820 mAh battery, reassembled so it still charges and looks stock—and now it actually works nicely. Also, bonus anti-subscribe jam. Good as new.
HELP SUPPORT MY WORK: If you're feeling flush then please stop by Patreon Or you can make a one off donation via ko-fi
Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
Blog Logo

Chris Greening


Published

> Image

atomic14

A collection of slightly mad projects, instructive/educational videos, and generally interesting stuff. Building projects around the Arduino and ESP32 platforms - we'll be exploring AI, Computer Vision, Audio, 3D Printing - it may get a bit eclectic...

View All Posts