This week is yet another mixed bag of topics, all related to either the JeeLabs Energy Monitor, or taking the STM32F103 platform further with Mecrisp Forth.
It might not look like much from afar, but there’s substantial progress under the hood:
- Parsing P1 smart meter info - Wed
- The need for multitasking - Thu
- Using a buffered serial console - Fri
- USB serial in Forth, progress! - Sat
Here’s the setup I’ve been using during the development of the USB driver:
That’s two HyTiny’s “in series”: the one of the left is the target board, with USB hooked up - as well as the 6-pin power/swd/serial header connected to the second HyTiny. That one is then used as Black Magic Probe for serial debugging and to perform a full reflash when the target board falls off a cliff.
Which has been fairly frequent, as I try to make the board jump through some hoops!