Wemos Lolin D1 Mini ESP8266 Development Board (HCWEMO0017)

Wemos ESP8266 based development boards and shields *** NEW***
Post Reply
admin
Site Admin
Posts: 726
Joined: Sun Aug 05, 2012 4:02 pm

Wemos Lolin D1 Mini ESP8266 Development Board (HCWEMO0017)

Post by admin » Mon Aug 06, 2018 3:33 pm

Image




The WeMos D1 mini is a miniature wireless 802.11 (Wifi) microcontroller development board. It turns the very popular ESP8266 wireless microcontroller into a fully fledged development board. Programming the D1 mini is as simple as programming any other Arduino based microcontroller as the module includes a built-in microUSB interface allowing the module to be programmed directly from the Arduino IDE (requires the ESP8266 support to be added via board manager) with no additional hardware.



Image




Image

Product code: HCWEMO0017
Microcontroller: ESP-8266EX
Operating Voltage: 3.3V
Digital I/O Pins: 11
Analog Input Pins: 1 (Max input: 3.2V)
Clock Speed: 80MHz
Flash: 4M bytes
Length: 34.2mm
Width: 25.6mm
Weight: 3g



Pin Function ESP-8266 Pin
TX TXD TXD
RX RXD RXD
A0 Analog input, max 3.3V input A0
D0 IO GPIO16
D1 IO, SCL GPIO5
D2 IO, SDA GPIO4
D3 IO, 10k Pull-up GPIO0
D4 IO, 10k Pull-up, BUILTIN_LED GPIO2
D5 IO, SCK GPIO14
D6 IO, MISO GPIO12
D7 IO, MOSI GPIO13
D8 IO, 10k Pull-down, SS GPIO15
G Ground GND
5V 5V -
3V3 3.3V 3.3V
RST Reset RST






Image


  1. /* Blink example - HobbyComponents.com */
  2.  
  3. #include <ESP8266WiFi.h>
  4.  
  5. #define PIN 2 // Flash the LED connected to GPIO2
  6.  
  7. void setup()
  8. {
  9.   pinMode(PIN, OUTPUT); // Set the pin to an output
  10. }
  11.  
  12. void loop()
  13. {
  14.   digitalWrite(PIN, LOW); // Turn the LED on
  15.   delay(1000); // Wait for a second
  16.   digitalWrite(PIN, HIGH); // Turn the LED off
  17.   delay(1000); // Wait for another second
  18. }




Image


Drivers

The Wemos D1 mini includes a CH340 USB to UART IC to allow it to be programmed directly from the USB port of a computer.

USB 32/64 bit drivers for Microsoft Windows computers can be downloaded from our Github page here:
https://github.com/HobbyComponents/CH340-Drivers


Windows Installation Instructions

Drivers are available in the link below. Simply download and unzip them, connect your D1 Mini to your computer with a USB cable and when the new hardware is detected, point the wizard to the folder you just unzipped to and it should install without any problems.

Windows Driver here



MAC installation instructions


New code signed version confirmed to work with 10.12 Sierra
CH34x_Install_V1.3.zip


Download the driver (you must be logged in to download).

Once downloaded, double-click the zip file to unzip it.

Run installer found in that folder.

If asked to restart, do not restart just yet.

Now restart your Mac.





Adding board support to the Arduino IDE

Latest versions of the Arduino IDE allow for adding additional 3rd party board support directly from within the Arduino IDE. To add support simply open up your Arduino IDE and follow these steps:

1) Go to File->Preferences

2) In the window that opens up find the text box labelled 'Additional Boards Manager URLs:' and paste the following line into it:

http://arduino.esp8266.com/stable/packa ... index.json

Then click the OK button to close the window.

3) Next go to Tools->Board->Boards Manager

4) In the window that opens up look for the entry titled 'esp8266 by ESP8266 Community Version x.x.x' and click on it.

5) In the bottom right-hand corner of this entry you should now see an install button appear. Click on this and board manager will then automatically add all the files necessary to support the ESP8266. This may take a few minutes depending on the speed of your internet connection.

6) Under tools->board you should now see additional board options for various ESP8266 devices including one called 'WeMos D1 R2 & mini'.





Disclaimer: Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do not provide any guarantees or warranties as to their accuracy or fitness for purpose.

Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.
You do not have the required permissions to view the files attached to this post.

Post Reply