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

  Рет қаралды 267,919

Electronoobs

Electronoobs

Күн бұрын

High quality PCB prototypes: www.pcbway.com
🔥We have a new microcontroller on the market, the Raspberry Pi PICO. Here I show you how to start with this board, upload the MicroPython and start programming in Thonny. See all the examples.
🔀LINKS
-------------------------------------
Download MicroPython: bit.ly/36QWgKk
Download Thonny: thonny.org/
Prepare the PICO: electronoobs.com/eng_arduino_...
Blink Example: electronoobs.com/eng_arduino_...
Permanent code main.py: electronoobs.com/eng_arduino_...
ADC example: helectronoobs.com/eng_arduino_...
SSD1306 library: electronoobs.com/eng_arduino_...
i2c OLED example: electronoobs.com/eng_arduino_...
PWM Example: electronoobs.com/eng_arduino_...
🤝SUPPORT
-------------------------------------
Join my Arduino Course (Spanish): bit.ly/2JY8icE
ELECTRONOOBS.io: electronoobs.io
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.io/forum/index.php
Facebook page: / electronoobs
Canal en Español: / electronoobs en español
00:00 Intro
01:51 Main Specs
03:41 Micropython
04:56 Install Micropython
05:50 Blink Example
07:22 Permanent main.py
08:26 ADC example
09:46 i2c Example
13:23 PWM Example
15:15 Outro
Like share and subscribe to motivate me. Thank you
#raspberry
#programming
#micropython

