Pulse Width Modulation (PWM) Basics
3:48
Пікірлер
@StarChild.no1
@StarChild.no1 10 күн бұрын
Wonderful. Today I stopped having to reboot my raspberry pi. Bonus, Codium AI took over(without me asking) and optimized the code for performance, exception handling and best practices.
@mike_jay
@mike_jay 17 күн бұрын
Great mini series, I’ve really enjoyed. Would be nice if it continued on.
@Jacno77
@Jacno77 19 күн бұрын
thanks for making these buddy
@nadeensaey5011
@nadeensaey5011 21 күн бұрын
Thank you v. much sir N from China
@Subagyo-Tepil
@Subagyo-Tepil 27 күн бұрын
Thank you so much WaveShapePlay, may I ask you something , how can I make a button that the state is disable until there is a singnal from a sensor to activate it ?.
@Subagyo-Tepil
@Subagyo-Tepil Ай бұрын
Thanks for excellent explanation. Can you explain how to turn on a dc motor from GUI but stop it when there is interrupt in arduino.
@xapcgamer151
@xapcgamer151 Ай бұрын
What is the reason for only connecting the base of the PNP to the signal? why not use a 2nd capacitor to connect the signal to the NPN as well?
@yeshu9985
@yeshu9985 2 ай бұрын
quick tip: close ur serial monitor before u start ur python code or else u would end up getting an error
@g_rr_tt
@g_rr_tt 2 ай бұрын
are dri no Oo No
@basedghostcoasttocoast
@basedghostcoasttocoast 2 ай бұрын
Literally the only good video of this on the internet. Thanks!
@anaslabanie471
@anaslabanie471 3 ай бұрын
good
@sparklee6994
@sparklee6994 4 ай бұрын
suggest that you put comments in your code. and make it readable....
@idus
@idus 6 ай бұрын
its not ardreno Thanks for the video.
@seanemmett2845
@seanemmett2845 6 ай бұрын
Thanks!
@davemac6756
@davemac6756 7 ай бұрын
That is a MIDI "input" circuit. 🤔
@WaveShapePlay
@WaveShapePlay 7 ай бұрын
Good point from the end to end circuitry perspective! I was thinking from the perspective of measuring the midi controller message, where the midi controller key stroke is the input and the optocoupler buffered message is the output. I adjusted the title.
@stuntmanmadeit
@stuntmanmadeit 8 ай бұрын
Great job bruh!
@katheriner9194
@katheriner9194 8 ай бұрын
Wow, amazing!
@cyrusmuthui52
@cyrusmuthui52 9 ай бұрын
Hi, Great video. How can I plot three different values being sent by the arduino? Please help
@orisplus3733
@orisplus3733 5 ай бұрын
robosub?
@cyrusmuthui52
@cyrusmuthui52 5 ай бұрын
robosub is like an application or?
@cjimcook
@cjimcook 9 ай бұрын
Alas, there was no followup.
@DrZylvon
@DrZylvon 10 ай бұрын
Thanks, very useful tutorial.
@ayeshNbandara
@ayeshNbandara 11 ай бұрын
thanks a lot! Your explanation is very clear!
@user-kx8lm3oi1k
@user-kx8lm3oi1k 11 ай бұрын
tanks for knowledge and simple file tanks very much
@user-kx8lm3oi1k
@user-kx8lm3oi1k 11 ай бұрын
Thanks to finish to be larn and simple file
@user-kx8lm3oi1k
@user-kx8lm3oi1k 11 ай бұрын
Tanks to learn and simple file
@user-kx8lm3oi1k
@user-kx8lm3oi1k 11 ай бұрын
Tanks very much to your knowledge and simple file tanks
@user-kx8lm3oi1k
@user-kx8lm3oi1k 11 ай бұрын
Thanks for simple file and your knowledge
@user-kx8lm3oi1k
@user-kx8lm3oi1k 11 ай бұрын
Thanks for your knowledge and simple file thanks very much
@user-kx8lm3oi1k
@user-kx8lm3oi1k 11 ай бұрын
Tanks your teach and simple file tanks very much
@user-kx8lm3oi1k
@user-kx8lm3oi1k 11 ай бұрын
Thanks ...very much your simple code to be easy learn and correct program
@sihill1667
@sihill1667 11 ай бұрын
The explanation in this link shows how the Vbe is actually multiplied. kzfaq.info/get/bejne/hciYkrN6qJjVoaM.html
@kit-elektronik
@kit-elektronik Жыл бұрын
very good, clear explaination,
@cliveradvan3414
@cliveradvan3414 Жыл бұрын
Very informative. Thank you
@najninmansuri9346
@najninmansuri9346 Жыл бұрын
Heyy, Can we not defined the input pin commands in python only, like I don't want to use ide, Can I do that?
@pawanbhatt314
@pawanbhatt314 Жыл бұрын
you're a freakin life saver, i was searching for a week how to not have a plot with increasing number of points, that -50 saved me. Arigato Gozaimasu.
@WaveShapePlay
@WaveShapePlay Жыл бұрын
Gald you found it helpful!
@AqzaHAT
@AqzaHAT Жыл бұрын
6 years ago and still relevant baby!
@user-oy1lu4lf9q
@user-oy1lu4lf9q Жыл бұрын
interesting video. I tried this without changing code but when I run it the following error is found. Cell In[4], line 17 connectPort=findArduino(foundPorts) Cell In[4], line 15 in findArduino return commPort UnboundLocalError: local variable 'commPort' referenced before assignment ****how could it be resolved tell me please!!!!!!!
@goelji4777
@goelji4777 Жыл бұрын
Very informative and simple
@noyes1275
@noyes1275 Жыл бұрын
I am using Jupyter Notebook When i input the letter 'g' my plot is empty, showing nothing😢
@altarazisultan
@altarazisultan Жыл бұрын
Did you find a solution? I am getting empty plot also using PyCharm.
@Glanmire3
@Glanmire3 11 ай бұрын
I presume you type the letter g on the keyboard, which is wrong because the arduino board sending through by the serial port. However, don't forget to check and modify the serial port number in the python source code according to your operating system! (For example on my system the windows assigned to COM4)
@sandhayagupta4948
@sandhayagupta4948 6 ай бұрын
It may be due to wrong serial port number or wrong baud rate
@canaduino
@canaduino Жыл бұрын
It's not a generator. It rather is a converter.
@corentinlanguepin5270
@corentinlanguepin5270 Жыл бұрын
Hi Sir, thanks for this video that helps me a lot. Nevertheless, for your x axis, how could it be possible to have this plot "in real time" with your time as your x axis. Here, your x axis is fixed. Thanks for your answer !
@WaveShapePlay
@WaveShapePlay 7 ай бұрын
The "x" is the place within the frame. I do understand what you are saying, but the Real time is in reference to the frame data updating with a constant frequency.
@warinwanpare1995
@warinwanpare1995 Жыл бұрын
thank you sir, all your tutorial has been amazing for me and it's very useful at my work. I can't wait more video from you .
@linq8977
@linq8977 Жыл бұрын
Good job bro! Clear and detailed explaination both on arduino side and on python side! very helpful
@nadiasafafajriani1121
@nadiasafafajriani1121 Жыл бұрын
can i use this with tkinter instead??
@voytechj
@voytechj Жыл бұрын
Yes, matplotlib plots can be embedded in Tkinter window, and you can always use canvas widgets to plot signals with points or lines.
@mohammedk.h.f3016
@mohammedk.h.f3016 Жыл бұрын
Great video
@hankhamner3671
@hankhamner3671 Жыл бұрын
I copied your software above and uploaded it to my Due. Next I set my signal generator to output a DC sine wave 0 - 2Vp-p 1 kHz. I am not sure the Due can handle a true sine wave going negative. I then plugged the + signal generator into the A0 pin and the ground into one of the ground pins. Next, I hooked up my oscilloscope to the DAC0 pin with the ground going to one of the ground pins. Output was only noise. What is wrong?
@hankhamner3671
@hankhamner3671 Жыл бұрын
My error and it appears to work okay. What I did notice is that the Due's accurate voltage output is limited to about 700mV p-p with a frequency around 1kHz max. For real work need to have a much faster processor so I am moving to a Cortex M7. The voltage out is totally inaccurate but the frequency is okay.
@WaveShapePlay
@WaveShapePlay Жыл бұрын
That is correct. To measure your sinewave you would need a DC offset for your AC sine wave. You could center the DC offest at the midpoint threshold of the ADC pin, and see the maxium amount of voltage swing around the midpoint. By "level shifting" the sinwave you can see the "negative" swing realtive to the midpoint and not ground (0V).
@t1d100
@t1d100 Жыл бұрын
An excellent video and teaching.
@markm817
@markm817 Жыл бұрын
I love you video style, keep that !
@markm817
@markm817 Жыл бұрын
Sir, you said so clear that I can understand the knowledge, thank you wholeheartly.