138 Arduino PCA9685 - no library - PWM and a WHITEBOARD!

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024
  • In this video, I go a little deeper into Pulse Width Modulation. I show how to use a PCA9685 without a library. I also use a whiteboard for the first time. Let me know what you think in the comments.
    If you enjoy the content considering donating a cup of coffee at ko-fi.com/chea...
    You can sort and find videos better on at www.cheapcontrols.com
    I have started a group on Facebook to make it easier to interact with user-requested videos. Consider looking it up. www.facebook.c...

ความคิดเห็น • 8

  • @walidkhier
    @walidkhier 3 ปีที่แล้ว +4

    Thanks a lot. You explained a lot of the data sheet mysteries. I like to understand what is going on rather than connecting black boxes together.

    • @CheapControls
      @CheapControls  3 ปีที่แล้ว

      I don't want to reinvent the wheel but sometimes the libraries get so big it is easier to start over. I am going through the same thing on the website. I thought I was going to use a framework like Laravel to rebuild the cheap controls website but learning Laravel is taking too long. I am going to build it from scratch. Sorry probably rambled a little in that reply. Thanks for watching.

  • @matthewpammenter5362
    @matthewpammenter5362 7 หลายเดือนก่อน +1

    Was trying to make use of the Adafruit library for the PCA9685.
    I found your video quite useful to compare what you did vs. what the library was doing using a logic analyser, and thence to find where the library wasn't working right.
    I'd add as a note for anyone else who is coming along to this video, that you have to set the PCA to 'sleep' mode before you can change the PWM frequency from the default 200Hz to the 50Hz required by servos (Register 0xFEh, value 0x83h), and that the 'invert' bit in mode 1 is useful when driving servos .
    Thanks for taking the time to upload!

    • @CheapControls
      @CheapControls  7 หลายเดือนก่อน

      Thank you for taking the time to inform others on what you found.

  • @sanduc7757
    @sanduc7757 3 ปีที่แล้ว +1

    Thank you for the videos

  • @bitchkoemer
    @bitchkoemer 3 ปีที่แล้ว +1

    Is there a place where we can find the full code? thx in advance, Mchel

    • @CheapControls
      @CheapControls  3 ปีที่แล้ว

      If you go to www.cheapcontrols.com you can leave a comment asking for the code. Please use the video number (#138) in your comment and I will send you the code. Thanks for watching