Raspberry Pi Pico Tutorial 2 | PWM and Servo Motor | MicroPython | VS Code | pico-go extension

  Переглядів 4,503

RoboCircuits

RoboCircuits

3 роки тому

Get 30 days free trial Altium Designer - www.altium.com/yt/robocircuits
Raspberry Pi Pico tutorial using micropython and visual studio code (vs code) with MicroPython by installing the pico-go extension.
Previous Video - • Raspberry Pi Pico Tuto...
Code and Schematics -
Control LED brightness with PWM
Pulse width modulation, allows you to give analog behaviors to digital devices, such as LEDs. This means that rather than an LED being simply on or off, you can control its brightness.
The frequency (pwm.freq) tells Raspberry Pi Pico how often to switch the power between on and off for the LED.
The duty cycle tells the LED for how long it should be on each time. For Raspberry Pi Pico in MicroPython, this can range from 0 to 65025. 65025 would be 100% of the time, so the LED would stay bright. A value of around 32512 would indicate that it should be on for half the time.
Have a play with the pwm.freq() values and the pwm.duty_u16 values, as well as the length of time for the sleep, to get a feel for how you can adjust the brightness and pace of the pulsing LED.
Controlling Servo Motors such as 9g Micro Servo is fun with PWM signals from the RP2040 microcontroller mounted on the raspberry pi pico board.
Social Links
Facebook - robocircuits
Instagram - / robocircuits
Twitter - / robocircuits
Instructables - www.instructables.com/member/...
Arduino CC - create.arduino.cc/projecthub/...

КОМЕНТАРІ: 22
@RealtyElectronics
@RealtyElectronics 3 роки тому
I like your way of explaining. Keep it up bro.
@RoboCircuits
@RoboCircuits 3 роки тому
Thank you
@dumb_didi
@dumb_didi 3 роки тому
Very well explained!!!❤️
@RoboCircuits
@RoboCircuits 3 роки тому
Thanks and cheers!!! 🍻
@x-6790
@x-6790 3 роки тому
excellent explanation
@RoboCircuits
@RoboCircuits 3 роки тому
Thank you so much 🥰
@anokhautomation4453
@anokhautomation4453 2 роки тому
Very useful 🙏. Thanks for sharing
@RoboCircuits
@RoboCircuits 2 роки тому
😍
@sonaljaglan1654
@sonaljaglan1654 3 роки тому
Chha gye guru👍🤣😂😍😍
@RoboCircuits
@RoboCircuits 3 роки тому
😂😂😂😂 tq
@creativeelectronics6266
@creativeelectronics6266 3 роки тому
Nice
@RoboCircuits
@RoboCircuits 3 роки тому
Thank you
@electronic7979
@electronic7979 3 роки тому
👏👏👏
@RoboCircuits
@RoboCircuits 3 роки тому
Thank you ❤️
@shivamsingh7111
@shivamsingh7111 2 роки тому
sir i want to write a program for servo motor in raspberry pi pico that servo first rotate from 0 to 180 degree and after 45 mins it rotate from 180 to 0 degree sir plz help me to write this program..
@RoboCircuits
@RoboCircuits 2 роки тому
Give a delay of 45 minutes in between two it will work
@shivamsingh7111
@shivamsingh7111 2 роки тому
plz reply quick i have an emergency
@RoboCircuits
@RoboCircuits 2 роки тому
You will need to use the same code as written in this video You will have to reduce the max value a little and add a delay of 45 min
@shivamsingh7111
@shivamsingh7111 2 роки тому
@@RoboCircuits sir not working plz write the code here it will be very helpful full for me
@shivamsingh7111
@shivamsingh7111 2 роки тому
sir actually i have that day to complete my project i am using servo sg 90 sir plz help me
#372 How to use the two Cores of the Pi Pico? And how fast are Interrupts?
14:25
Raspberry Pi Servo Motor Control
17:36
ExplainingComputers
Переглядів 378 тис.
PWM on the Raspberry Pi Pico with MicroPython
4:47
Brad Henson
Переглядів 10 тис.
Raspberry Pi Pico Servo Motors via PWM
12:49
Tinker Tech Trove
Переглядів 28 тис.
How To Control A Standard Servo With Raspberry Pi
7:40
Core Electronics
Переглядів 70 тис.
How to Make ANY servo rotate 360° - EASY and FAST
1:30
Troy McMillan
Переглядів 305 тис.
Raspberry Pi Pico: nRF24L01 over SPI
19:05
Tinker Tech Trove
Переглядів 27 тис.
Top 5 Beginner PCB Design Mistakes (and how to fix them)
12:52
Altium Academy
Переглядів 188 тис.
Что если бы Apple делала зубные щётки?
0:59
Как установить Windows 10/11?
0:56
Construct PC
Переглядів 1,2 млн
КУПИЛ SAMSUNG GALAXY S24 ULTRA ЗА 88000 РУБЛЕЙ!
27:29
DimaViper
Переглядів 31 тис.
Samsung or iPhone
0:19
rishton_vines😇
Переглядів 137 тис.