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

Поділитися
Вставка
  • Опубліковано 24 лис 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

  • @saurabhgawli2167
    @saurabhgawli2167 3 роки тому +31

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

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

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

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

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

  • @phreak074
    @phreak074 3 роки тому

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

  • @msmith2961
    @msmith2961 3 роки тому +3

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

  • @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!?!

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

  • @ItsScientist
    @ItsScientist 3 роки тому

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

  • @bowesterlund3719
    @bowesterlund3719 3 роки тому +1

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

  • @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!

  • @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à 🔥

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

  • @batica81
    @batica81 3 роки тому

    Temperature sensor testing was great! :)

  • @hmtech4807
    @hmtech4807 3 роки тому

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

  • @CenterpointConnect
    @CenterpointConnect 3 роки тому

    Congrats! 300,000 Subscribers!

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

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

  • @maguyver
    @maguyver 3 роки тому

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

  • @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?

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

    I get an error when I type Import machine.

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

  • @PêcheOuCapot
    @PêcheOuCapot 3 роки тому

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

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

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

  • @HakAtIt
    @HakAtIt 3 роки тому +1

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

  • @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!!!!!

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

  • @shabnamjafarpoor
    @shabnamjafarpoor 21 день тому

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

  • @durandile
    @durandile 3 роки тому

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

  • @shanepython
    @shanepython 3 роки тому

    Excellent video! Great production values to boot!

  • @dennisdekoster1187
    @dennisdekoster1187 3 роки тому

    Just bought one, thanks for the tutorial!

  • @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?

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

  • @stompreaper
    @stompreaper 3 роки тому

    Great video. Awesome production quality!

  • @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!

  • @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. 👏😃

  • @ImTheReal
    @ImTheReal 3 роки тому +1

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

  • @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$).

  • @diyrobotronics
    @diyrobotronics 3 роки тому

    Video quality was great ♥️

  • @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! 😃

  • @briyanpaul4617
    @briyanpaul4617 3 роки тому

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

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

  • @zajlord2930
    @zajlord2930 3 роки тому +3

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

  • @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?

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

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

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

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

  • @Samuel-nu1ij
    @Samuel-nu1ij 3 роки тому

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

  • @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???

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

  • @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 !

  • @Evgen-Evgen-Evgen
    @Evgen-Evgen-Evgen 3 роки тому +1

    Coool! Thanks from Russia)

  • @christiaang
    @christiaang 3 роки тому +1

    Thank you for this video, it is very helpful. Are you planning to make a second video explaining UART and SPI too?

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

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

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

  • @1_HighDuke
    @1_HighDuke 3 роки тому

    Very informative getting-started video. Thanks!

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

    Nice and clear explanation. Thanks

  • @kevindondrea144
    @kevindondrea144 3 роки тому

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

  • @alecgagnon826
    @alecgagnon826 3 роки тому

    Can’t wait for the C++ video

  • @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)

  • @ConsultingjoeOnline
    @ConsultingjoeOnline 3 роки тому

    Been trying to get one. Great video
    Thanks

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

    link to the SSD1306 library no longer works :(

  • @alheeley
    @alheeley 3 роки тому

    excellent - covered a lot of ground there!

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

  • @marc1190
    @marc1190 4 місяці тому +1

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

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

    Amazing tutorial, thanks.

  • @benmaynard3059
    @benmaynard3059 3 роки тому

    Great video mate 👍

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

    That wierdness is simply due to the read_u16. It's a 12 bit ADC value being transposed into a 16 bit range u16, I.E. reading 12 bits but using 16 bits to store it, 0->65535

  • @phillipneal8194
    @phillipneal8194 3 роки тому +1

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

  • @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 :)

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

  • @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!

  • @jdras3
    @jdras3 3 роки тому

    Excellent Video!!!!

  • @harishgajjar9559
    @harishgajjar9559 3 роки тому

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

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

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

  • @robobug4167
    @robobug4167 3 роки тому +1

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

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

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

  • @cursoderobotica
    @cursoderobotica 3 роки тому

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

  • @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?

  • @PhG1961
    @PhG1961 3 роки тому

    Nice, I enjoyed it !

  • @isaisanchez4891
    @isaisanchez4891 3 роки тому

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

  • @Jameschoizh
    @Jameschoizh 3 роки тому

    Very detail sharing, like it so much (y)

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

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

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

  • @MikeNugget
    @MikeNugget 3 роки тому +1

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

  • @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??

  • @PaawanSharma
    @PaawanSharma 3 роки тому

    Very nice video. Kudos

  • @tomasdale5306
    @tomasdale5306 3 роки тому

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

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

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

  • @MrGuerrero36
    @MrGuerrero36 3 роки тому

    un duro man. severa maquinita. gracias por su enseñansa

  • @A2k1973
    @A2k1973 3 роки тому

    Awesome video. 👌