3 ms·
I mean, if it's for a task where I know my program will fit in 512K flash and 80K ram, then an ESP8266 is still cheaper. One of those is powering my DIY thermos
by connicpu 2y ago
I mean, if it's for a task where I know my program will fit in 512K flash and 80K ram, then an ESP8266 is still cheaper. One of those is powering my DIY thermostat right now :)
- peterhadlaw 2y agoAny resources on how you made your diy thermostat? :)
- connicpu 2y agoIf you've done any basic electronics before it would be relatively straightforward. I didn't follow any specific guides, just spent a lot of time reading the datasheets for components that sounded like they might work. My ESP8266 is connected to a GPIO expansion board from Adafruit over I²C, which controls 3 TRIACs through TRIAC opto-isolators. HVAC control wires use 24VAC so TRIACs are the silent option for switching, although relays would have probably worked just as well. After that I just programmed the ESP8266 in Arduino to listen to the MQTT broker on my network to send the values from its temperature probe (also an I²C board from Adafruit) and receive commands. It also has a basic thermostat mode programmed in if it stops receiving commands for too long.
- pantalaimon 2y agoUnfortunately it relies on an outdated GCC 5 toolchain that will never get an update
- LeafItAlone 2y agoI have to imagine that in most hobby (as in, one off) use cases the $1-$2 difference makes no real difference. And at one point (years ago) I was able to buy ESP32s for practically the same price on Aliexpress.
- connicpu 2y agoSpace and power savings shouldn't be discounted either. Especially if you're going to run it off a battery ;)