-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screen not working #132
Comments
What pins did you connect the display to on the Wemos D1 Mini? |
The standard D2 / D5 as recommended. I did try various versions of the ESP8266 package too (originally the newest (2.7.4) then downgraded to 2.4.1 and it didn't seem to make a difference. I'm new to Arduino though so not sure if its just a matter of re-uploading the sketch after that change in the IDE or if there is an extra step too? |
Use esp8266 Core platform version 2.5.2 -- this is stated in the readme. I would confirm your wired up correctly or that the display is working correctly. Are you using the larger display or the smaller one? |
I'm on the smaller display right now (bought a second different one as well but either way its the smaller one) and nothing on that. I was playing with different versions based on the other "my screen doesn't work" posts. Changing to 2.5.2 now though to check that one. |
Looks like similar behavior. When powered up, blue led on the Wemos turns on for about 8 seconds, then blinks 5 times, then goes back to on for a few seconds then off. Nothing on the screen though. I have verified the wiring for the screen numerous times as well as I figured I just screwed that up but that looks good. |
The blue led on the wemos is an activity light. That indicates that it is booting up and starting. What do you see in the Serial Monitor using Baud 115200 on the startup? You have 1M SPIFFS selected right? That is required also. |
Yup 1M SPIFFS is setup. My RPI is off right now so it won't connect to it (looks like I may have reset things so the config isn't there to connect to it anyway but the weather stuff is in there and pulling though) and it does come on the WiFi. Startup with serial monitor:
|
Yeah, looks like you have it all working on the Wemos D1 Mini. Looks like an issue with your display. This is an I2C display, right? It only has 4 wires on the back. Have you tried switching the D2 and D5 pins? |
I've tried these two displays. Each only had 4 wires and I took note of the pinout on the displays to be sure to wire them right. https://www.amazon.com/gp/product/B00O2LKEW2 Are you referring to swapping the SCL from D5 to D2 and SDA from D2 to D5 by switching them? Or are you referring to changing the code to map to a different pin (and move the wire on the Wemos to the new pin) to test? |
I know it is a long shot, but there have been times where I have seen the pins labeled wrong. |
I tried swapping and it didn't help. Also just changed D5 to D1 and moved SCL wire to it and didn't make any difference unfortunately :( |
Wow, well, isn't from a lack of trying. Could be one of two things, bad board or the 1306 display library is not correct. You can try loading one of the compiled bin files provided. Feel free to ping me on thingiverse messages and I might have another option for you. |
Try to connect 3V to the display |
I purchased the components recommended, programmed the unit and wired as directed but the screen won't display anything. When the display is plugged in the ardiuno powers up and the blue led on it turns on solid, then blinks 5 times then goes out. Then it repeats shortly thereafter. If I have the screen unplugged, the ardiuno powers up without those led blinks and it connects to wifi for me to access. With the screen it doesn't seem to be powering up as it isn't connecting to WiFi.
I have replaced the screen thinking it was bad and tried various other power supplies just to be safe.
Hoping for some assistance as I haven't been able to figure this out at this point.
The text was updated successfully, but these errors were encountered: