#106

  Рет қаралды 13,606

Cheap Controls

Cheap Controls

Күн бұрын

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
@rezanulhaque2454
@rezanulhaque2454 3 жыл бұрын
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.
@adeebraza
@adeebraza 2 жыл бұрын
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.
@christianmendez4529
@christianmendez4529 2 жыл бұрын
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.
@dougbirlingmair5468
@dougbirlingmair5468 5 ай бұрын
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.
@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.
@vikingsofvintageaudio7470
@vikingsofvintageaudio7470 2 жыл бұрын
What a nice little tutorial, thanks so much!
@CheapControls
@CheapControls 2 жыл бұрын
Glad it was helpful!
@vikingsofvintageaudio7470
@vikingsofvintageaudio7470 2 жыл бұрын
@@CheapControls very, and you have such a nice slow paced style without getting boring.
@CheapControls
@CheapControls 2 жыл бұрын
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 жыл бұрын
With my next video I am going to start making it more into a training system. I will have the video on KZbin 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.
@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.
@vengug7303
@vengug7303 3 жыл бұрын
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 жыл бұрын
👏thank you
@CheapControls
@CheapControls 2 жыл бұрын
You’re welcome 😊
@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.
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 19 МЛН
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 54 МЛН
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 54 МЛН
How to Generate Sine Wave using Arduino??
32:23
JCBRO Labs
Рет қаралды 40 М.
Sine-wave Inverter using Arduino | 20 KHz PWM on Arduino Uno
7:15
How to generate SPWM by Arduino without writing code
17:11
EZZ Electronics
Рет қаралды 9 М.
Converting an Arduino PWM Output to a DAC Output
18:48
ForceTronics
Рет қаралды 110 М.
How to implement a variable sPWM on arduino/atmel (Spwm part 2)
17:14
How to Make a Pure sin Wave Inverter Using Arduino
8:30
Thiasotiks
Рет қаралды 35 М.