Raspberry Pi Pico RP2040 Programming in MicroPython, Complete Course for Beginners with Examples
Altium Designer:
www.altium.com...
Raspberry Pi Pico Complete Course, Read Article:
www.electronic...
Subscribe to my New KZread Channel, if you want to watch my videos in Hindi/Urdu
/ @letsgetstartedd
Support me on Patreon:
/ electroniclinic
Project Description:
*******
Raspberry Pi Pico is the best microcontroller board and it's capable of doing things, which you can’t even imagine doing with the Arduino boards. Raspberry Pi Pico is much cheaper than the Arduino Uno, Arduino Nano, and other Arduino boards. I got this Raspberry Pi Pico board from the DFrobot for only 4 dollars.
Anyway, since this is a getting started tutorial; so, I will try my level best to explain each and every detail including,
1. Raspberry Pi Pico Comparison with Arduino
2. Raspberry pi Pico Technical Specifications
3. Raspberry Pi Pico Pinout details
4. Raspberry Pi Pico Onboard Components
5. Raspberry Pi Pico MicroPython installation, Driver installation, and Thonny IDE installation.
I will start with the easiest example which is controlling the Raspberry Pi Pico onboard LED, I will write a very basic program to Turn ON and Turn OFF the Onboard LED.
Then in the 2nd example, I will show you how to connect an external LED.
In 3rd example, I will show you how to connect multiple LEDs and then how to modify the existing code to make some cool patterns. These LED example projects will help you in understanding how to turn ON and turn OFF any GPIO pin on the Raspberry Pi Pico.
In the 4th example, I will show you how to read a digital input on any GPIO pin of the Raspberry Pi Pico, for this, I will use a Pushbutton. We will be reading and controlling both at the same time. The Raspberry Pi Pico board will sense the button click and will then accordingly turn ON or turn OFF the LED.
In the 5th example, I will show you how to connect an Oled display module with the Raspberry Pi Pico. I will write a very basic program to print some text on the Oled display module. This is really an important example because in maximum of the projects you will need displays to print text and sensors values.
In the 6th example, I will show you how to use an analog sensor with the Raspberry Pi Pico and display its value on the Oled display module. For demonstration purposes, I will be using a Potentiometer as the sensor.
In the 7th example, I will show you how to use an Ultrasonic Sensor with the Raspberry Pi Pico and display its value on the Oled display module.
In the 8th example, I will show you how to make a temperature monitoring system and by the way, I will be using the Raspberry Pi Pico onboard Temperature sensor.
In the 9Th example, I will show you how to make the day and night detection system. This is really an important example as I will be explaining how to use an LDR sensor and a relay module for controlling a 110/220Vac Light Bulb.
In the 10th and final example, we will be making a small security system using a PIR sensor and a buzzer. The PIR sensor will sense the motion which will trigger the Raspberry Pi Pico and then the Raspberry Pi Pico will turn ON the buzzer.
********
Amazon Purchase links:
*******
Other must-have Tools and Components:
Raspberry Pi Pico from DFrobot:
www.dfrobot.co...
Raspberry Pi Pico from Amazon:
amzn.to/3vAceFS
Arduino Uno, Nano, Mega, Micro "All types of Arduino Boards":
amzn.to/3fk5OTi
Top Arduino Sensors:
amzn.to/3vZbnfM
Super Starter kit for Beginners
amzn.to/3cq56C5
Top Oscilloscopes
amzn.to/3ctF3d8
Variable Supply:
amzn.to/2PEAqE7
Digital Multimeter:
amzn.to/2QGRPg1
Top Soldering iron kits: "best"
amzn.to/39nqDtb
Top Portable drill machines:
amzn.to/3suQMh7
3D printers:
amzn.to/3ruG1dt
CNC Machines:
amzn.to/3cuZWVv
Electronics Accessories:
amzn.to/3sueV7z
Hardware Tools:
amzn.to/3m9UhaN
DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!
*******
For more Projects and tutorials visit my Websites
Electronic Clinic:
www.electronic...
Programming Digest:
programmingdig...
Follow me on Instagram:
/ electroniclinic
Follow my Facebook Page Electronic Clinic:
web.facebook.c...
Follow my Facebook Group, Arduino Projects:
/ 190031841821771
Email:
stu_engineering@yahoo.com
#RaspberryPiPico
#RP2040
#RaspberryPiPicoExamples
Пікірлер: 61
@27:18 Example 5 - OLED Display @32:55 Example 6 - Analog Input with Potentiometer @34:07 Example 7 - Sonar @36:42 Example 8 - Temperature Sensor @40:13 Example 9 - LDR sensor @43:12 Example 10 - Security Sensor - buzzer
@15:54 Example 1 -Blink Internal LED @19:40 Example 2 - Blink External LED @21:54 Example 3 - Knight Rider lights @24:46 Example 4 - Pushbutton
a very good video for a beginner like myself. thankyou
Appreciate your professional, clear, and detailed info along this "course " . very impressed to me as great learning of MCU and Programming under your guided . I am working in Singapore as product F.A. team and think about project of automatic F.A tools develop. thanks . keep it up .Good luck
Just so people are aware, the rasberry pi pico w uses different uf2 files so watch out for that, and the led pin changes
Thank you for a great video to help prepare for my Black In Robotics workshop.
In a class beyond Compare Gr8ly Explain.
Wow, great work Man, thanks a lot for this wonderful and knowledge based video and special thanks for covering 10 projects in one single video. Looking forward to view more videos on Pico , All the best Great Job 👍👍👍
@ElectroniClinic
2 жыл бұрын
I am already working on some Raspberry Pi Pico based projects. I am sure you gonna like those projects.
@25:47 the button is wired incorrectly, both wires should be on the same side of the button, one going to pin 14 and the other going to 3.3V
Best video ever on RP...
This is just I needed thankyou
Excellent summary!
Well done, Sir!
Thanks for this nice tutorial
Fantastic, thank you.
great video thank you😊
Awesome and entertaining !
Nice work! Could you help me? Chinese calliper data reading pi pico micropyton is the few lines of code that do this! Unfortunately, I couldn't find a sample example of such a thing anywhere!
Amazing job!
@ElectroniClinic
2 жыл бұрын
Thank you!
Please cover UART & Timer as well to complete the tutorial.
@ElectroniClinic
Жыл бұрын
Sure. I will.
You could save a lot of time ans just get into the examples instead of listing every detail first
i can't seem to find the ssd1306 micropython package on thonny, is it because i'm on a mac?
Top vid, thanks!
@ElectroniClinic
Жыл бұрын
Thank you.
does the RP2040 have a minimum system like atmega 328? if so what is the minimum circuit of the system?
I took two my Pico's out of their bags. I took one and connected it to the MAC and pico. I did not get any response. Not sure what is going on. I took my MicroBit and connected it the same way and it show "directory" MicroBit". Do I need software on the pico? It looks like you just connected the pico and pressed the "BootSel" and it show the Rasp Pi. I can use your advice. Thanks!
Sir pl. Say about rasberry pi pico complete course . I want to write own proggram in python like basic to object detection etc
I am using win7 os, after watching many videos but I am not start microphone, please solve my problem
👌👌👍👍
ZX Spectrum 48K
😊
Hello, I have a problem with my RPi Pico. After each unplug and replug, MicroPython needs to be installed every single time in order to work. Why is it happening? It seems like the Pico just forgets that it has already been installed
@michaelcarroll4832
2 жыл бұрын
When you want to save the program on a pico, save it with the name called "main.py" If you save it as anything else, if only runs while it is plugged -in. I would of hope Raspberry would change this.
Dear please can you make a video on how to connect Mpu 6050 with pick please please
@ElectroniClinic
Жыл бұрын
with pick? plz explain.
8 minutes in and still no instructions on how to use MicroPython. Instead waste time explaining what is obvious.
could you tell me where did u get the potentiometer?
@ElectroniClinic
Жыл бұрын
You can get it from almost every electronics shop, or you can salvage one from an old circuit.
@ElectroniClinic
Жыл бұрын
It doesn't matter if you don't find the same exact pot, any pot will work.
Please upload ESP32 4th part. Please bro
@ElectroniClinic
2 жыл бұрын
what you want to learn?
@habib7240
2 жыл бұрын
@@ElectroniClinic Esp32 own program creating. I mean i write my own program
@habib7240
2 жыл бұрын
@@ElectroniClinic bro your are my inspiration
@ElectroniClinic
2 жыл бұрын
@@habib7240 i have uploaded so many tutorials on ESP32.
@habib7240
2 жыл бұрын
@@ElectroniClinic bro what I do completely learn ESP32
Cool and simple samples But TOO MUCH advertising in the video ! 🤬
Traceback (most recent call last): File "", line 1 IndentationError: unexpected indent getting error again and again
@user-yi4xi3bu6b
2 жыл бұрын
Hello dear how can I getting your email I want help me ❤️
@arroncroft5541
Жыл бұрын
So am I but I'm line 10, how did you resolve the issue?
How many times are you going to say "raspberry pi Pico"... Jesus