#106

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024
  • In this tutorial, I discuss the Arduino sin() command using a few different Arduino programming technics.
    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...

Комментарии • 25

  • @dougbirlingmair5468
    @dougbirlingmair5468 5 месяцев назад +1

    That is the absolute 1st time anyone explained what a radian is so succinctly. I only understood radians by comparing to degrees before this. Thank you and kudos to you!

    • @CheapControls
      @CheapControls  5 месяцев назад

      Glad it was helpful! This is video is a bit older. The main reason I make these videos is for my own use. I forget stuff so fast that I need these as refresher videos. I am glad they helped someone else.

  • @christianmendez4529
    @christianmendez4529 2 года назад +3

    Exactly what I was looking for! Bookmarked, liked & subscribed!

    • @CheapControls
      @CheapControls  2 года назад

      I am glad it helped you out. Thanks for watching. I am in the middle of a move. I should be back to making videos soon.

  • @rezanulhaque2454
    @rezanulhaque2454 3 года назад +5

    Want to learn more in depth.
    It would be better if u cover triangular wave just like this one.
    Great work

    • @CheapControls
      @CheapControls  3 года назад

      I will look into that, thanks for the suggestion.

  • @vikingsofvintageaudio7470
    @vikingsofvintageaudio7470 2 года назад +3

    What a nice little tutorial, thanks so much!

    • @CheapControls
      @CheapControls  2 года назад +1

      Glad it was helpful!

    • @vikingsofvintageaudio7470
      @vikingsofvintageaudio7470 2 года назад +1

      @@CheapControls very, and you have such a nice slow paced style without getting boring.

    • @CheapControls
      @CheapControls  2 года назад +1

      Thank you for the kind words. I have always struggled to learn this stuff, when I make a video I make it so I can go back and watch it when I forget what I learned.

    • @vikingsofvintageaudio7470
      @vikingsofvintageaudio7470 2 года назад

      @@CheapControls Perfect strategy! I do the same at my work. But in PowerPoint 😁

    • @CheapControls
      @CheapControls  2 года назад +1

      With my next video I am going to start making it more into a training system. I will have the video on RUclips but I will have a short class on a moodle site I am setting up over on www.cheapcontrols.com At least I hope too. I do not have a lot of time but I may try a video every other week to accomplish this.

  • @adeebraza
    @adeebraza 2 года назад +3

    Thank you great learn from u also to know for 3 Phase 50 Hz sine wave generation with phase angle difference of 120 degree each other with arduino UNO output R Phae at pin no 7 , Y Phae at pin no 8 & B Phae at pin no 9. Thanks

    • @CheapControls
      @CheapControls  2 года назад

      This is a very interesting comment. I am currently without a shop. I recently moved and am just now setting up a place to work on projects. It will be a couple more weeks before I can experiment. If you want you can submit a comment on my website to make sure I don't forget.

    • @JWSmythe
      @JWSmythe 2 года назад

      I just put together a quick demonstration to expand his 1 phase to 3 phase. You just calculate the other phase positions from the primary phase.
      You can run the simulation on Tinkercad to see it working. Click Code (top right), then Serial Monitor (bottom, under the code), and then Toggle Graph, to show the output graphically. Click "Start Simulation" get get it moving.
      www.tinkercad.com/things/83HKHyQO4Va-arduino-3-phase-sine-wave-output/editel
      I also put the code up on Pastebin, if you prefer that. It's the same code.
      pastebin.com/c99x4nHJ
      He uses 64 steps (0 to 63). 63/3 = 21. So add 21 to each, and wrap the value if over 63.
      You will need to do your own timing work to get 50Hz from it. Probably a lot of millis() work. Calculate what y (ya) should be after the actual duration, rather than just incrementing it. That will protect from any latency in the hardware or your code, and correct for it by itself.

  • @vengug7303
    @vengug7303 3 года назад +1

    Thank you great learn from u How much frequency ?? Please

    • @CheapControls
      @CheapControls  3 года назад

      I m not sure what the frequency was of this video. Sorry. Thanks for watching

  • @receparslan594
    @receparslan594 2 года назад +1

    👏thank you

  • @omegalasermexico
    @omegalasermexico 10 месяцев назад

    So this sine wil come out on any regular digital output??

    • @CheapControls
      @CheapControls  10 месяцев назад

      No, this is for internal use only. digital outputs are only high and low. Analog I/O might work but I have never tried it. You would have to make sure your values fit to the analog I/O values.

  • @no5x937
    @no5x937 2 года назад

    Why 630 instead of 628?

    • @CheapControls
      @CheapControls  2 года назад

      Not sure, just a decision in the moment. Did you try 628? Thanks for watching.

  • @madmatmadmat
    @madmatmadmat Год назад

    Its a shame your description of Radians is so bad! (And wrong) Five and whatever is left? C'mon. You stated exactly how many radians in 360° at 0:52s. I couldn't get past 2mins.

    • @CheapControls
      @CheapControls  Год назад

      Thank you for taking time to comment. You are a very intelligent person. I will study more and try to do better.