From b10690f16d2b310221ffa7995e779f09d146f7f8 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Mon, 5 Jan 2026 13:52:16 +0800 Subject: Tighten etlas prose. --- _site/feed.xml | 2 +- _site/log/etlas/index.html | 30 +++++++++++++----------------- _site/posts.xml | 2 +- 3 files changed, 15 insertions(+), 19 deletions(-) (limited to '_site') diff --git a/_site/feed.xml b/_site/feed.xml index 93d691d..50fefd9 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -1 +1 @@ -Jekyll2026-01-05T12:16:46+08:00http://localhost:4000/feed.xmlASCIIMX | LogW. D. Sadeep MadurangeSearch engine (Perl + FastCGI + SA)2026-01-03T00:00:00+08:002026-01-03T00:00:00+08:00http://localhost:4000/log/site-searchW. D. Sadeep MadurangeMatrix Rain: 2025 refactor2025-12-21T00:00:00+08:002025-12-21T00:00:00+08:00http://localhost:4000/log/matrix-digital-rainW. D. Sadeep MadurangeFingerprint door lock (LP)2025-08-18T00:00:00+08:002025-08-18T00:00:00+08:00http://localhost:4000/log/fpm-door-lock-lpW. D. Sadeep MadurangeHigh-side MOSFET switching2025-06-22T00:00:00+08:002025-06-22T00:00:00+08:00http://localhost:4000/log/mosfet-switchesW. D. Sadeep MadurangeATmega328P at 3.3V and 5V2025-06-10T00:00:00+08:002025-06-10T00:00:00+08:00http://localhost:4000/log/arduino-unoW. D. Sadeep MadurangeFingerprint door lock (RF)2025-06-05T00:00:00+08:002025-06-05T00:00:00+08:00http://localhost:4000/log/fpm-door-lock-rfW. D. Sadeep MadurangeBumblebee: browser automation2025-04-02T00:00:00+08:002025-04-02T00:00:00+08:00http://localhost:4000/log/bumblebeeW. D. Sadeep MadurangeBare-metal ATSAM3X8E2024-09-16T00:00:00+08:002024-09-16T00:00:00+08:00http://localhost:4000/log/arduino-dueW. D. Sadeep MadurangeEtlas: e-paper dashboard2024-09-05T00:00:00+08:002024-09-05T00:00:00+08:00http://localhost:4000/log/etlasW. D. Sadeep MadurangeESP32 prototype e-reader2023-10-24T00:00:00+08:002023-10-24T00:00:00+08:00http://localhost:4000/log/e-readerW. D. Sadeep Madurange \ No newline at end of file +Jekyll2026-01-05T16:42:22+08:00http://localhost:4000/feed.xmlASCIIMX | LogW. D. Sadeep MadurangeSearch engine (Perl + FastCGI + SA)2026-01-03T00:00:00+08:002026-01-03T00:00:00+08:00http://localhost:4000/log/site-searchW. D. Sadeep MadurangeMatrix Rain: 2025 refactor2025-12-21T00:00:00+08:002025-12-21T00:00:00+08:00http://localhost:4000/log/matrix-digital-rainW. D. Sadeep MadurangeFingerprint door lock (LP)2025-08-18T00:00:00+08:002025-08-18T00:00:00+08:00http://localhost:4000/log/fpm-door-lock-lpW. D. Sadeep MadurangeHigh-side MOSFET switching2025-06-22T00:00:00+08:002025-06-22T00:00:00+08:00http://localhost:4000/log/mosfet-switchesW. D. Sadeep MadurangeATmega328P at 3.3V and 5V2025-06-10T00:00:00+08:002025-06-10T00:00:00+08:00http://localhost:4000/log/arduino-unoW. D. Sadeep MadurangeFingerprint door lock (RF)2025-06-05T00:00:00+08:002025-06-05T00:00:00+08:00http://localhost:4000/log/fpm-door-lock-rfW. D. Sadeep MadurangeBumblebee: browser automation2025-04-02T00:00:00+08:002025-04-02T00:00:00+08:00http://localhost:4000/log/bumblebeeW. D. Sadeep MadurangeBare-metal ATSAM3X8E2024-09-16T00:00:00+08:002024-09-16T00:00:00+08:00http://localhost:4000/log/arduino-dueW. D. Sadeep MadurangeEtlas: e-paper dashboard2024-09-05T00:00:00+08:002024-09-05T00:00:00+08:00http://localhost:4000/log/etlasW. D. Sadeep MadurangeESP32 prototype e-reader2023-10-24T00:00:00+08:002023-10-24T00:00:00+08:00http://localhost:4000/log/e-readerW. D. Sadeep Madurange \ No newline at end of file diff --git a/_site/log/etlas/index.html b/_site/log/etlas/index.html index 9362917..f618503 100644 --- a/_site/log/etlas/index.html +++ b/_site/log/etlas/index.html @@ -54,20 +54,18 @@ DHT22 sensor.

-

Stocks: Two weeks EOD prices from Polygon.io (max SRAM holds). Flask app on VPS -relays feed, lets me swap symbols via config. FastCGI + httpd + htpasswd.

+

Stocks: Two weeks EOD prices from Polygon.io (max possible). Flask app on VPS +relays feed; manages watchlist. Backend: httpd + htpasswd + FastCGI + Flask.

-

gui_plot_stocks() triggers WDT. vTaskDelay() prevents that. Stepped graph was -easier to code for the bit-packed framebuffer (not enough memory for much -else), but it’s messy–too messy.

- -

Note to self: Refactor gui_plot_stocks(). Bresenham’s line algorithm perhaps?

+

gui_plot_stocks() triggers watchdog; vTaskDelay() required. Stepped graph was +easier to implement (under memory constraints), but the logic is hideous. Note +to self: Refactor with Bresenham’s?

News: Channel NewsAsia RSS. MCU parses XML directly. Character glyphs stored as -bitmaps in sprites directory.

+bitmaps in header files.

-

Weather: DHT22 via PWM. 26µs/50µs/70µs pulses too fast for standard ESP32 APIs. -Compare relative pulse widths:

+

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 ESP8266):

static inline int dht_await_pin_state(int state, int timeout)
 {
@@ -124,14 +122,12 @@ static inline int dht_get_raw_data(unsigned char buf[BUFLEN])
 }
 
-

Ported from ESP8266.

- -

After flashing new versions, display would stop responding. Didn’t observe this -with e-reader. Issue occurs spontaneously. Couldn’t find root cause. Making a -change like adding a comment or tweaking delay in refresh() (then changing -back) fixed it. Noisy electrical connections?

+

Ghost in the machine: epd_init() stalls intermittently on first refresh() after +flash. Toggling delay values in refresh() resolves it. If first refresh +succeeds, it remains stable. Root cause unknown–suspected power supply issues +from powering display via MCU.

-

Once running, it runs: August 2024 - December 2025.

+

Uptime: August 2024 - January 2026

Commit: a92c86a

diff --git a/_site/posts.xml b/_site/posts.xml index 97210e4..75c68d1 100644 --- a/_site/posts.xml +++ b/_site/posts.xml @@ -1 +1 @@ -Jekyll2026-01-05T12:16:46+08:00http://localhost:4000/posts.xmlASCIIMXW. D. Sadeep Madurange \ No newline at end of file +Jekyll2026-01-05T16:42:22+08:00http://localhost:4000/posts.xmlASCIIMXW. D. Sadeep Madurange \ No newline at end of file -- cgit v1.2.3