-
Notifications
You must be signed in to change notification settings - Fork 201
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
TM1637 Raspbery PI pico #554
Comments
I've never tried it, I do not have that HW. Anyone else have a device? |
Are you using the 4-digit or 6-digit seven-segment TM1637 modules commonly found on Amazon or eBay (originally made by robotdyn.com, now cloned by many others)? If so, try increasing the TM1637_DELAY from 10 to 100 microseconds. If that works, I can explain the reason in subsequent posts.. |
@bxparks I'm using 4-digit seven-segment TM1637 module. I've tried to increase |
@aodintsov87 : Are you using the black 4-digit LED modules? There is also the blue 4-digit module which has different timing characteristics. If you are using the black ones, I recall that changing the I've tested this patch with a Seeed XIAO (SAMD21) and an ESP32. I did not test the PI Pico, I have them laying around, but been too busy with other things to play with them. With regards to debugging such things, a logic analyzer is what you are looking for. For something like the TM1637, max speed of 400-500 kHz, the cheap 24MHz 8CH USB logic analyzer going for $12-13 on Amazon will be sufficient. |
You have the blue TM1637 modules, looking like this: The black ones look like this: So your blue modules should work with The black TM1637 modules need |
Hey @bxparks thanks a lot for all the explanation and additional materials :) I've also checked and indeed it also works with |
Thanks @bxparks! It works now!
I hope I didn't forget anything. PS. I almost turned on my soldering iron to remove the capacitors but remembered that I needed 8 such displays for my project and decided it's easier to fix it in software ;-) |
FWIW - I just followed the steps described by @pavelanni on my pico and it worked perfectly |
It seems like TM1637 driver doesn't work on RaspberyPi pico.
I've used the same example provide in the examples folder here just replaced the pins like
tm := tm1637.New(machine.GP21, machine.GP20, 7) // clk, dio, brightness
I've tested the same TM1637 module on Arduino (with C++ tho) and it works fine.
Also tested on 3 different Picos the result is the same.
Any hints? :)
The text was updated successfully, but these errors were encountered: