Hardware can be connected using eight digital and one analog pins, which is decent for most projects. For programming the device using the Arduino-IDE, you should keep the following table in mind. Most of the libraries refer to the ESP8266 GPIO pins, rather to the labels printed on the WeMos board.
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,Pull-up | GPIO0 |
D4 | IO,pull-up, BUILTIN_LED | GPIO2 |
D5 | IO, SCK | GPIO14 |
D6 | IO, MISO | GPIO12 |
D7 | IO, MOSI | GPIO13 |
D8 | IO,pull-down, SS | GPIO15 |
G | Gound | GND |
5V | 5V | – |
3V3 | 3.3V | 3.3V |
RST | Reset | RST |
Here is better Fritzing part for WeMos D1 mini:
https://github.com/mcauser/Fritzing-Part-WeMos-D1-Mini
Yep Fritzing is a nice software but UI is not so clear… (and also it’s not really stable). However it’s the only one I know that can make breadboard/stripboard schematic…
I manage to create some parts following the Sparkfun tutorial :
https://learn.sparkfun.com/tutorials/make-your-own-fritzing-parts
Using inkscape for svg creation.
Thanks for this post !
I’m looking for a fritzing part for Wemos D1. I guess your schema http://luetzels.raspiblog.com/wordpress/wp-content/uploads/2016/01/WeMos_D1_Relay.png is made with fritzing.
Can you indicate me where do you find the WeMos D1 part ? or if you made it, can you share it ?
Thanks !
Hi Emmanuel,
this is not a Fritzing part. I’ve been looking for it as well but couldn’t find it. Instead, I took a JPG image of the board from the wemos.cc site
and modified it using GIMP. I tried to make my own Fritzing part, but it turned out to take too much time. Please let me know if you find
this part elsewhere.
Cheers,
Martin
Ok thanks for your answer,
I also ask here: forum.wemos.cc/topic/14/fritzing-part-for-d1-mini
I think I will open inkscape and try to build it. I’ll post a link to github as soon as it is done.
I just create a quick&dirty part.
It is here : https://github.com/enavarro222/MyFritzingParts/blob/master/WeMos_D1_Mini.fzpz
For my use (== stripboard design and documentation) it should do the job… However feel free to improve it ! there is to do 😉
Awesome work! I’ve been struggling using the Fritzing parts editor. Can you point me to a good tutorial?
Cheers,
Martin