[SOLVED] Flashing strange WeMos D1 Esp-Wroom-02 motherboard (battery controller, 0.96" OLED, cp210x serial) #6017
Replies: 1 comment
-
Posted at 2018-01-26 by user85573 Nevermind, works fine. I was attempting to use the SSD1306 I2C on
Posted at 2018-02-23 by CMSpooner I have the LED and Screen Working; but the buttons are unreliable. I get a '1' when pressed the first time; but not after that...am I doing something wrong. I tried both
and
Same foro D6 and D7. I am trying to use these for Students to use at STEM Camp this summer. Posted at 2018-02-23 by user85573 Not sure how to read from the buttons, I've not attempted that yet. I've included the button functions on the 5-way joystick below just as reference. Description: Color:Black Features: 1.One AD inputs. Notes:
Posted at 2018-02-23 by Wilberforce Try:
Posted at 2018-02-26 by CMSpooner No dice. I was able to make your code work by changing it to D3 (one of the exposed IO), and touching the pin off to ground; so your code is good; but the on-board switch seems bad. Edit: I changed the edge to "falling" and they now work once per boot...very odd Posted at 2018-02-26 by Wilberforce Looking here https://forum.wemos.cc/topic/8/d1-to-arduino-uno-pinout-associations/2 The pinouts are no clearer! I would try all the combinations - D5, nodemcu:D5 and work your way through the range. You can paste in the left side of the ide, and press the button and see if you have output - if not use the up arrow and then back arrow and change to D6, and hit return. Very quickly you can go through the whole range... Posted at 2018-02-27 by CMSpooner It doesn't matter which assignment I use...at least I now know I have the R2 version of the board. Also I now can use the Block Based IDE using the pins from that diagram. Posted at 2018-02-27 by CMSpooner I WIN!!! You have to set the pinMode explicitly.
Now the buttons work properly! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-26 by user85573
I've been collecting strange ESP8266 boards, and got my hands on 2 of these:

https://www.aliexpress.com/item/1pc-ESP8266-Development-Board-WeMos-D1-Esp-Wroom-02-Motherboard-0-96-Screen-Module-18650-Battery/32833311570.html
Flashing 4MB combined with
--flash_size 4MB
and4MB-c1
works fine, the thing reboots, but I can never get an Espruino prompt at this point, 115200 baud or 9600.Anyone have one of these and successfully flashed?
Beta Was this translation helpful? Give feedback.
All reactions