Chris, this is the best explanation of the reasoning behind using a frequency of 1000 Hz that I have found. Thanks for explaining why almost all the PWM coding I have seen uses 1000 Hz.
@MakingStuffwithChrisDeHut4 ай бұрын
Glad it was helpful! Cheers! Chris
@nigelworwood853010 ай бұрын
You are now my go to on the Pico and revision later on.
@MakingStuffwithChrisDeHut10 ай бұрын
Hi Nigel, Thanks for being a part of our community here. Cheers! chris
@pcbekri340 Жыл бұрын
i just want to say thank you sir from the bottoms of my heart im trying to learn raspberry pi pico and there are not enough tutorials on youtube or in the internet in general but when i discovered your channel it was like a savior. your explanations are wonderful thank you again sir ❤. And sorry for my broken english 😅
@MakingStuffwithChrisDeHut Жыл бұрын
Hi PC, THANK YOU SO MUCH!!! I really enjoy doing these videos and sharing what little I know with anyone willing to take the time to listen. I hope you will stick around as I have a lot of videos here, and MANY more coming up. As for your "broken English", sir, your English is much better than most of the people I train out in the field these days. You are doing might fine! Cheers! Chris
@whitneydesignlabs87382 жыл бұрын
Great video thank you. I am experimenting with RioRand 3 phase bldc motor drivers and hoverboard motors. Can't find much information about driving these controllers with pwm input signal. Spec sheet says it wants to see bwtn 1k-20khz freq. Hobby servo freq (50hz) is apparently too slow. Motor goes haywire. Might need to write some custom code to use these controllers in pwm mode. Your code is a good start.
@MakingStuffwithChrisDeHut2 жыл бұрын
Thanks for the feedback, much appreciated! Good luck on your project!
@jyvben15202 жыл бұрын
nice explanation with good presentation ... (font size is a bit small) maybe 4 leds could have shown the difference better between 25/50/75 duty cycle and no power.
@prakash-r1k11 ай бұрын
I have 100 MHz of DSO and 133 MHz of RP2040, sir.I want to make a pwm at a frequency of 1 MHz, however the square wave has a lot of noise in it. Is there anything I can do to reduce this, sir?Additionally, a PWM may produce a 65 MHz square wave. I'm using micro Python and Thonny IDE . I want to make 65 MHz. Is this possible, sir? If not, what is the maximum frequency that I can generate? Please let me know.
@MakingStuffwithChrisDeHut11 ай бұрын
Those are some pretty high frequencies to do. I doubt that it can be done using MicroPython directly. The PICO can also be programmed using PIO which is a much lower level to the hardware and allows you to achieve much higher performs. Unfortunately I have no advice on how to work with PIO. Cheers! Chris