Raspberry Pi Pico RP2040 Programming in MicroPython, Complete Course for Beginners with Examples

preview_player
Показать описание
Altium Designer:

Raspberry Pi Pico Complete Course, Read Article:

Subscribe to my New YouTube Channel, if you want to watch my videos in Hindi/Urdu

Support me on Patreon:

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:

Raspberry Pi Pico from Amazon:

Arduino Uno, Nano, Mega, Micro "All types of Arduino Boards":

Top Arduino Sensors:

Super Starter kit for Beginners

Top Oscilloscopes

Variable Supply:

Digital Multimeter:

Top Soldering iron kits: "best"

Top Portable drill machines:

3D printers:

CNC Machines:

Electronics Accessories:

Hardware Tools:

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:

Programming Digest:

Follow me on Instagram:

Follow my Facebook Page Electronic Clinic:

Follow my Facebook Group, Arduino Projects:

Email:
#RaspberryPiPico
#RP2040
#RaspberryPiPicoExamples
Рекомендации по теме
Комментарии
Автор

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 👍👍👍

AXE-gbcc
Автор

a very good video for a beginner like myself. thankyou

sparkyindahouse
Автор

In a class beyond Compare Gr8ly Explain.

nfcradio
Автор

@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

carlottaberry
Автор

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

tohcp
Автор

Thank you for a great video to help prepare for my Black In Robotics workshop.

carlottaberry
Автор

Just so people are aware, the rasberry pi pico w uses different uf2 files so watch out for that, and the led pin changes

hubeebehubeebe
Автор

@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

carlottaberry
Автор

@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

carlottaberry
Автор

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!

arturgomboc
Автор

i can't seem to find the ssd1306 micropython package on thonny, is it because i'm on a mac?

giannipolitano
Автор

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!

michaelcarroll
Автор

does the RP2040 have a minimum system like atmega 328? if so what is the minimum circuit of the system?

mikosaputra
Автор

I am using win7 os, after watching many videos but I am not start microphone, please solve my problem

sandeepgupta
Автор

Sir pl. Say about rasberry pi pico complete course . I want to write own proggram in python like basic to object detection etc

dayanandpanchal
Автор

Please cover UART & Timer as well to complete the tutorial.

VisheshSingh-qq
Автор

You could save a lot of time ans just get into the examples instead of listing every detail first

MarkJay
Автор

8 minutes in and still no instructions on how to use MicroPython. Instead waste time explaining what is obvious.

ronaldlogan
Автор

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

boenike
Автор

could you tell me where did u get the potentiometer?

bladefreakers