bluething IoT Sensor based on ESP8266
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bernhard Fröhlich 1250feee07 Fix formatting 2 年之前
LICENSE Add from 2 年之前 Fix formatting 2 年之前 First full code drop 2 年之前 First full code drop 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.

  • ESP8266 board
  • Adafruit MCP9808
  • MicroPython (tested with 1.8.6)

Running the code

Please check the variables on top in 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:

> open ttyUSB0
> put
> put
> exit

Connect to the serial console to see the output. /dev/ttyUSB0 115200

Reset the device to run the uploaded code.