Partially, yes. At the low end it's so they can run off a LiPo, and at the high end I wanted to ensure you could run it in a car/boat/caravan/etc as well. Car battery + solar is a really easy way to get loads of power for various outdoor applications, and you can get a bunch of high power relays that run off 12v too.
But yeah, if it's possible to keep mains voltages away from the same PCB as the microcontroller it's just easier all around... Plus if I made something that handled mains, there's no way it could also run off a LiPo battery and be useful. The other way around you can always use a power supply and relays pretty easily.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Partially, yes. At the low end it's so they can run off a LiPo, and at the high end I wanted to ensure you could run it in a car/boat/caravan/etc as well. Car battery + solar is a really easy way to get loads of power for various outdoor applications, and you can get a bunch of high power relays that run off 12v too.
But yeah, if it's possible to keep mains voltages away from the same PCB as the microcontroller it's just easier all around... Plus if I made something that handled mains, there's no way it could also run off a LiPo battery and be useful. The other way around you can always use a power supply and relays pretty easily.