-
Notifications
You must be signed in to change notification settings - Fork 1
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
Can't Get Displays To Light Work (Tried Capacitor Fix) #1
Comments
On your displays does it show the the date & time as 1970? If so I believe I know what the issue is as TimeDB changed their url to be behind cloudflare. I'll update the code to reflect that issue. |
Thanks, but unfortunately not. The displays don't show any digits whatsoever. WHen attached to the Nano and using the other projects code they do, so don't know what's up. Something with the ESP32 Dev Board library, perhaps? All 9 displays don't have to be connected in order for one of the rows to work, right? Thanks |
No you can test with just 1 chain of three. Just to confirm you are selecting the correct esp32 board right? |
Yep - at least I think I am... :) Below's what I'm selecting and those are populated via the URL https://dl.espressif.com/dl/package_esp32_index.json in the Addtl boards manager When flashing, it provides the following info which I assume it pulls from the hardware itself...
|
Ok I’ll get mine updated tomorrow and let you know as I haven’t updated mine in a while. I’ll also double check all the connections. |
Cool - Really appreciate the help - Thanks again! |
It appears I am having the exact same issue based on the serial output and behavior. Thanks for looking into this, it's a very cool project! |
At the moment I have misplaced my clock, so I’ve ordered some more displays for testing. Once I’ve tested everything I’ll let you both know what the solution is. For the moment the clock part for TimeDB should now retrieve the correct time as that has been fixed. Working with the latest libraries there has been an issue with displaying the time on other projects, for example hour() was showing up as some strange symbol, This was fixed in another project by changing that to String(hour()) Once I get the new displays through I hope to see if and what the issue is. |
Awesome, thank you again! Happy to send over any additional info/config if you want it. |
Once everything is through or if I have found the clock lol, I'll install and see if having the most up to date libraries is the issue, if it is I'll try and figure out the solution. I'm pretty sure most will have the most up to date libraries. But in the time being I would suggest checking any wiring from the ESP32 / ESP8266 that you will have connected up to the displays. If the power is definitely getting to the displays then it will be either the CLK or DIO that may need to be checked. If they are getting to the displays my next thought would be the coding within the clock that maybe the issue. as I've stated before. |
Really appreciate your help! I know my wiring is good as I dropped in a Nano + code on Thingiverse and LCDs worked without issue. The 3 chained ones I am testing with ran fine via USB power & when externally powered /w 5V 2.4A on the Nano, but still nogo with ESP32 Dev Board. Will keep testing in meantime and let you know if I make progress. Thanks Guys |
Understandable, I was just thinking of the simple of solutions. If only I knew where my clock was lol. |
Scratch that last comment, FOUND THE CLOCK lol. I'll run some tests now. |
Right, I've just installed all the latest libraries for ESP32. Then found I needed to edit the SevenSegmentFun.cpp file from the installed Library - Look for "bouncingBall" on line 187 & change it to "bouchingBall" then save. Compile and upload the code. I've just updated my code and uploaded the code to the ESP32 (wouldnt upload via usb as my board must have an issue but was able to update via wifi) Attached photo of the clock working with correct time. If you still have issues I can double check my wiring and confirm the pins if its required. |
OK... So I just tried the following, but get the same result unfortunately...
During research today, I found that many have had the same issue as me (different projects) when using ESP boards since they run on 3.3v instead of 5v. This would make since since as they worked great with the Nano. I've tried powering the displays off the 3.3v pin of the ESP instead of the 5V rail, but no change for me. You can see how I've powered them up until now via that diagram I posted a while back. How are you powering the LCDs? Also, when flashing it says my chip is ESP32-D0WDQ6. Wonder if your ESP Dev Board is slightly different, perhaps? To me, it seems to be one of those two... |
The board I’m using is: https://www.amazon.co.uk/gp/product/B08DXSMZSB/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1 I powered it from my laptop, but when not attached to the laptop I use a 5v power supply think it’s either 2a or 3amp. I’ve attached two photos one of the main board and the 2nd is one of the green displays which I’ve removed the two chips as with all of the displays. |
Well, I think (hope) I found a solution! Turns out it seems to have something to do with the ESP's pins running at 3.3V. I had tried powering the LCDs via the 3.3V from the ESP, but nogo. Tonight, I tried another solution where I wired them from 5V, but added a 1N4007 diode in the mix and they started working. More on that here. With the diode added, the LCDs are fed ~3.6V instead which for whatever reason, works. Important note that not only does the diode need to be added, but the two 100 nF SMD capacitors on each LCD in chain needed to be removed. I tested without removing them from chained boards, and only worked once I removed them. I'm trying now to implement some level shifters so I won't have to use diodes and be able to run the LCDs at full brightness. Not exactly sure how to do it and first test tonight failed, but will let you know once I figure something out. Your board is definitely a bit different than the one I'm using. My displays must be Chinese knockoffs (of course I did get from AliExpress) as they don't have "RobotDyn" logo or mention. Everything else looks the same. Guess you get what you pay for :) Wanted to also say thanks for taking the time to assist with this. You certainly didn't have to and very much appreciate it! After 11pm here in Tennessee, but will update tomorrow hopefully. Thanks again! |
The displays I bought were from Banggood I’m hoping the new displays are similar to yours so I can test a little further. I can’t seem to find your esp within the uk. But I do remember that I may of programmed it via nodemcu, but I will confirm that today with my spare ESP32. The displays are getting their 5v directly from the power socket normally (split with the Waco clips), but yesterday they were getting it from the ESP32. I will leave this thread open for others to see, if they’re having the same issue. |
Confirmed same chip (After changing the board to NodeMCU-32S):
|
Got the new displays delivered today and tested with having the caps in place. They didn't turn on, but as soon as I removed the 2 caps the displays came to life & that is having the power directly from the ESP32 5v pin and powered through the usb port. |
Great info - thanks! Started playing this morning during meetings, but sooner realized that I'd need to shift up 12 pins (9 data + 3 clock) which would require tons of parts so ordered some 4 channel logic level shifters as they should do the job. Should get in tomorrow and will let you know how it goes for others future reference if others have cheap displays. Another note is that once I get it working, I plan to continue testing additional code to fetch my shared ICS link of my work Outlook calendar and parse it. Unfortunately, no good libraries for doing so and I'm no programmer, but working on it. The goal is for the clock to display the current time, next meeting time, and haven't decided on the 3rd - maybe the time the meeting ends, next meeting time, next holiday, etc. May fork and post if others are interested, but will let you know. Thanks again |
Nice little project !! As long as you have json from a url then you can make a cpp and h file for processing the data ;) I've done a few of those for a marquee display. |
Thanks! - Will definitely keep you updated if interested :) Got the shifters in today and they work great. Wanted to post with final notes for any having issues in the future... The Issue The Cause The Solution
Big thanks to victor7376 for taking the time to assist with this issue! |
I've added a folder for examples of the wiring guide. Thank you for the example BzowK |
Good Afternoon!
I've been trying to get your code working, but am having a couple of issues so thought I'd post to see if you had suggestions. After working for 2-3 hours, I cannot get the displays to work at all (except for LED on back turning on). I'm using a 38 pin ESP32 Dev Board as suggested plus the same TM1637 displays used by the original project.
Notes
Below is what I've tried without luck :(
Serial Output (Last 2 lines update every few seconds)
Any suggestions? Thanks!!
The text was updated successfully, but these errors were encountered: