I wanted to ask a few questions about the difference between a genuine “Arduino Uno” and a “WeMos D1 CH340 WiFi Arduino Uno R3 compatible development board esp8266 ESP-12E”. I’m very green at this and was recently on this forum asking for help with my sketch for an HX711 load cell scale that I was building. I received some help from some great people and now I have a working sketch using my genuine “Arduino Uno”. What I would like to do now is build another scale, but this time I want to use the WeMos D1 as the microcontroller. I understand that you have to install the CH340 driver and you have to install the ESP8266 boards to the board’s library. I wanted to ask about the pin assignments. The boards look very similar but I’m a little confused about the pin markings on the WeMos D1 board. I have inserted a pinout diagram of the WeMos D1.
Questions:
-
On my Arduino Uno, to connect the HX711, I used pin 4 for data and pin 5 for clock. On the WeMos D1, could I use D4 for data and D5 for clock?
-
On my Arduino Uno, to connect the 128 X 32 OLED display I used the A4 pin for data and A5 pin for clock. What pins on the WEMos D1 should I use for clock and data from the OLED?
-
It looks like the WeMos D1 has a 3.3V logic level, whereas the Arduino Uno operates at 5 volts. Will this cause any issues that I have to address?
-
When I change the code to reflect the different pins do I use the numbers in red shown in the above diagram? For example (const int HX711_dout = D4;)
-
When I choose a board in the IDE I see one called “LOLIN(WeMos) D1 R1”. Would this be the correct board to pick?
Thanks for any help.
