diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2026-02-22 10:55:20 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2026-02-22 10:55:20 +0800 |
| commit | 931c7a4f2422c1499bfabcc5d6063b40b9c1dabe (patch) | |
| tree | c1919da4e799aa9c0e527c23034b9f8d4121fff5 /_log/etlas.md | |
| parent | 5838f7f51e405563f6ba1ab65db4d71071459ba3 (diff) | |
| download | www-931c7a4f2422c1499bfabcc5d6063b40b9c1dabe.tar.gz | |
Minor improv to etlas.
Diffstat (limited to '_log/etlas.md')
| -rw-r--r-- | _log/etlas.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/_log/etlas.md b/_log/etlas.md index 89a7c84..7201572 100644 --- a/_log/etlas.md +++ b/_log/etlas.md @@ -6,7 +6,7 @@ project: true thumbnail: thumb_sm.jpg --- -Repurposed the [e-reader](../e-reader/) into something for regular use. News, +Repurposed [e-reader](../e-reader/) into something for regular use. News, stocks, weather dashboard. ESP32 NodeMCU D1 + 7.5" Waveshare e-paper + DHT22 sensor. @@ -20,16 +20,16 @@ sensor. </tr> </table> -Stocks: Two weeks EOD data from Polygon.io (max possible). Flask app on VPS +Stocks: Two weeks EOD data (max possible) from Polygon.io. Flask app on VPS 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 without vTaskDelay(). +gui_plot_stocks() draws stepped graph. Was easier to implement, but the code is +hideous—vTaskDelay() needed to prevent watchdog timer from triggering. -NOTE: Refactor. Bresenham’s? +NOTE: 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 feed for flexibility. +News: Channel NewsAsia RSS. MCU parses feed. Didn't plan to have a backend 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 <a @@ -94,10 +94,10 @@ static inline int dht_get_raw_data(unsigned char buf[BUFLEN]) epd_init() stalls intermittently on first refresh() after flash. Toggling delay values in refresh() resolves it. If the first refresh succeeds, system remains -stable. Root cause unknown--suspect noisy supply due to powering display via +stable. Root cause unknown—suspect noisy supply due to powering display via MCU. -Uptime: August 2024 - January 2026 +Uptime: August 2024 - February 2026 Commit: <a href="https://git.asciimx.com/etlas/commit/?id=a92c86ac1592c2137d3d1fec1668eacc2d0ca581" |
