Go Down

Topic: WeMos D1 -- UNO like wifi board based ESP-8266 (Read 33668 times) previous topic - next topic

0xSAM

Are there any incompatibilities noted by any users of this? I suspect the board will be much faster than the Arduino (given the 32-bit architecture).

The URL and pictures posted originally by WeMos are down

pert

Are there any incompatibilities noted by any users of this?
You will definitely find that some sketches and libraries that run fine on other Arduino boards will not be compatible but the ESP8266 Arduino core does help to minimize this somewhat. One thing that got me when I first started using it is that the digital pin numbering is handled differently. On regular Arduino boards you just use the pin number(e.g. 13) but on the ESP8266 you have to put a D in front of it(e.g. D13) so this will cause a lot of breakage of any code that relies on pin numbers and you can't use the Dn pin names on regular Arduino boards either. Hardware wise you will also encounter a lot of incompatibility because it runs at 3.3V instead of the 5V of most Arduino boards so any shield or component that puts out a 5v signal will need level shifters to bring it down to 3.3V. The other hardware incompatibility you may have is that there's only one analog pin, A0. The headers where you would expect the rest of the the analog pins on an Uno are not connected. One thing I thought was nice about the D1 is that they put a voltage divider on A0 so it can handle up to 3.2V maximum input instead of the 1V max that the ESP8266 can handle without the voltage divider.
I suspect the board will be much faster than the Arduino (given the 32-bit architecture).
Yes, but it does have to handle all the WiFi processing also.
The URL and pictures posted originally by WeMos are down
D1(retired) http://www.wemos.cc/Products/d1.html

D1 R2 http://www.wemos.cc/Products/d1_r2.html

I'd be interested in hearing a comparison of the differences between the D1 and the D1 R2. From a quick look it seems like the main difference is the SDA and SCL pins are connected to the pins where A4 and A5 would be on the Uno as well as D1 and D2. Other than that there are a couple of differences in the schematic but don't have a clue whether they represent improvements. If I'm not mistaken, the voltage regulator on the R2 is way smaller.

I accidentally bought my D1 because it was advertised as a shield. I think I prefer the smaller form factor of the NodeMCU boards which are also significantly cheaper. I suppose the shield compatibility could be a benefit but I think many Arduino shields are not 3.3V I/O compatible. WeMos did do an excellent job of providing documentation and there is a Board menu entry for all the D1 versions in the ESP8266 Arduino core. I installed the core, plugged in my D1, and uploaded a sketch without a single problem.

a55830

can any one tell me if there is any digital pins free.... it sounds strange that all 13 pins is used
then the board cant be used for any thing other than reading a analog pin and there is only one analog pin on it.

the board i have is Wemos D1 (discontinuet) not r1/r2

if any one out there have some thing i can build with it please help me

pert

can any one tell me if there is any digital pins free.... it sounds strange that all 13 pins is used
then the board cant be used for any thing other than reading a analog pin and there is only one analog pin on it.

the board i have is Wemos D1 (discontinuet) not r1/r2

if any one out there have some thing i can build with it please help me
Sorry, I can't understand what you're asking. Please give more details.

Regarding the analog input pin: Yes ESP8266 only has one and it can't be used as a digital pin like you can do on other Arduino boards such as Uno, Mega, etc.

banjabi1

#19
Jul 22, 2017, 02:57 pm Last Edit: Jul 22, 2017, 03:03 pm by banjabi1
hi
does someone have this nice pinout for D1 r2 too?
https://forum.arduino.cc/index.php?topic=147582.0
and maybe all of these power, i2c, SPI etc areas should be added too, because at the moment i have no idea what are the IOL and IOH pins supposed to be..... from here:
https://wiki.wemos.cc/_media/products:d1:d1_v2.0.0.pdf

the top of the IOH are probably i2c and all of the rest are SPI? and what are the AD pins supposed to be? all not analog then?


thx

Go Up