-
Notifications
You must be signed in to change notification settings - Fork 40
Description
I tested the TM1637 example sketch with a few different boards using STM32 series IC's. They are all 3.3V powered, so I also powered the TM1637 from the same 3.3V power. I used a somewhat arbitrary PB8 and PB9 for I/O. I tried first Blue Pill with the STMF103C8T6, it worked with this configuration:
OS - Windows 10 Home version 21H1
pins - 3.3V, gnd, PB8->DIO, PB9->CLK
display: DM 6 digit TM1637 (basically Robodyn clone)
IDE: Arduino 1.8.12
core: stm32duino core 2.1.0
test program: TM1637_extended
Subsequently, I went on to test an STM32F401CC, and STM32H705x and the display did perform the test up to a point. However, during this I went down a wrong path for a while, I think. I saw that the display just went blank after a while. Anxious about the hardware, I quickly shut it down and only realized later when looking at the test code, that it seems to actually do that. Is it true, at the end of the TM1637 test, it goes dark and samples keys?
For results, I am wondering if I should put it together more as a table or spreadsheet because it would facilitate keeping track of which pins are used, not just in the code, but also in a place where you can compare them all.
I made some previous modifications to the test program and had some after thoughts... one is to differentiate between "test" and "example" sketches. The examples do make good demonstrations, but for this testing I want something more purely test, along the lines of a factory test but simplified. It should include some burn in test - extended on, extended off and so on. Lacking light measuring instruments, a slower and more self labelling brightness change test. Inter segment shorts. Stuff like that. So I am building a generic test sketch, with a header file defining the target display, and the board/processor. I think it will make it easier to test the many boards that I have.
However, in the mean time, I intend to repeat the display tests of the F103, F401 and H705 with the distributed example sketch, and combine them in a table that I will put here.
I almost forgot to add - I received a TM1650 display today, and it ran with a modifed TM1650 sketch on the Blue Pill. It will also get a repeat and be added to the table.
But, unless I was wrong about the example sketch ending up blank, the current result is that those 3 boards passed, and that it's then highly likely that most of the almost 100 different variants would also pass.