Measurement done

This commit is contained in:
Milan Toman
2022-08-04 13:51:27 +02:00
parent 64cd56acab
commit ed288003ea

View File

@@ -7,7 +7,14 @@ We need to dowload the latest MP binary. At the time of writing:
wget https://micropython.org/resources/firmware/esp8266-1m-20220618-v1.19.1.bin wget https://micropython.org/resources/firmware/esp8266-1m-20220618-v1.19.1.bin
Then, we need to flash the software to the microcontroller. A script that helps Then, we need to flash the software to the microcontroller. A script that helps
us with this task is called esptool.py which can be downloaded from [https://github.com/espressif/esptool]: us with this task is called esptool.py which can be downloaded from [HERE](https://github.com/espressif/esptool):
esptool.py --port /dev/ttyUSB0 erase_flash esptool.py --port /dev/ttyUSB0 erase_flash
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect -fm dout 0 esp8266-1m-20220618-v1.19.1.bin esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect -fm dout 0 esp8266-1m-20220618-v1.19.1.bin
We need urequests as well. This is no longer the stnadard in the mikropython
default package:
https://raw.githubusercontent.com/micropython/micropython-lib/master/python-ecosys/urequests/urequests.py
Hopefully. Done.