RFQ / BOM 0 Sign In / Register

Select Your Location

user image

How to realize the dynamic scanning of the three primary color lights without cross light phenomenon?

MCU
July 08, 2020 by Romario 2070

The circuit diagram is as above, the three-color lamp is a three-primary lamp, the anode of the lamp is controlled by SEG1~SEG6, and the cathode is controlled by COM1~COM3.

1. The function realized is to make the first group of lights show red, which is the way controlled by SEG1

2. The function realized is to make the second group of lights show blue, which is the way controlled by SEG2

3. The function realized is to make the third group of lights show green, which is the way controlled by SEG3

4. The function realized is to make the fourth group of lights show red, which is the way controlled by SEG4

5. The function realized is to make the fifth group of lights show blue, which is the way controlled by SEG5

6. The realized function is to make the sixth group of lights show blue, which is the way controlled by SEG6

The above is to achieve simultaneous display. Now the experiment is to make the first group of the first millisecond light; the second group of the second millisecond light; the third group of the third millisecond light; the fourth group of the fourth millisecond light; let the first The fifth group lights up at 5 milliseconds; the sixth group lights up the sixth group, and the other group does not. In this way, there will be no cross light or three-color lights, but the time that the lights are off is too long, the brightness is not enough, which senior has encountered such a problem, can make the scanning cycle not so long, the brightness is also Can be brighter, provide ideas, thank you!

All Comments

user image

Jeannie Posted on July 8, 2020

You can set up a group of lights first, and then synchronize the cycle.

0
user image

Reeve Posted on July 8, 2020

Close the line first, then send the value, and then start the line.

0
  • Romario

    Romario Posted on July 8, 2020

    What I used before should be what you said. Turn on the COMx to be displayed, turn off other unused COMX, turn on the SGx to be displayed, and turn off other unused SGX. This is too short, and it will appear blue. But you can see the tri-color lamp and other lamp beads also have weak lamps.

  • You need to log in to reply. Sign In | Register

Write an answer

You need to log in to reply. Sign In | Register