Introduction .................................................................................................. 3
Specifications of the ESP8266 ..................................................................... 4
The D1 Mini module ..................................................................................... 5
Specifications ........................................................................................... 5
Digital I/O pins .......................................................................................... 6
PWM ........................................................................................................ 7
Analog input ............................................................................................. 7
Serial ........................................................................................................ 7
The I2C .................................................................................................... 8
SPI ........................................................................................................... 8
The pinout.................................................................................................... 9
D1 Mini module - Software ......................................................................... 10
Digital I/O pins ........................................................................................ 10
Analog input pin ..................................................................................... 11
Serial communication ............................................................................. 12
The I2C and SPI interfaces .................................................................... 12
Sharing CPU time with the RF part ........................................................ 13
How to set-up Arduino IDE ......................................................................... 14
D1 Mini with Arduino IDE ........................................................................... 18
Blink + PWM + Serial sketch examples...................................................... 22
Blink sketch example ............................................................................. 22
Software PWM sketch example.............................................................. 23
Serial communication sketch example ................................................... 25
Inhaltsverzeichnis
- 2 -