3 Comments

  1. Sorry for spamming this circuit! just wanted to post a quick update of the 2 axis version of the analog solar tracker as well as a circuit on the left outlining how the circuit generates the PWM signals that directs the servos as some folks were asking questions about it!

    Its super simple, all you need is a ramp waveform (or a sine wave if you don’t care if the PWM signal won’t vary linearly with the analog input voltage) which is the blue plot in the gif, and an analog input signal (orange plot). When you use a comparator to compare the signals, you get a PWM signal with a frequency the same as that of the sawtooth, and with a duty cycle that increases with the analog input voltage. This is because it takes the sawtooth (applied to the inverting input of the comparator in this case) longer to reach & surpass a larger analog input voltage in order to swing the comp’s output off, meaning that the Signal will be “on” for a longer percentage of the total period of the signal – or in other words, a larger + duty cycle.

  2. Underrated. Very good work!

Leave a Reply

Your email address will not be published. Required fields are marked *

SHOPPING CART

close