bigdisp / scoreboard-hardware

Schematics of pcb for the scoreboard.
MIT License
0 stars 0 forks source link

Connection of 6 PWM-channels #16

Open pluschris opened 8 years ago

pluschris commented 8 years ago

@gn36: I found a uC with 6 PWM channels. When there are only two 7-segment-digits connected we can control the color of each digit separately. But if there are additionally two dots, I've no chance to control that color separately, too.

Do you prefer to control

gn36 commented 8 years ago

Can't we solve the problem by doing the pwm in software? That is what I did so far at least. See interrupt.c and pwm.c.

Then it would be primarily a question of a sufficient number of output pins and software timers, not whether they support pwm or not. I haven't tried this with multiple rgb outputs so far, though.

Getting back to your original question anyways: I think we need more than a single layout. Just for illustration, consider the old draft of the board: g5615

So in conclusion, except for the special digit for "Balls", "Strikes", and "Outs", we should do separate colors on the two digits and consider the dot being part of the digit to be colored in the same color. The special digit needs a different layout capable of separating the elements of one digits into different colors.

pluschris commented 8 years ago

Obviously different software versions and different boards aren't that nice concerning maintaining later on. So I thought about it and it the following would cover all your requirements:

You could control the color of each block individually and we need just one board and one software.

gn36 commented 8 years ago

Ok that works.