-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Improvement - add TM1638 - 8 keys, 8 LEDs, 8 digital tubes #2226
Comments
Hi, this is a very good idea. When i can help you, let me know. good day |
If your Arduino skills are good, try to add it to Tasmota, then ask @arendst to include it in main branch |
Ordered one. See if it's usefull... |
It's the cheapest 8 buttons + 8 leds + 8 digits interface on the market. |
Add experimental (untested) TM1638 switch support (#2226)
Just released experimental - untested switch support for the TM1638. I haven't tested it yet as mine is still in the mail. What it should do is mimicking eight switches. Pls give it a go and report any issues you may find. |
I tried this evening, unfortunately I didn't find any output when I press a switch nor in serial, nor in web console. I will try again tomorrow ....... |
This morning I tried again. First sketch:
works fine on esp8266 even at 3V3 next step, in TmLoop() ckecked if Tm1638GetButtons() works and it does, so, the problems are below this point.
Tm1638GetButtons() return: |
Thx so far. Could you try to do a serial.print virtualswitch[i] too? |
modified sketch:
output: when button 2 pressed
|
Great! Pls change line
in to
This should make a corresponding led light. |
I tried, it doesn't work. I think it's a problem in the sending chain:
The following test doesn't work, while in example files works fine.
|
Right. I suggest to hold on until I have mine so I can do some quick tests. |
Add some delay to TM1838 comms (#2226)
Did include some delays as documented by https://github.com/MartyMacGyver/TM1638-demos-and-examples Pls give it another try. |
Sorry it's not working. I checked again the library example and it works, even manually assign the pins to avoid any possible mistake and it doesn't change any led. Buttons read is ok. PS |
Received today :-) |
Implemented. Closing issue. Please, ask to reopen if needed. Thanks. |
Add experimental (untested) TM1638 switch support (arendst#2226)
Add some delay to TM1838 comms (arendst#2226)
Add some delay to TM1638 (arendst#2226)
Add TM1638 switch support (arendst#2226)
Please consider adding support for TM1638 - 8 Bits, 8 keys, 8 LEDs, 8 digital tubes, common cathode LED digital tube. at only 2.43 EUR. The library is here.
The text was updated successfully, but these errors were encountered: