|Bernhard Fröhlich 1250feee07 Fix formatting||2 роки тому|
|LICENSE||2 роки тому|
|README.md||2 роки тому|
|main.py||2 роки тому|
|mcp9808.py||2 роки тому|
bluething IoT Sensor based on ESP8266
This code was tested with an Adafruit Feather HUZZAH and an Adafruit MCP9808 temperature sensor but any ESP8266 board should work.
Please check the variables on top in main.py because you will likely want to change a few of them.
You need to upload the python code to the board. Any method should work so you can choose between ampy, WebREPL, rshell or mpfshell. I prefer the last one so:
mpfshell > open ttyUSB0 > put main.py > put mcp9808.py > exit
Connect to the serial console to see the output.
miniterm.py /dev/ttyUSB0 115200
Reset the device to run the uploaded code.