RC servo controller using PWM from an FPGA pin

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

КОМЕНТАРІ • 11

  • @jorgealonso2238
    @jorgealonso2238 4 роки тому

    Great video. Thank you for sharing your knowledge

  • @diegogarridomendoza2828
    @diegogarridomendoza2828 Рік тому +1

    Hi Jonas. What is the little board that interfaces the iCEstick? Is it an array of voltage regulators, or a driver? Thanks!

    • @antnew176
      @antnew176 Рік тому

      See Jonas' answer further below - I think it's an Arduino level shifter.

  • @ahmadafrakhteh7094
    @ahmadafrakhteh7094 2 роки тому

    Is the reset if-statement needed at 9:48 ?

    • @VHDLwhiz
      @VHDLwhiz  2 роки тому +1

      You can do without it, but then you will get "metavalue" warnings in simulation, unless you specify a default value, but then you may get "default values not supported" on some architectures, like Lattice. But in my opinion, there is no reason to omit the reset value because the flip-flops already have a reset input, and if you don't use it, it's essentially wasted.

  • @serdarkalay6244
    @serdarkalay6244 8 місяців тому

    ı could not understan why did you multiply with 10^6 inside the function

  • @ahmadafrakhteh7094
    @ahmadafrakhteh7094 2 роки тому

    Thank you so much. Your tutorial was great. Is there a way to find out which PWM pulse frequency/min pulse width/max pulse width is needed? I don't find anything on the datasheets.

    • @VHDLwhiz
      @VHDLwhiz  2 роки тому +1

      I did find it in a datasheet for the SG90 servo. If you can't find it for your servo, you can experiment to see which values will move the motion to the extremes. The values I used are listed in the blog post: vhdlwhiz.com/rc-servo-controller-using-pwm/

  • @baobuiquoc7219
    @baobuiquoc7219 4 роки тому

    hello sir, i'm using FPGA to control 6 servos. But i don't know how to control it. If i put direct to FPGA, it's not engouh current. I use servo HS422. Can you tell me how to control them. thank you

    • @VHDLwhiz
      @VHDLwhiz  4 роки тому

      You have to use some kind of driver circuit because the FPGA pin has too low voltage and current to drive anything more than a tiny LED. As I wrote in the attached blog post, I'm using a breadboardable level shifter. You can buy them for a dollar on eBay or AliExpress. Just search for "Arduino level shifter".

  • @bobdole27
    @bobdole27 4 роки тому

    Very informative