Пікірлер: 271
@ELECTRONOOBS
@ELECTRONOOBS 3 жыл бұрын
Arduino Course (Spanish): bit.ly/3ldW6kO Follow me on FACEBOOK for more: facebook.com/Electronoobs Help me on Patreon: www.patreon.com/ELECTRONOOBS
@carlosmelomaniaco3455
@carlosmelomaniaco3455 3 жыл бұрын
In Spanish please
@MadhuKumar-hi2qs
@MadhuKumar-hi2qs 3 жыл бұрын
Please make a video on pico and Nrf24L01
@FUKTxProductions
@FUKTxProductions 3 жыл бұрын
@@carlosmelomaniaco3455 1
@amirb715
@amirb715 3 жыл бұрын
this was by far THE best tutorial on Pi pico on youtube
@saurabhgawli2167
@saurabhgawli2167 3 жыл бұрын
I Luv U man... I always pray for U that u get more n more successful... Respect for you man..
@dylanpendlebury23
@dylanpendlebury23 3 жыл бұрын
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!?!
@MartinBgelund
@MartinBgelund 3 жыл бұрын
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.
@deviljelly3
@deviljelly3 3 жыл бұрын
I love that you and GreatScott fight every Sunday for who releases first.... you beat him this time :)
@Haakkon
@Haakkon 3 жыл бұрын
He may have beat him this time, but in the end... we're the winners.
@msmith2961
@msmith2961 3 жыл бұрын
This is an excellent starting point for getting into Pico. Nice work!
@JD96893
@JD96893 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.
@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.
@FushigiMigi
@FushigiMigi 2 жыл бұрын
I cannot believe the quality of this video. Thank you.
@piiumlkj6497
@piiumlkj6497 3 жыл бұрын
This was great, I suggest that when you finish reviewing this board to compare it with other powerful boards like the teensy 3.6
@bowesterlund3719
@bowesterlund3719 3 жыл бұрын
This is a good alternativ to the much more expensive PyBoard! Thanks for sharing!
@HakAtIt
@HakAtIt 3 жыл бұрын
That was a really great video... And I've been interested in the pico! Thank you for this!
@markadyash
@markadyash 3 жыл бұрын
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
@stompreaper
@stompreaper 3 жыл бұрын
Great video. Awesome production quality!
@phreak074
@phreak074 2 жыл бұрын
When the lighter went to the micro pi I was like 😵😵😵 Awesome vid, learned a bunch!
@shanepython
@shanepython 2 жыл бұрын
Excellent video! Great production values to boot!
@ImTheReal
@ImTheReal 3 жыл бұрын
Pretty awesome! Just waiting for your great projects XD Tnx for sharing! 🙏💎
@hmtech4807
@hmtech4807 3 жыл бұрын
I have been following your channel since a while you're doing great stuff . Keep going best of luck
@1_HighDuke
@1_HighDuke 3 жыл бұрын
Very informative getting-started video. Thanks!
@dennisdekoster1187
@dennisdekoster1187 2 жыл бұрын
Just bought one, thanks for the tutorial!
@Networksandwoodworks
@Networksandwoodworks 2 жыл бұрын
Thank you for making this video!! I can't wait to get my pico and try these projects.
@dishendra.
@dishendra. 3 жыл бұрын
Thanks for sharing the Thonny tutorial! It's a great tool.
@gavinthecrafter
@gavinthecrafter 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!
@ConsultingjoeOnline
@ConsultingjoeOnline 3 жыл бұрын
Been trying to get one. Great video Thanks
@CenterpointConnect
@CenterpointConnect 3 жыл бұрын
Congrats! 300,000 Subscribers!
@benmaynard3059
@benmaynard3059 3 жыл бұрын
Great video mate 👍
@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
@durandile
@durandile 3 жыл бұрын
Nice video! It's cool to make videos about new hardware to keep us updated
@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.
@batica81
@batica81 3 жыл бұрын
Temperature sensor testing was great! :)
@ItsScientist
@ItsScientist 3 жыл бұрын
I didn't know Raspberry Pi pico would be easier than Arduino ....thanx buddy❤️
@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
@diyrobotronics
@diyrobotronics 3 жыл бұрын
Video quality was great ♥️
@maguyver
@maguyver 3 жыл бұрын
Fantastic video. Now I have have a Raspberry Pi Pico. Your videos are very informative and easy to understand.
@alheeley
@alheeley 3 жыл бұрын
excellent - covered a lot of ground there!
@briyanpaul4617
@briyanpaul4617 3 жыл бұрын
Loved the video was waiting for u to make this video 👍👍👍👏
@Samuel-nu1ij
@Samuel-nu1ij 3 жыл бұрын
Nice ! I played with the pico two weeks before this video lol
@cuarentenaviral4756
@cuarentenaviral4756 3 жыл бұрын
Este es uno de los mejores videos, no conocía ese micro controlador de raspberry, haz más videos sobre el porfa :3
@thomaschanut7054
@thomaschanut7054 3 жыл бұрын
Thanks for help with new board ;) First MicroPython board for myself.
@PhG1961
@PhG1961 3 жыл бұрын
Nice, I enjoyed it !
@AvinashHirekerur
@AvinashHirekerur 2 жыл бұрын
Nice and clear explanation. Thanks
@TruthSeekerAll
@TruthSeekerAll 8 ай бұрын
Amazing tutorial, thanks.
@rafaelapitz-castro1572
@rafaelapitz-castro1572 3 жыл бұрын
Wonderful tutorial
@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$).
@leehewitt9559
@leehewitt9559 3 жыл бұрын
Awesome. Love it
@Dayhmian
@Dayhmian 3 жыл бұрын
Nice vid, Looking forward for the c++ part. Will you be covering a speedtest between python and c++ on the pico?
@kirilivanov7677
@kirilivanov7677 Жыл бұрын
4
@christiaang
@christiaang 3 жыл бұрын
Thank you for this video, it is very helpful. Are you planning to make a second video explaining UART and SPI too?
@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à 🔥
@kevindondrea144
@kevindondrea144 3 жыл бұрын
I always share on Twitter and Thumbs up your videos :)
@Evgen-Evgen-Evgen
@Evgen-Evgen-Evgen 3 жыл бұрын
Coool! Thanks from Russia)
@zajlord2930
@zajlord2930 3 жыл бұрын
fricking psycho just lit it on fire to see the sensor moving xd but really nice vid, subscribe
@rdflo6739
@rdflo6739 3 жыл бұрын
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!
@A2k1973
@A2k1973 3 жыл бұрын
Awesome video. 👌
@jdras3
@jdras3 2 жыл бұрын
Excellent Video!!!!
@MrGuerrero36
@MrGuerrero36 3 жыл бұрын
un duro man. severa maquinita. gracias por su enseñansa
@tomasdale5306
@tomasdale5306 3 жыл бұрын
THANK YOU SO MUCH, GREAT GREAT VIDEO, FROM EL SALVADOR
@PaawanSharma
@PaawanSharma 3 жыл бұрын
Very nice video. Kudos
@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!!!!!
@und3rgr0undfr34k
@und3rgr0undfr34k 3 жыл бұрын
awesome! thanks a ton!
@abymohanan9403
@abymohanan9403 3 жыл бұрын
Thank you so much for this video
@TheUnofficialMaker
@TheUnofficialMaker 2 жыл бұрын
awesome,thanks!
@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.
@davidgill2592
@davidgill2592 8 ай бұрын
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! 😃
@czhang225
@czhang225 2 жыл бұрын
Very detail sharing, like it so much (y)
@souravghosh7903
@souravghosh7903 3 жыл бұрын
Hi electronoobs, loved your representation and details. Could you please make multiple PWM synchronized and center aligned by raspberry pi Pico?
@n9583
@n9583 2 жыл бұрын
love this
@alecgagnon826
@alecgagnon826 3 жыл бұрын
Can’t wait for the C++ video
@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
@cuarentenaviral4756
@cuarentenaviral4756 3 жыл бұрын
Great!❤️❤️❤️❤️
@martinrosolino
@martinrosolino Жыл бұрын
THANKS MAN
@isaisanchez4891
@isaisanchez4891 3 жыл бұрын
Bro.... Excelente video.... urge que lo pases a Español para toda la comunidad de Latino América
@incxxxx
@incxxxx 3 жыл бұрын
Nice!
@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?
@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
@YatendraSaraswat
@YatendraSaraswat 2 жыл бұрын
Great 👌👌👍👍
@valeriolombardi9744
@valeriolombardi9744 3 жыл бұрын
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 !
@harishgajjar9559
@harishgajjar9559 3 жыл бұрын
Informative video.👍 It's my request to you that please make videos on vintage computer system(INTEL 8085).🔥🔥🔥
@ajayjoshi_aj
@ajayjoshi_aj 3 жыл бұрын
Will you make Drone with PICO in future ? I will be waiting for that video!
@donaldwright2426
@donaldwright2426 3 жыл бұрын
Hi, the analog input and assining it to an unsigned 16bit value us like the mapping function in Arduino.
@codersexpo1580
@codersexpo1580 Жыл бұрын
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???
@p._7555
@p._7555 3 жыл бұрын
Hi Electronoobs. Thanks for your review! Compare to the ESP32 uC ! 😉
@cursoderobotica
@cursoderobotica 3 жыл бұрын
great video!!! I am wondering if you will work in C++ or Micropython with PICO in future projects!! cheers!!
@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
@commentingpausedtoprotectus
@commentingpausedtoprotectus 3 жыл бұрын
Fire proof too! :)
@guywhoknows
@guywhoknows 3 жыл бұрын
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?
@prathambumb5593
@prathambumb5593 3 жыл бұрын
Thanks
@makkam7575
@makkam7575 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 жыл бұрын
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
@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.
@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
@siddharthmali5841
@siddharthmali5841 3 жыл бұрын
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 :)
@ruwanpremashantha428
@ruwanpremashantha428 Жыл бұрын
supper. wow..
@hyperrunner4589
@hyperrunner4589 3 жыл бұрын
Does it have dac inbuilt, if yes, create sin wave through it
@robobug4167
@robobug4167 3 жыл бұрын
Hey love your tutorials and projects could you help me with potpin connections like provide a schematic
@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
@MikeNugget
@MikeNugget 3 жыл бұрын
3:25 Does it mean that I can connect up to 16 servos to Pi Pico?
@PeetHobby
@PeetHobby 10 ай бұрын
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.
@tiffymac256
@tiffymac256 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 3 ай бұрын
One sensible comment at least
@merin_here_am_i
@merin_here_am_i Жыл бұрын
Can I do optimization in this board? Can you suggest any optimizers which take less memory?
Raspberry Pi Pico
16:16
ExplainingComputers
Рет қаралды 305 М.
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 9 МЛН
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 35 МЛН
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
HYDRAULIC PRESS VS ARMOR, USA AND RUSSIA
10:16
Crazy Hydraulic Press
Рет қаралды 108 М.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Рет қаралды 3,3 МЛН
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Рет қаралды 287 М.
In-depth: Raspberry Pi Pico's PIO - programmable I/O!
17:19
stacksmashing
Рет қаралды 131 М.
3 Easy @raspberrypi Pico Projects that ANYONE can tackle!
19:21
Print 'N Play
Рет қаралды 137 М.
The TOP 3 uses for a Raspberry Pi!!
12:07
NetworkChuck
Рет қаралды 1,4 МЛН
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 599 М.
Raspberry Pi Pico W: Wireless Weather Station
17:13
ExplainingComputers
Рет қаралды 283 М.
Check my new stuff! #shorts
0:47
Electronoobs
Рет қаралды 1,6 М.
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1 МЛН
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 2,4 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 450 М.
Kumanda İle Bilgisayarı Yönetmek #shorts
0:29
Osman Kabadayı
Рет қаралды 1,8 МЛН
BEKMOBILDA Tecno Camon 30 smartfoni🔥🤩 #bekmobil
1:01
Bekmobil shorts
Рет қаралды 2,3 МЛН
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
ALSER kz
Рет қаралды 231 М.