Re:MicroPython
by ChuckMcM on Sunday August 16, 2020 @04:27PM
(#24180984)
Going to disagree here, i2c and spi work fine in micropython.
Is it as fast as C? No. Does that mean it's useless? No.
The absolute coolest thing is to take a $2 Wemos D1 clone, put micropython on it, hook it to a sensor (I've been using temp and humidity sensors lately) and have it periodically fetch "http://webserver-ip/temp?t=<value>&p=<value>" every 10 seconds and have a little python webserver sitting on an machine on your network that is stuffing the values into influx or some other DB.
This is trivial to do, and takes little to no embedded coding experience on the ESP8266. That's a win as far as I am concerned.
Is it as fast as C? No. Does that mean it's useless? No.
The absolute coolest thing is to take a $2 Wemos D1 clone, put micropython on it, hook it to a sensor (I've been using temp and humidity sensors lately) and have it periodically fetch "http://webserver-ip/temp?t=<value>&p=<value>" every 10 seconds and have a little python webserver sitting on an machine on your network that is stuffing the values into influx or some other DB.
This is trivial to do, and takes little to no embedded coding experience on the ESP8266. That's a win as far as I am concerned.