Python
Version vom 1. Februar 2023, 01:04 Uhr von Stefan (Diskussion | Beiträge)
Inhaltsverzeichnis
Python
https://www.w3schools.com/python/default.asp
Requests
https://requests.readthedocs.io/en/latest/ https://realpython.com/python-requests/ https://kurse.lerneprogrammieren.de/http-requests-in-python-anfaenger-tutorial/
JSON
https://www.w3schools.com/python/python_json.asp
MicroPython
MicroPython.org
http://www.micropython.org http://www.micropython.org/download
MicroPython Doku
http://docs.micropython.org/en/latest/index.html
esptool
pip install esptool
https://github.com/espressif/esptool
esptool --help
python -m esptool --chip auto --port COM7 erase_flash python -m esptool --chip auto --port COM7 write_flash -z 0x1000 esp8266-20191220-v1.12.bin python -m esptool --port COM7 write_flash --flash_size=detect -fm dio 0 esp8266-20191220-v1.12.bin
python -m esptool --chip auto --port COM4 erase_flash python -m esptool --chip auto --port COM4 write_flash -z 0x1000 esp32-idf3-20200127-v1.12-96-gc3095b37e.bin python -m esptool --port COM4 write_flash --flash_size=detect -fm dio 0 esp32-idf3-20200127-v1.12-96-gc3095b37e.bin
import esp esp.check_fw()
ampy
https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy
pip install adafruit-ampy python -m pip install adafruit-ampy --upgrade
ampy -p com7 -d 2 ls ampy -p COM7 -d 2 get boot.py >> boot.py ampy -p COM7 -d 2 put main.py
python -m ampy
ampy --help
rshell
pip install rshell
rshell --help
mpfshell
pip install mpfshell
mpfshell --help
upyCraft
https://github.com/DFRobot/uPyCraft
http://docs.dfrobot.com/upycraft/
ESP 8266
Pinbelegung
https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/
http://stefanfrings.de/esp8266/ https://tttapa.github.io/ESP8266/Chap01%20-%20ESP8266.html
https://www.mikrocontroller-elektronik.de/nodemcu-esp8266-tutorial-wlan-board-arduino-ide/