The WeMos d1 mini is a wifi ESP8266 development board that is compact, versatile and very easy to use with the Arduino IDE. It is supported natively by the Espressive SDK. The advantage of the WeMos d1 mini compared to other ESP8266 development boards lies in the many expansion cards (shields) developed by the chinese company
This is D1 mini, it is a mini WIFI board based on ESP-8266EX.
11 digital input/output pins,
all pins have interrupt/pwm/I2C/one-wire supported(except D0)
1 analog input(3.3V max input)
a Micro USB connection port for programming and focusing
Analog input: x1, max. Permissible voltage 3.2V
CPU Frequency: 80 MHz / 160 MHz
Flash Memory: 4MB
Power supply 5V
Wemos D1 mini: A first look at this ESP8266 based:
The board is very small. It uses the ESP8266 EX chip which can operate at a frequency up to 160MHz. It has a lot of memory, 64Kb of instruction RAM, 96Kb of data RAM and 4MBs of flash memory to store your programs. We offers WiFi connectivity, Over the Air updates and much more. The D1 mini board offers 11 GPIO pins and one analog input. DeSPIte its small size many shields are being developed for this board which I think is great, since this way we can easily build great Internet of Things projects! Of course we can program this board using the Arduino IDE.
The board deSPIte its small size it outperforms all the other Arduino compatible boards in performance. This board is 17 times faster than an Arduino Uno! It also outperforms the fastest Arduino board, the Arduino Due.
As you can see, we now have a great new board to build projects with it. It is very small in size, very powerful, and it has a very low cost. This board will enable us to build great Internet of Things projects. I plan to build a lot of projects with this board. For a start, I am going to combine this small board with a DHT22 temperature and humidity sensor in order to log weather data in an online database.
In order to use the Wemos D1 mini board, you have to download an add-on for the Arduino IDE. Go to File -> Preferences and enter this link here.
we copied this link from the WeMos website. Then go to Tools -> Board and load the Boards Manager. Then all you have to do is to download the file for the ESP8266 boards. After that you can select the WeMos D1 Mini board and you are ready to use it. Let’s try the board. Let’s upload the standard blink program. We have to go to File -> Examples -> Basics -> Blink in order to load the program. We then make a slight modification to the program. The LED on the D1 mini board is connected to digital pin 4 and not 13 as it is in standard Arduino boards. So, in this line of code, instead of 13 we have to enter D4. That’s it, if we now upload the program to the board we can see that it is working fine. From that example you can see, that most programs already developed for Arduino can work with the D1 mini board with minor changes in pin numbers. That also means the most libraries for Arduino won’t work for this board out of the box. The developers must update them in order to work with the ESP8266 chip. Luckily since the ESP8266 chip is very popular, the most popular libraries for Arduino already work fine with the ESP8266 chip.
OLED Display Library: https://github.com/squix78/esp8266-oled-ssd1306
CODE OF THE PROJECT