Actually, you are incorrect in this case. It does not matter, and it simplifies making PCBs. A LM393 is a open collector, which means there is no connection what so ever to Vcc. The entire side of the chip is grounded, which is easy to implement.To keep the record straight, I have corrected my drawings:
![]()
This is where I get lost. The square wave pulse that is then sent to the leds has an "on time" and an "off time" (duty cycle?). How does the comparator change the duty cycle. Doesn't it simply signal Q1 to be fully on or off?The result is a PWM signal that can go 0% to 100%. 0% and 100% are both pure DC, the carrier is gone, and they are either ground or Vcc.
