From 8be504601aeb9005b4e227fb2529d12672ea697e Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Tue, 13 Jan 2026 22:40:06 +0800 Subject: Tighten prose. --- _log/etlas.md | 16 +++++++--------- _log/fpm-door-lock-lp.md | 15 +++++++++------ _log/fpm-door-lock-rf.md | 30 +++++++++++++++--------------- _log/matrix-digital-rain.md | 16 +++++++--------- _log/mosfet-switches.md | 16 ++++++++-------- 5 files changed, 46 insertions(+), 47 deletions(-) (limited to '_log') diff --git a/_log/etlas.md b/_log/etlas.md index 6d5bd4e..89a7c84 100644 --- a/_log/etlas.md +++ b/_log/etlas.md @@ -21,17 +21,15 @@ sensor. Stocks: Two weeks EOD data from Polygon.io (max possible). Flask app on VPS -manages watchlist, relays the feed. Backend: httpd + htpasswd + slowcgi + -Flask. +manages watchlist, relays feed. Backend: httpd + htpasswd + slowcgi + Flask. -gui_plot_stocks() plots a stepped graph; was easier to implement, but the code -is hideous; triggers watchdog. vTaskDelay() prevents that. +gui_plot_stocks() plots a stepped graph. Was easier to implement, but the code +is hideous; Triggers watchdog without vTaskDelay(). NOTE: Refactor. Bresenham’s? News: Channel NewsAsia RSS. MCU does the parsing. Didn't plan to have a backend -at the time. Now that I have one for stocks, should relay the feed for -flexibility. +at the time. Now that I have one for stocks, should relay feed for flexibility. Weather: DHT22 single-wire protocol. 26µs/50µs/70µs pulses are too fast for standard ESP32 APIs. Bit-banged relative pulse widths (ported from @@ -42,8 +43,8 @@ and servo before deep sleep. Through-hole MOSFETs that switch at 3.3V are getting harder to find. NDP6020P already obsolete. Replaced linear regulators with MP1584EN DC-DC buck converters. No RFM--noise -isn't a big concern. Buck's pin breakout not great--wouldn't fit commercial dev -boards. +isn't a big concern. Buck's pin breakout not great--wouldn't fit on commercial +dev boards. Squeezed more power savings by underclocking MCU to 8MHz/3.3V. Combined with buck converters: 56% total power savings. @@ -52,7 +53,9 @@ Wake sequence: MCU activates FPM MOSFET, unlocks FPM over UART, scans and matches fingerprint. Match triggers blue LED, servo MOSFET, PWM signal to unlock. No match triggers red LED. MOSFETs off, back to sleep. -Total power savings: 99.9% (30.6mA → 2.9μA). Verdict: Fixed. +Total power savings: 99.9% (30.6mA → 2.9μA). + +Verdict: Fixed. Commit: Guide on BJT switches. ## Which topology? -MOSFETs preferred in professional work—more efficient when on. Harder to drive +MOSFETs preferred in professional work--more efficient when on. Harder to drive at 3.3V due to VGS requirements for full saturation (low RDS(on)). @@ -73,7 +73,7 @@ N-channel: Lower on-resistance, cheaper, more efficient than P-channel. Harder to drive high-side (gate must be above source—requires extra circuitry like MOSFET drivers). -Used P-channel high-side for the door lock redesign. Simpler to drive from 3.3V +Used P-channel high-side for door lock redesign. Simpler to drive from 3.3V MCU, no driver needed. ## Further reading -- cgit v1.2.3