Raspberry Pi PICO | Starting With MicroPython + Examples | I2C OLED, ADC, PWM

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ย. 2024

ความคิดเห็น • 270

  • @ELECTRONOOBS
    @ELECTRONOOBS  3 ปีที่แล้ว +8

    Arduino Course (Spanish): bit.ly/3ldW6kO
    Follow me on FACEBOOK for more: facebook.com/Electronoobs
    Help me on Patreon: www.patreon.com/ELECTRONOOBS

  • @amirb715
    @amirb715 3 ปีที่แล้ว +5

    this was by far THE best tutorial on Pi pico on youtube

  • @markadyash
    @markadyash 3 ปีที่แล้ว +2

    sir you are my tech guru mean great teacher , im an electronic engineering student and your videos are more useful to me and I appreciate your work thank you sir so much love you

  • @FushigiMigi
    @FushigiMigi 2 ปีที่แล้ว

    I cannot believe the quality of this video. Thank you.

  • @JD96893
    @JD96893 3 ปีที่แล้ว +3

    What I like most about this is micropython! Programing arduino isn't easy, where as python IS very easy to learn and use and has a massive user base.

  • @phreak074
    @phreak074 3 ปีที่แล้ว

    When the lighter went to the micro pi I was like 😵😵😵
    Awesome vid, learned a bunch!

  • @saurabhgawli2167
    @saurabhgawli2167 3 ปีที่แล้ว +31

    I Luv U man... I always pray for U that u get more n more successful... Respect for you man..

  • @iandwyer6658
    @iandwyer6658 ปีที่แล้ว

    THANK YOU!!! This fixed multiple serial initialization issues I had. I am using the arduino ide, and putting a 100ms delay at the start of setup() fixed it

  • @deviljelly3
    @deviljelly3 3 ปีที่แล้ว +30

    I love that you and GreatScott fight every Sunday for who releases first.... you beat him this time :)

    • @Haakkon
      @Haakkon 3 ปีที่แล้ว +5

      He may have beat him this time, but in the end... we're the winners.

  • @MartinBgelund
    @MartinBgelund 3 ปีที่แล้ว +14

    Please consider making videos about the PIO's. I think these are an interesting addition to a microcontroller with many great applications, but they are somewhat hard to grasp conceptually.

  • @msmith2961
    @msmith2961 3 ปีที่แล้ว +3

    This is an excellent starting point for getting into Pico. Nice work!

  • @ItsScientist
    @ItsScientist 3 ปีที่แล้ว

    I didn't know Raspberry Pi pico would be easier than Arduino ....thanx buddy❤️

  • @bertrandmajorik6589
    @bertrandmajorik6589 3 ปีที่แล้ว

    I was going to get an Arduino but now....... I'll ge this Raspberry pi micro controller instead, and wait for the C++ video.
    Thank you!!!!!

  • @piiumlkj6497
    @piiumlkj6497 3 ปีที่แล้ว +4

    This was great, I suggest that when you finish reviewing this board to compare it with other powerful boards like the teensy 3.6

  • @gavinthecrafter
    @gavinthecrafter 3 ปีที่แล้ว +2

    This is a great video! I'm thinking about making a tiny game console using one of these and a display and controller. Then I can program a few games in MicroPython, flash it to the Pico, and have a game console I can carry with me and use whenever I plug in a micro USB charging cable!

  • @dylanpendlebury23
    @dylanpendlebury23 3 ปีที่แล้ว +5

    I love that you're covering the new pi pico! I am trying to upgrade some of my old projects with this new board, many which use the popular nRF24L01 transceiver module. I would love to see a guide that uses these two together, like your universal RC transmitter, or a two-way terminal to terminal messenger. It looks like nobody out there as a guide with the nRF24L01 and Micro Python!?!

  • @MahBor
    @MahBor 2 ปีที่แล้ว

    I can't believe you hit it with fire haha
    Just got my own pico. Thanks for the tutorial!

    • @ptipupu
      @ptipupu ปีที่แล้ว

      c'est vrai qu'il m'a tué sur ce coup là 🔥

  • @tiffymac256
    @tiffymac256 3 ปีที่แล้ว +3

    9:00 you say wierd but the documentation for MICRO PYTHON for pico says the 12bit ADC "samples" a value from 0-4095 and CONVERTS it to a 16bit value from 0-65535 so it behaves as other python controllers.

    • @cmjoubert
      @cmjoubert 7 หลายเดือนก่อน

      One sensible comment at least

  • @batica81
    @batica81 3 ปีที่แล้ว

    Temperature sensor testing was great! :)

  • @bowesterlund3719
    @bowesterlund3719 3 ปีที่แล้ว +1

    This is a good alternativ to the much more expensive PyBoard! Thanks for sharing!

  • @JohnSamuelSam
    @JohnSamuelSam ปีที่แล้ว

    This is so clear to add modules and start with raspberry pi. Can you please do a session on how to use 4 wire stepper motor and hmc5883l digital compass with raspberry pi pico?

  • @del_v000
    @del_v000 3 ปีที่แล้ว

    Really, I was waiting for this.
    Pi pico is very good and cheap in India, only about 350rupess(about 4$).

  • @paulmaydaynight9925
    @paulmaydaynight9925 3 ปีที่แล้ว

    c.o steven behnke very useful info everyone should know.
    if you add a momentary switch to the 'run' pin and ground you can use it as a reset ,hold the new reset button, press 'boot sel' button at the same time , then release the reset, you dont need to keep replugging the usb power any more

  • @shabnamjafarpoor
    @shabnamjafarpoor 20 วันที่ผ่านมา

    Thank you for your good teaching
    If we want a touch LCD and at least 4 inches, what do you suggest?

  • @CenterpointConnect
    @CenterpointConnect 3 ปีที่แล้ว

    Congrats! 300,000 Subscribers!

  • @PêcheOuCapot
    @PêcheOuCapot 3 ปีที่แล้ว

    Thanks for help with new board ;)
    First MicroPython board for myself.

  • @davidgill2592
    @davidgill2592 ปีที่แล้ว

    I found this rather odd: I have a Pi 400 and a Pi Pico, but they completely fail to communicate with each other. However, in desperation I downloaded Thonny onto my Windows computer, and it connected with the Pico instantly and works absolutely fine! 😃

  • @maguyver
    @maguyver 3 ปีที่แล้ว

    Fantastic video. Now I have have a Raspberry Pi Pico. Your videos are very informative and easy to understand.

  • @neilparker2310
    @neilparker2310 2 ปีที่แล้ว

    Thanks - enjoyed your video. It showed the basics of how to get up and running as well as a good selection of various i/o modes.

  • @deepakjoshi6242
    @deepakjoshi6242 3 ปีที่แล้ว +7

    Just reserving my comment space to edit after watching complete video 😅😂
    Edit : Awesome video man.
    Although it looks quite impressive on paper and in first look, please use it in some projects to ensure the usability of this board.
    Thanks for the video, awesome. 👏😃

  • @Networksandwoodworks
    @Networksandwoodworks 2 ปีที่แล้ว

    Thank you for making this video!! I can't wait to get my pico and try these projects.

  • @elektron2kim666
    @elektron2kim666 ปีที่แล้ว

    It's quite the same ARM tech as Psion and others from the 80's for those thinking it's super tech (the low price now is). I have a "NetPad" from 2001 which is speedy and I wish my power issue with it can be solved. I just like the Symbian/Epoc OS'es and have emulators (nostalgia and programming fun). The GPIO idea is very interesting to me. Also the modular constructs. Wouldn't have started with RPi stuff recently without the connection options and various modules in existence.

  • @Maulhawk
    @Maulhawk ปีที่แล้ว +3

    I get an error when I type Import machine.

  • @Workshop-900
    @Workshop-900 2 ปีที่แล้ว

    Nice easy to follow video, although I think I've missed something as I can't get the on board LED to light on my R Pi Pico W, despite checking all the steps on this and other resources. Any idead would be most helpful (no doubt its something simple I've missed off).

    • @joonsengloo
      @joonsengloo ปีที่แล้ว

      Maybe you mixed up the direction of the LED that you plugged in, just switch the direction

  • @sumukhas5418
    @sumukhas5418 ปีที่แล้ว +2

    Great video !!
    But I have a question
    We have I2C0 in Gp0 Gp1
    We also have the same I2C0 GP16 GP17
    But if I run that scan it shows only one device so the big question is
    Why do we have 2+ sets of i2c0 in pi pico what is the potential advantage of having it like that ?

    • @TooSlowTube
      @TooSlowTube ปีที่แล้ว +1

      You can choose which pins a device (like i2c) appears on - but there are only certain choices because each pin can only do so many different functions. Normally, you just configure it once in a declaration at the start of the program.
      I'm used to C++/Arduino, but the same presumably applies to MicroPython / CircuitPython too. Physically, the chip can do it, so it's just a question of whether the programming language gives you the option.

    • @sumukhas5418
      @sumukhas5418 ปีที่แล้ว +1

      @@TooSlowTube Great, thanks

    • @TooSlowTube
      @TooSlowTube ปีที่แล้ว

      @@sumukhas5418 You're welcome.

  • @dennisdekoster1187
    @dennisdekoster1187 3 ปีที่แล้ว

    Just bought one, thanks for the tutorial!

  • @hmtech4807
    @hmtech4807 3 ปีที่แล้ว

    I have been following your channel since a while you're doing great stuff . Keep going best of luck

  • @Dayhmian
    @Dayhmian 3 ปีที่แล้ว +9

    Nice vid,
    Looking forward for the c++ part. Will you be covering a speedtest between python and c++ on the pico?

  • @dishendra.
    @dishendra. 3 ปีที่แล้ว

    Thanks for sharing the Thonny tutorial! It's a great tool.

  • @cuarentenaviral4756
    @cuarentenaviral4756 3 ปีที่แล้ว +1

    Este es uno de los mejores videos, no conocía ese micro controlador de raspberry, haz más videos sobre el porfa :3

  • @marc1190
    @marc1190 4 หลายเดือนก่อน +1

    Any thoughts on why ADC was reading 65535 and not 4095?

  • @zajlord2930
    @zajlord2930 3 ปีที่แล้ว +3

    fricking psycho just lit it on fire to see the sensor moving xd
    but really nice vid, subscribe

  • @stevetobias4890
    @stevetobias4890 3 ปีที่แล้ว

    Very cool mate, my 3 Pico boards should be here in 3 weeks, I had to back order them but at $4 a board and $3 shipping what's not to like. Well worth waiting for. I should order another 3-4.

    • @simonmailhot4260
      @simonmailhot4260 3 ปีที่แล้ว

      I wonder where you got that nice 4$price?

    • @stevetobias4890
      @stevetobias4890 3 ปีที่แล้ว

      @@simonmailhot4260 from Core Electronics Australia. Current price is now $5.75 plus $3 shipping

  • @shanepython
    @shanepython 3 ปีที่แล้ว

    Excellent video! Great production values to boot!

  • @ziprock
    @ziprock หลายเดือนก่อน

    certain MicroPython routines can scale the ADC values so that they fall within a 16-bit range (2^16-1)
    voltage_value=3.3*(digital_value/65535)

  • @rdflo6739
    @rdflo6739 3 ปีที่แล้ว +1

    Great video! It's nice to show people to are used to Arduino hoe to het started on the Rpi. I'm curious about the power use, the Rpi is a lot faster, but does it use a lot more power? For battery or solar powered devices this could be interesting. Thanks again!

  • @merin_here_am_i
    @merin_here_am_i 2 ปีที่แล้ว

    Can I do optimization in this board? Can you suggest any optimizers which take less memory?

  • @valeriolombardi9744
    @valeriolombardi9744 3 ปีที่แล้ว +1

    Hello do you know if the pico will be supported with the simulink support package ? Because that is an advantage with the nano ! It's much easier to create a control logic with simulink.
    Thanks man !

  • @alecgagnon826
    @alecgagnon826 3 ปีที่แล้ว

    Can’t wait for the C++ video

  • @isaisanchez4891
    @isaisanchez4891 3 ปีที่แล้ว

    Bro....
    Excelente video....
    urge que lo pases a Español para toda la comunidad de Latino América

  • @guywhoknows
    @guywhoknows 3 ปีที่แล้ว +1

    This seems to be on par with the esp8266, a bit late for pi to be bringing out as the esp32 S2 is available with more and for less.
    Following this a power consumption would be good information.
    Personally I don't like the compiler and manual uploading files and/on calls for things to work, I wonder if it will get porting to A ide?

  • @keithfetterly4111
    @keithfetterly4111 3 ปีที่แล้ว

    You killed it once again! Great job! 👍
    I'm on board with your fans, I'd love to see you do another drone using this board.

  • @stompreaper
    @stompreaper 3 ปีที่แล้ว

    Great video. Awesome production quality!

  • @kaylor87
    @kaylor87 ปีที่แล้ว +3

    link to the SSD1306 library no longer works :(

  • @diyrobotronics
    @diyrobotronics 3 ปีที่แล้ว

    Video quality was great ♥️

  • @wcg66
    @wcg66 2 ปีที่แล้ว

    You can also run Arduino on the Pico as well. I ran an Arduino performance test on the Pico vs my Uno. It's more than 10x faster :)

  • @phillipneal8194
    @phillipneal8194 3 ปีที่แล้ว +1

    how about an example of i2c between the Pico and an ESP32 ?

  • @briyanpaul4617
    @briyanpaul4617 3 ปีที่แล้ว

    Loved the video was waiting for u to make this video 👍👍👍👏

  • @makkam7575
    @makkam7575 3 ปีที่แล้ว +3

    Amazing video as always and waiting for your amazing projects using the pico.
    Just at 2:52 you say 264 but write 64 in the video. Also english is not really my thing but according to data sheets, they always state the bit in singular not plural for example 8 bit microcontroller not 8 bits

    • @makkam7575
      @makkam7575 3 ปีที่แล้ว +1

      I hate to be that guy but also at 9:05
      In 16 bits you have 65536 values.
      Computers start counting from 0 so the values will go from 0 to 65535

  • @AvinashHirekerur
    @AvinashHirekerur 2 ปีที่แล้ว

    Nice and clear explanation. Thanks

  • @mohinderkaur6671
    @mohinderkaur6671 2 ปีที่แล้ว

    Nice Tutorial! Thanks! (dont burn your pi with a lighter! )

  • @arturgomboc8188
    @arturgomboc8188 5 หลายเดือนก่อน

    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!

  • @robobug4167
    @robobug4167 3 ปีที่แล้ว +1

    Hey love your tutorials and projects could you help me with potpin connections like provide a schematic

  • @Samuel-nu1ij
    @Samuel-nu1ij 3 ปีที่แล้ว

    Nice ! I played with the pico two weeks before this video lol

  • @Evgen-Evgen-Evgen
    @Evgen-Evgen-Evgen 3 ปีที่แล้ว +1

    Coool! Thanks from Russia)

  • @durandile
    @durandile 3 ปีที่แล้ว

    Nice video! It's cool to make videos about new hardware to keep us updated

  • @codersexpo1580
    @codersexpo1580 2 ปีที่แล้ว

    This is awesome! Thank you for doing this. I'm an absolute noob to electronics. I understand coding (that's my day job) but nothing about electronics. So I picked up a Raspberry PI 4 and this pico w controller. Getting started I see everyone using these bread boards to stage their projects w/jumpers and such but I don't understand how you decide which holes to plug stuff in. For example in your tut here I see the pi attached with other jumper wires but have no idea why they are there or why you chose those holes to plug stuff in to. Is there any tutorial out there that can help clear this up for me???

  • @ImTheReal
    @ImTheReal 3 ปีที่แล้ว +1

    Pretty awesome!
    Just waiting for your great projects XD
    Tnx for sharing! 🙏💎

  • @lylewilliams7716
    @lylewilliams7716 3 ปีที่แล้ว

    Nice examples. How about a single relay board connected to pin 40. powering a 3.3v water pump. With a capacitive moisture sensor connected to gpio. Programmed via micro python. And get the pico to run off usb power.
    Be interested to see if you can make it work, or if you have problems with running pump due to power issues. Try it out

  • @Delali
    @Delali 3 ปีที่แล้ว

    Its always interesting to watch your contents.
    Its always step by step and carefully explains everything in plain English.
    I cant remember a time i watched your video and didn't get value. Hopefully I can make great videos like you for my channel.

  • @TruthSeekerAll
    @TruthSeekerAll ปีที่แล้ว

    Amazing tutorial, thanks.

  • @Sam-tg4ii
    @Sam-tg4ii 2 ปีที่แล้ว

    If the Pico can do all these, do we even need Rpi? Can Pico connect to my laptop wirelessly and read the code? Rpi is so expensive these days so I am trying to figure out if I can make DIY projects with Pico and my laptop alone, without Rpi. Thanks

  • @HakAtIt
    @HakAtIt 3 ปีที่แล้ว +1

    That was a really great video... And I've been interested in the pico! Thank you for this!

  • @TooSlowTube
    @TooSlowTube ปีที่แล้ว

    The Pi Pico ADCs look better on paper, but they're actually very noisy and non-linear, with spikes in the response that shouldn't be there. There's a design fault in the RP2040 chip that makes the ADCs only equivalent to 9 bits, and you have to give some thought to how to get a smooth 9 bit response to a smoothly varying input voltage.
    Also, the Ardunos all have a decent number of ADCs, while the Pi Pico only has three, and could have had four, if they'd connected that up to a GPIO pin. Not everything about the Pi Pico is better - for some applications the AVR based Arduinos are still a better choice.

  • @ajayjoshi_aj
    @ajayjoshi_aj 3 ปีที่แล้ว +2

    Will you make Drone with PICO in future ? I will be waiting for that video!

  • @johannotnagel8887
    @johannotnagel8887 3 ปีที่แล้ว

    @Electronoobs please note: From 3 min 3 sec to 3 min 14 seconds of your video, your pin overlay is the wrong way around.

  • @PeetHobby
    @PeetHobby ปีที่แล้ว

    If you use MicroPython, it's possibly 4 times faster than 16Mhz Arduino. However, when you use C, the RPI Pico is significantly faster, approximately 30 times faster than when using Python. So, when using C, the RPI Pico at 133 MHz is maybe 120 times faster than the Arduino Uno at 16 MHz.

  • @MikeNugget
    @MikeNugget 3 ปีที่แล้ว +1

    3:25 Does it mean that I can connect up to 16 servos to Pi Pico?

  • @Rajeshhh
    @Rajeshhh 2 ปีที่แล้ว

    Hi Can you please elaborate more detail on i2c and SPI...

  • @kevindondrea144
    @kevindondrea144 3 ปีที่แล้ว

    I always share on Twitter and Thumbs up your videos :)

  • @erdum
    @erdum 3 ปีที่แล้ว

    I recommend you to make bare metal programming videos on pi micro, means programming in c/c++ without any HAL or libraries direct register manipulating

  • @catalinaga
    @catalinaga 2 ปีที่แล้ว

    Hello, so I have a question, what is a real life use of this technology? I want to use it as my thesis subject but I struggle to find a use for it other than it being a nice gimmick??

  • @cursoderobotica
    @cursoderobotica 3 ปีที่แล้ว

    great video!!! I am wondering if you will work in C++ or Micropython with PICO in future projects!! cheers!!

  • @emadorabi6492
    @emadorabi6492 3 ปีที่แล้ว +1

    What does it mean if written ‘No module named machine’?

  • @1_HighDuke
    @1_HighDuke 3 ปีที่แล้ว

    Very informative getting-started video. Thanks!

  • @MrDeclansmith
    @MrDeclansmith 3 ปีที่แล้ว

    You don't have to refresh the LCD all screen all the time. Only when needed on certain part of the screen so it won't worn too fast.. And also no flickering on video.. Unless you playing video on it.. It do need refresh rate... Just saying..

  • @ConsultingjoeOnline
    @ConsultingjoeOnline 3 ปีที่แล้ว

    Been trying to get one. Great video
    Thanks

  • @onkartodkar
    @onkartodkar 3 ปีที่แล้ว

    Can you please make video on communicating 2 pico boards using micropython i2c

  • @baseldaoudrajha3835
    @baseldaoudrajha3835 3 ปีที่แล้ว

    Thats great I loved it
    But can you Please make a short video on SPI communication and and UART (in micropython) cuz I'm having trouble with them

  • @p._7555
    @p._7555 3 ปีที่แล้ว

    Hi Electronoobs. Thanks for your review! Compare to the ESP32 uC ! 😉

  • @Jameschoizh
    @Jameschoizh 3 ปีที่แล้ว

    Very detail sharing, like it so much (y)

  • @harishgajjar9559
    @harishgajjar9559 3 ปีที่แล้ว

    Informative video.👍
    It's my request to you that please make videos on vintage computer system(INTEL 8085).🔥🔥🔥

  • @micromachine9975
    @micromachine9975 3 ปีที่แล้ว

    Muy buenas. Donde has comprado las raspberry?

  • @jdras3
    @jdras3 3 ปีที่แล้ว

    Excellent Video!!!!

  • @artlessroger197
    @artlessroger197 3 ปีที่แล้ว

    Can you remove the usb cable power and directly solder wires to connect to a battery ?

  • @alheeley
    @alheeley 3 ปีที่แล้ว

    excellent - covered a lot of ground there!

  • @benmaynard3059
    @benmaynard3059 3 ปีที่แล้ว

    Great video mate 👍

  • @tomasdale5306
    @tomasdale5306 3 ปีที่แล้ว

    THANK YOU SO MUCH, GREAT GREAT VIDEO, FROM EL SALVADOR

  • @backdemoletor4654
    @backdemoletor4654 3 ปีที่แล้ว

    Amazing video.. absolutely fantastic..
    Also currently I am working on my custom development board which is based on the PIC microcontroller si this video was kinda helpful

  • @epicab2456
    @epicab2456 3 ปีที่แล้ว

    it would be nice if u could compare the speed in real time and not just throwing numbers like maybe using a load cell made with arduino nano and pi pico and measuring if it would make a difference in reading :D altho great video :D