I've corrected the post above, the STM32L072xZ has 192 KB Flash, and 20 KB RAM. (Oh, also finally found out that the main difference between the STM32L0 and F0 is: L0 == Cortex M0+ (2-stage pipline), F0 == Cortex M0 (3-stage pipline))
I'd be a little wary of using the F100 - Espruino runs but there isn't a bunch of free
space. If you want to do anything useful with the RN2483 then you could do with
(For LoRa applications, it normally just needs to sleep, speak to a sensor and the modem over UART (well, lots of command strings). And store log some values internally... so I think most programs should be fairly small.)
I'd check up the LoRa module's power requirements - it could be it's
way more than Espruino anyway :)
Yes, it's certainly the most power hungry part. According to the RN2483 datasheet (page 7): At 3 V: typical TX supply current: ~15 - 40 mA / RX: ~14 mA / deep sleep: 1.8 uA. So I've figured that it should still be as power efficient as possible, since it only needs to send very rarely, maybe once an hour... and might collect data more often, without the need to wake up the modem.
Puck.js connects straight to the battery. The uC can run off something like 1.7-3.6v, so > it's fine for a CR2032. The chip itself contains its own DC/DC regulator (I just have to fit > an inductor/capacitor) so it can do that pretty efficiently as well.
Oh, that's really interesting! But that's not possible on STM32 micros (?), since they don't include such power management features I think...