Raspberry Pi Pico RP2040 Programming in MicroPython, Complete Course for Beginners with Examples
Вставка
- Опубліковано 2 бер 2022
- Altium Designer:
www.altium.com/yt/electronicl...
Raspberry Pi Pico Complete Course, Read Article:
www.electroniclinic.com/raspb...
Subscribe to my New UA-cam 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.com/product-2187....
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.electroniclinic.com/
Programming Digest:
programmingdigest.com/
Follow me on Instagram:
/ electroniclinic
Follow my Facebook Page Electronic Clinic:
web. profile.php?...
Follow my Facebook Group, Arduino Projects:
/ 190031841821771
Email:
stu_engineering@yahoo.com
#RaspberryPiPico
#RP2040
#RaspberryPiPicoExamples - Наука та технологія
@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
a very good video for a beginner like myself. thankyou
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 👍👍👍
I am already working on some Raspberry Pi Pico based projects. I am sure you gonna like those projects.
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
In a class beyond Compare Gr8ly Explain.
Best video ever on RP...
Thank you for a great video to help prepare for my Black In Robotics workshop.
@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
Well done, Sir!
Awesome and entertaining !
Fantastic, thank you.
This is just I needed thankyou
Just so people are aware, the rasberry pi pico w uses different uf2 files so watch out for that, and the led pin changes
Excellent summary!
Thanks for this nice tutorial
great video thank you😊
@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
Amazing job!
Thank you!
Top vid, thanks!
Thank you.
does the RP2040 have a minimum system like atmega 328? if so what is the minimum circuit of the system?
👌👌👍👍
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!
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!
i can't seem to find the ssd1306 micropython package on thonny, is it because i'm on a mac?
ZX Spectrum 48K
I am using win7 os, after watching many videos but I am not start microphone, please solve my problem
Sir pl. Say about rasberry pi pico complete course . I want to write own proggram in python like basic to object detection etc
😊
Please cover UART & Timer as well to complete the tutorial.
Sure. I will.
could you tell me where did u get the potentiometer?
You can get it from almost every electronics shop, or you can salvage one from an old circuit.
It doesn't matter if you don't find the same exact pot, any pot will work.
Dear please can you make a video on how to connect Mpu 6050 with pick please please
with pick? plz explain.
You could save a lot of time ans just get into the examples instead of listing every detail first
Please upload ESP32 4th part. Please bro
what you want to learn?
@@ElectroniClinic Esp32 own program creating. I mean i write my own program
@@ElectroniClinic bro your are my inspiration
@@habib7240 i have uploaded so many tutorials on ESP32.
@@ElectroniClinic bro what I do completely learn ESP32
8 minutes in and still no instructions on how to use MicroPython. Instead waste time explaining what is obvious.
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
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.
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
Hello dear how can I getting your email
I want help me ❤️
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