Python

Aus
Wechseln zu: Navigation, Suche

Python

w3schools

https://www.w3schools.com/python/default.asp

Programmieren lernen mit Chris 🚀

https://www.youtube.com/@Programmieren/playlists

API

Python API Tutorial (Deutsch) | 🚀 Für Anfängerinnen und Anfänger | NASA-API

https://www.youtube.com/watch?v=fOPWZytYsFM

Was ist eine API?

https://www.youtube.com/watch?v=KLe2lCEy-Xw&t=1s

Was ist eine REST-API?

https://www.youtube.com/watch?v=lsMQRaeKNDk

Python Projekt - Wetter API abfragen

https://www.youtube.com/watch?v=X1Y3HQy5Xfo

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

Python Tutorial #54 - Json

https://www.youtube.com/watch?v=drord9gbr3Y

Python Tutorial #55 - Json und Online APIs

https://www.youtube.com/watch?v=Fl6lBCZecdU

So kannst du mit Python einfach JSON lesen und schreiben

https://www.youtube.com/watch?v=sATGr9ffB28

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

NodeMCU-pinbelegung.png

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/