summaryrefslogtreecommitdiffstats
path: root/_site/log/etlas/index.html
diff options
context:
space:
mode:
Diffstat (limited to '_site/log/etlas/index.html')
-rw-r--r--_site/log/etlas/index.html33
1 files changed, 18 insertions, 15 deletions
diff --git a/_site/log/etlas/index.html b/_site/log/etlas/index.html
index f618503..68c19ae 100644
--- a/_site/log/etlas/index.html
+++ b/_site/log/etlas/index.html
@@ -40,9 +40,9 @@
<h2 class="center" id="title">ETLAS: E-PAPER DASHBOARD</h2>
<h5 class="center">05 SEPTEMBER 2024</h5>
<br>
- <div class="twocol justify"><p>Repurposed <a href="../e-reader/">e-reader prototype</a> into something for regular use.
-News, stocks, weather dashboard. ESP32 NodeMCU D1 + 7.5” Waveshare e-paper +
-DHT22 sensor.</p>
+ <div class="twocol justify"><p>Repurposed the <a href="../e-reader/">e-reader</a> into something for regular use. News,
+stocks, weather dashboard. ESP32 NodeMCU D1 + 7.5” Waveshare e-paper + DHT22
+sensor.</p>
<table style="border: none;">
<tr style="border: none;">
@@ -54,18 +54,21 @@ DHT22 sensor.</p>
</tr>
</table>
-<p>Stocks: Two weeks EOD prices from Polygon.io (max possible). Flask app on VPS
-relays feed; manages watchlist. Backend: httpd + htpasswd + FastCGI + Flask.</p>
+<p>Stocks: Two weeks EOD data from Polygon.io (max possible). Flask app on VPS
+manages watchlist, relays the feed. Backend: httpd + htpasswd + slowcgi +
+Flask.</p>
-<p>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?</p>
+<p>gui_plot_stocks() plots a stepped graph; was easier to implement, but the code
+is hideous; triggers watchdog. vTaskDelay() prevents that.</p>
-<p>News: Channel NewsAsia RSS. MCU parses XML directly. Character glyphs stored as
-bitmaps in header files.</p>
+<p>NOTE: Refactor. Bresenham’s?</p>
+
+<p>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.</p>
<p>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 href="https://github.com/Fonger/ESP8266-RTOS-DHT" class="external" target="_blank" rel="noopener noreferrer">ESP8266</a>):</p>
+standard ESP32 APIs. Bit-banged relative pulse widths (ported from <a href="https://github.com/Fonger/ESP8266-RTOS-DHT" class="external" target="_blank" rel="noopener noreferrer">ESP8266</a>):</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>static inline int dht_await_pin_state(int state, int timeout)
{
@@ -122,10 +125,10 @@ static inline int dht_get_raw_data(unsigned char buf[BUFLEN])
}
</code></pre></div></div>
-<p>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.</p>
+<p>epd_init() stalls intermittently on first refresh() after flash. Toggling delay
+values in refresh() resolves it. If the first refresh succeeds, it remains
+stable. Root cause unknown–suspect noisy power supply due to powering display
+via MCU.</p>
<p>Uptime: August 2024 - January 2026</p>