How To Control A Servo with a 555 Timer

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 8

  • @warden-king123
    @warden-king123 Рік тому +1

    good work

  • @ronaldserrano06
    @ronaldserrano06 Місяць тому +1

    are yall twins?

  • @ILsupereroe67
    @ILsupereroe67 3 місяці тому

    "The signal isn't perfect so you'll see that the robot arm jitters a little bit" - A LITTLE BIT??? That makes it completely unusable, this circuit is garbage

    • @hackertwins
      @hackertwins  3 місяці тому

      @@ILsupereroe67 adding a capacitor and a diode fixed this circuit. Haha maybe we need to upload a new video

    • @ILsupereroe67
      @ILsupereroe67 3 місяці тому

      Exactly where should one add the capacitor and the diode, and what capacitance? All the trustworthy sources I can find say the only solution is to use two 555s, one for fixed frequency and the other to modulate the pulse width, but I'm willing to try adding the capacitor

    • @hackertwins
      @hackertwins  3 місяці тому

      @@ILsupereroe67 Really you should be using a micro controller like an Arduino Nano or ESP32. But you can try adding a 1000 uf capacitor in between the servo and your power supply. If that doesn't fix it, try adding a diode right before the capacitor, anode on the common ground and cathode on the + supply. Really consider using a micro controller instead, they give you access to so many more sensors and more precise controls.

    • @ILsupereroe67
      @ILsupereroe67 3 місяці тому

      @@hackertwins By "between the servo and power supply" do you mean + of the capacitor on + of power supply, and - of the capacitor on ground? If so I already tried with a 470uF and made no difference. I don't see how a capacitor would help, the issue is not the stability of power supply, otherwise the microcontroller would have the same issue, right? AFAIU the issue is that the servo doesn't "like" a variable frequency in the signal. With your circuit changing the pulse duration also changes the frequency. I already did it with a microcontroller, the whole point of the circuit for me is to do away with the microcontroller