Renard & Log Dimmin...
 
Notifications
Clear all

Renard & Log Dimming Curves

1 Posts
1 Users
0 Reactions
1,455 Views
Posts: 6720
Topic starter
(@p-short)
Illustrious Member
Joined: 20 years ago
[#18714]

I've just sent off my latest PCB design for fab, so my idle mind is starting to wander...

For the basic Renard firmware it would be possible to implement dimming curves in firmware by changing the processor from a PIC16F688 to a PIC16F1823. This newer part has a maximum clock rate of 32 MHz (with or without an external oscillator) versus 20 Mhz/8Mhz (external/internal oscillator) of the 16F688. It is less expensive than the 16F688 and fits in the same socket, so it could be a drop-in replacement.

The method of implementing such a dimming curve would rely on varying the length of each timeslot. In the current design each timeslot is about 39 uS long, and there are 256 such slots. The new scheme would still have 256 timeslots, but their width would vary from around 100 uS (first timeslot) down to perhaps 10 uS (last timeslot). The basic refresh rate would remain at 100 Hz, or so. This change would apply only to the DC version of the firmware. It would mean that all eight channels would have the same dimming curve, which might not be too desirable if you want different curves for the different color LEDs in an RGB application.

This change is fairly easy to implement (as compared with increasing the number of timeslots to 1024 or 4096 and adding a lookup table). This is just a thought at the moment to see if this might be useful or not...


Share: