Not sure if it was mentioned, I did not read all the posts, but Frequency will give overall period, duty cycle carves up the period into 'on' and 'off' times. 'on' + 'off' must = period. So, with some simple math you can figure it out so things make sense.I'm a noob in electronics and I need a schematic to turn LEDs ON or OFF using PWM
Oh. OK, yes, I can wrap my head around that. Thanks. I'll shut up now.a constant current source has an output that attempts to push a current that is constant as the load impedance varies from 0 to infinity. • • • Within the capabilities of the power supply, the voltage at the Q2 collector will do *anything* necessary to maintain 1.8 mA of collector current. Vcc is 6 V and the circuit needs a minimum of 1.2 V of operating headroom. Thus, as long as the voltage across the cap is between 0 V and 4.8 V, the charging curve of the capacitor voltage will be a straight line, not an exponential curve. Once the cap voltage reaches 4.8 V, it will sit there until something discharges it. Note that in the constant current situation there is no resistor in series with the capacitor. The charging current is controlled/limited only by the circuit.
Got 4.65VI will calculate the values from the readings.
Construct this circuit first to get the voltage readings.
View attachment 343465
EDIT: Corrected part # for D1
I did. It'a small variation. From 4.35V to 4.95VWas that at 1.5ms?
If so than that's higher than expected.
Can you get a reading at 0.5ms?
2.11V 2.28V 2.40VCan you change C1 to a 100nf or a 0.1uf and read the voltages again at both frequencies?
4.35 4.65 4.95Reinstall the 1uf cap and get readings at all 3 frequencies again please.
What will be the supply voltage for the comparator circuit and how many volts?4.35 4.65 4.95
6VWhat will be the supply voltage for the comparator circuit and how many volts?
I like to build one myself?Why go to all the trouble of designing and building one when you can buy one for next to nothing!
2-20A High Current Remote Electronic Switch 3-30V Model Plant Protection RC Drone Water Pump PWM Signal Controller Power Supply - AliExpress