ESP8266

Aus Shea Wiki
Zur Navigation springen Zur Suche springen

ESP8266

Allgemeines

IRRemote

MH-Z19B

Nr Pin Funktion
1 Vo Analog output (0.4~2V) or (0~2.5V)
2 Rx UART(RXD)TTL Level data input
3 Tx UART(TXD)TTL Level data output
4 SR
5 HD HD(zero calibration,low level lasting for over 7s under low level is effective)
6 Vin Vin(4.5~5.5V DC)
7 GND Ground
8 AOT
9 PWM PWM

MicroPython

Links:

Flashen:


cd ~/MicroPython
esptool.py --port /dev/ttyUSB0 erase_flash
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_mode=dout --flash_size=detect 0 esp8266-20171101-v1.9.3.bin

Verbindung aufbauen:


picocom /dev/ttyUSB0 -b115200

x


KategorieWissen