Daftar Isi Tutorial Micropython
Dasar Programming Bahasa Micropython
Potensiometer/trimpot
Serial monitor
Display 4 Digit TM1637
Motor servo
IR detector
LDR
IR Control
Wifi Control
Blynk
MQTT
Skema Pin Nodemcu
Internal Button D3 - GPIO-0
Internal LED D4 - GPIO-2
Wemos D1/ NodeMCU | ESP8266 Pin Number | Functions |
---|---|---|
D0 | 16 | GPIO |
D1 | 5 | GPIO, I2C SCL |
D2 | 4 | GPIO, I2C SDA |
D3 | 0 | GPIO (internal flash button) |
D4 | 2 | GPIO (internal LED) |
D5 | 14 | GPIO, SPI SCK (Serial Clock) |
D6 | 12 | GPIO, SPI MISO (Master in, Slave out) |
D7 | 13 | GPIO, SPI MOSI (Master out, Slave in) |
D8 | 15 | GPIO, SPI SS (Slave select) |
A0 | A0 | Analog in, via ADC |
RX | 3 | Receive |
TX | 1 | Transmit |