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
  • Наука та технологія

КОМЕНТАРІ • 61

  • @carlottaberry
    @carlottaberry 10 місяців тому +3

    @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

  • @sparkyindahouse
    @sparkyindahouse 3 місяці тому +2

    a very good video for a beginner like myself. thankyou

  • @AXE-gb4cc
    @AXE-gb4cc 2 роки тому +8

    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
      @ElectroniClinic  2 роки тому +1

      I am already working on some Raspberry Pi Pico based projects. I am sure you gonna like those projects.

  • @tohcp5729
    @tohcp5729 10 місяців тому +1

    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

  • @nfcradio4622
    @nfcradio4622 Рік тому +2

    In a class beyond Compare Gr8ly Explain.

  • @EduArdPcGamer
    @EduArdPcGamer Місяць тому +1

    Best video ever on RP...

  • @carlottaberry
    @carlottaberry 10 місяців тому +1

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

  • @carlottaberry
    @carlottaberry 10 місяців тому +1

    @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

  • @dpratte
    @dpratte Рік тому +2

    Well done, Sir!

  • @PhG1961
    @PhG1961 2 роки тому +2

    Awesome and entertaining !

  • @ryanlong8074
    @ryanlong8074 2 роки тому +3

    Fantastic, thank you.

  • @enjoymusicwithmadhav5350
    @enjoymusicwithmadhav5350 Рік тому +2

    This is just I needed thankyou

  • @hubeebehubeebe8541
    @hubeebehubeebe8541 Рік тому +3

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

  • @n1vca
    @n1vca Рік тому +2

    Excellent summary!

  • @abdurrazzak1612
    @abdurrazzak1612 Рік тому +1

    Thanks for this nice tutorial

  • @ssh4804
    @ssh4804 Рік тому +1

    great video thank you😊

  • @carlottaberry
    @carlottaberry 10 місяців тому +2

    @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

  • @schedarr
    @schedarr 2 роки тому +2

    Amazing job!

  • @alpacamybag9103
    @alpacamybag9103 Рік тому +1

    Top vid, thanks!

  • @mikosaputra7414
    @mikosaputra7414 Рік тому

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

  • @aliemlek
    @aliemlek Рік тому +1

    👌👌👍👍

  • @arturgomboc8188
    @arturgomboc8188 Місяць тому

    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!

  • @michaelcarroll4832
    @michaelcarroll4832 2 роки тому

    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!

  • @giannipolitano1917
    @giannipolitano1917 5 місяців тому

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

  • @sparkyindahouse
    @sparkyindahouse 2 місяці тому

    ZX Spectrum 48K

  • @sandeepgupta6526
    @sandeepgupta6526 Рік тому

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

  • @dayanandpanchal187
    @dayanandpanchal187 9 місяців тому

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

  • @deepalibirajdar5951
    @deepalibirajdar5951 11 місяців тому +1

    😊

  • @user-lt1hk9ql9g
    @user-lt1hk9ql9g Рік тому +1

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

  • @bladefreakers1297
    @bladefreakers1297 Рік тому

    could you tell me where did u get the potentiometer?

    • @ElectroniClinic
      @ElectroniClinic  Рік тому

      You can get it from almost every electronics shop, or you can salvage one from an old circuit.

    • @ElectroniClinic
      @ElectroniClinic  Рік тому

      It doesn't matter if you don't find the same exact pot, any pot will work.

  • @fashiarif4687
    @fashiarif4687 Рік тому

    Dear please can you make a video on how to connect Mpu 6050 with pick please please

  • @MarkJay
    @MarkJay 9 місяців тому +1

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

  • @habib7240
    @habib7240 2 роки тому

    Please upload ESP32 4th part. Please bro

    • @ElectroniClinic
      @ElectroniClinic  2 роки тому

      what you want to learn?

    • @habib7240
      @habib7240 2 роки тому

      @@ElectroniClinic Esp32 own program creating. I mean i write my own program

    • @habib7240
      @habib7240 2 роки тому +1

      @@ElectroniClinic bro your are my inspiration

    • @ElectroniClinic
      @ElectroniClinic  2 роки тому

      @@habib7240 i have uploaded so many tutorials on ESP32.

    • @habib7240
      @habib7240 2 роки тому

      @@ElectroniClinic bro what I do completely learn ESP32

  • @ronaldlogan3525
    @ronaldlogan3525 7 місяців тому +2

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

  • @boenike
    @boenike 2 роки тому +1

    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
      @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.

  • @ExpertPower
    @ExpertPower 2 роки тому +1

    Cool and simple samples
    But TOO MUCH advertising in the video ! 🤬

  • @skaptechsolutions
    @skaptechsolutions 2 роки тому

    Traceback (most recent call last):
    File "", line 1
    IndentationError: unexpected indent
    getting error again and again

    • @user-yi4xi3bu6b
      @user-yi4xi3bu6b 2 роки тому

      Hello dear how can I getting your email
      I want help me ❤️

    • @arroncroft5541
      @arroncroft5541 Рік тому

      So am I but I'm line 10, how did you resolve the issue?

  • @jimlahey5354
    @jimlahey5354 Рік тому +4

    How many times are you going to say "raspberry pi Pico"... Jesus