I knew you'd show up here! But I welcome it as this is a logical solution to this type of design. I have some opensource code that does the Duty-cycle adjustment, but I think the freq is set too low(IMO) for lighting applications.Are you capable of using UP ? Writing some simple C code ? This is
a natural for ATTINY85 or PSOC or Microchip, do everything inside
one chip, including all the timing.
Regards, Dana.
The resistors and capacitor will affect the frequency theres a example here which may help. Read the notes also as it attempts to clarify things.Something like this? Not sure how to vary the freq. aside from varying R1. But R2 & R3 have effects of freq. also
View attachment 169289
I don't think that will work with a comparator instead of an op-amp. It needs a pull-up. The link in the post above shows the adjustment to use a comparator.Something like this? Not sure how to vary the freq. aside from varying R1. But R2 & R3 have effects of freq. also
View attachment 169289
I completely agree, I'd assumed the chosen comparitor had a internal pullups as that is how it was being used in the original circuit.I don't think that will work with a comparator instead of an op-amp. It needs a pull-up. The link in the post above shows the adjustment to use a comparator.