-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[FR] Please add support for LCD Display - MIDAS DISPLAYS MD21605B6W-FPTLWI3 #4876
Comments
That is a completely different display... 🤔 |
The user requesting this support already has bought a bunch for a project. (was first mentioned on the forum) |
Yes, TD-er you are right. I already bought 24 displays :-( . |
I'm looking at the code for both the current P012 LCD plugin and the ST7032 controller that this display is most likely using, and though there are some differences, these differences are not huge, so I'll try to add an option to the used library to make it work with this display. |
@tonhuisman, many, many thank you. Yust inform me here, and I will test immediately ;-) |
@bkrajnc I have patched the LCD library to also support the ST7032 controller (that's supposed to be used in your display). Please report your findings here, or in the pull request I linked above this comment (not in both, that's just confusing 😉). Edit: Changed the Actions run link (fixed potential memory leak) |
@tonhuisman , thank you for your fast response. I tryed, but unfortunately it doesn't work. I can see i2c communication but Nothing come to the display. I have only one open question and this is, if i must connect pul up resistor on the display, becouse it is not described in documentation. See attached files. |
I2C should always have pull-up resistors on the SDA and SCL lines, something like 4k7 or 10k should be fine, but many devices already have them installed, so maybe you won't need them (you can measure it when the device isn't connected and not powered). Does this board work with 5V or 3.3V logic? When using with 5V you'll need a level converter for the SDA/SCL lines, because the ESP is not guaranteed to handle 5V well on the GPIOs, and possibly/probably the 3.3V 'high' level from the ESP isn't enough to trigger a 5V input to high level. |
@tonhuisman , thank you for the expalantion. I find ind documentation that this board is working with 3,3V for logic. I will try to pull-up reset line and will inform about findings |
In review, it seems I forgot a small piece of code, specific to the ST7032. A new GH Actions run is building new binaries. |
@tonhuisman , ........unfortunately....still doesnt't work. I also writed to the LCD manufacturer, to see if everything is connected as should be ;-) |
Well, if it finds the device, then usually the wiring rather OK, though I have seen I2C devices that still report they work if SDA and SCL are switched. You could try that, just for kicks, and see if it still is detected? (but usually it won't work). I've stumbled on another ST7032 library that does the initialization quite differently, so I'll do another build with that configuration, so you can test that too. |
I switch SDA and SCL but no. I will wait for your new build ;-) |
A new build is running from here |
I tryed, but no, it doesn't work. I waiting for LCD manufacturer response. |
It's a bit disconcerting that after trying a couple of really different initializations it still isn't working at least a bit. The last change I had high hopes of, as it sets the contrast of the display, because having 0 contrast isn't going to show much readable on the display. |
I assume you'll be sent to this page: https://midasdisplays.com/shop/lcd/lcd-character/md21605b6w-fptlwi3/ |
It looks like you will need to pull up pin 6 (A) to VCC using a resistor between 470 - 1000 ohm, and connect pin 7 (K) to GND. That should activate the LED backlight, and might help make the display content visible. |
@tonhuisman , thank you for all effort and advices and I will try tomorow in the morning what you suggest. Of course will also report about findings. |
Backlight shouldn't make a difference when you don't even see anything on the display. And the rise/fall times of the display are with 150 msec awfully slow. I still think you really need to pull the RST pin (pin 5) up to 3V3. |
Hi all. I am at the point where I think I will surrended :-). I tryed everything you suggested @tonhuisman and @TD-er , but nothing comes to the LCD :-( . |
If you're not returning the displays to the supplier, you could send one over for further experimenting (as long as that's financially viable, sending it to NL), as said before: you can contact me via PM in the Forum (name: Ath, same avatar 😉). |
Hi again. I receive email from manufacturer en he said: Demo code is in attachement |
So, that's a lot of delay() calls in the At least they did include quite extensive datasheets. |
Is your feature request related to a problem? Please describe.
I can not connect LCD display 2x16 with I2C to ESP8266F, becouse it is not supported
Describe the solution you'd like
I woul like to add LCD whic I buyed at https://si.farnell.com/midas/md21605b6w-fptlwi3/lcd-display-cob-transflective/dp/3565078
It could be using the ST7032 controller.
Describe alternatives you've considered
Unfortunately there is no alternatives for this LDC
Additional context
The text was updated successfully, but these errors were encountered: