micropython-tm1638 icon indicating copy to clipboard operation
micropython-tm1638 copied to clipboard

TM1638 QYF

Open VojtechKlos opened this issue 3 years ago • 9 comments

Hello,

i know this library has not been updated for a long time but would you consider maybe adding support for the other wildly publicly available board with TM1638 - the QYF version - wihich is without the LEDs and with 4x4 button matrix? There are libraries for this board for Embed C Arduinos for example https://github.com/rjbatista/tm1638-library

I tried to use your library to display digits on the display but the output is always gibberish - just random lines everywhere.

If you do not have time to do it could you at at least point me in the right direction in regards what to look for in your code to change? I am not a complete newbie in regards to programming but still could use some help ;-)

Thank for your response

VojtechKlos avatar Aug 05 '22 07:08 VojtechKlos

I’m unfamiliar with the QYF module, but I could probably port the code from that linked repo.

Would you be able to provide a link to the QYF module, or attach a photo of it?

mcauser avatar Aug 05 '22 10:08 mcauser

Sure here is the photo: QYF TM1638

and here is an AliExpress page for the module https://www.aliexpress.com/item/32828100871.html?spm=a2g0o.ppclist.product.2.4af3FPfMFPfMwL&pdp_npi=2%40dis%21CZK%21CZK%2047.78%21CZK%2045.05%21%21%21%21%21%40210323a416596970402485606eb766%2164994226908%21btf&_t=pvid:1807d250-2d99-4ebd-af5f-eba4d8250043&afTraceInfo=32828100871__pc__pcBridgePPC__xxxxxx__1659697040

Thanks for the quick response ;-)

EDIT: It is not visible in the picture but on the top part above the displays there is the marking "QYF-TM1638".

VojtechKlos avatar Aug 05 '22 11:08 VojtechKlos

Ah ha. I actually have one of these. Mine does not have the QYF branding though. I’ll put something together

mcauser avatar Aug 06 '22 11:08 mcauser

This is the one I bought: https://a.aliexpress.com/_msPcnuc

I also grabbed this “LED&KEY” one: https://a.aliexpress.com/_mtuXAti

mcauser avatar Aug 06 '22 11:08 mcauser

I got them from a local supplier but i think they are the same board. Mine just have more markings on them, or at least the "QYF" one has.

Anyway let me know if/when you have some progress. I'm working on a project for my friend's birthday and wanted to try Pi Pico with MicroPython because I had issues with Arduino boards all the time when doing larger projects. And also C isn't my cup of tea...

Thanks again for looking into this.

VojtechKlos avatar Aug 06 '22 12:08 VojtechKlos

Hey @VojtechKlos I'm just moving house atm, and all of my electronics are in storage. I'll come back to this in around a month.

mcauser avatar Aug 11 '22 01:08 mcauser

@mcauser Have you been able to complete this yet? I also have the same request as VojtechKlos.

zen375dragon avatar May 14 '23 21:05 zen375dragon

Following the discussion in https://github.com/orgs/micropython/discussions/11768 I'll create a fork to support the QYF-TM1638 board. It's 7-segments are wired up differently and has a different button map, and some of the LED&KEY methods are not relevant (such as controlling the top 8 LEDs).

Stay tuned. Updates coming soon.

mcauser avatar Jun 15 '23 04:06 mcauser

@mcauser Have you created a fork to support the QYF-TM1638 yet?

zen375dragon avatar Jul 14 '23 16:07 zen375dragon