$4 Raspberry Pi Pico - Simple Projects

  Рет қаралды 76,774

Nikodem Bartnik

Nikodem Bartnik

Күн бұрын

Пікірлер: 75
@nikodembartnik
@nikodembartnik 4 жыл бұрын
Here you can find my python code: Blink: from machine import Pin import utime led = Pin(25, Pin.OUT) while True: led.value(1) utime.sleep(1) led.value(0) utime.sleep(1) Knight rider: from machine import Pin import utime pins=[] for x in range(0, 9): pins.append(Pin(x, Pin.OUT)) while True: for on_led in range(0, 9): for x in range(0, 9): pins[x].value(0) pins[on_led].value(1) utime.sleep(0.1) for on_led in range(0, 9): for x in range(0, 9): pins[x].value(0) pins[8-on_led].value(1) utime.sleep(0.1) Stepper motor: from machine import Pin import utime dir = Pin(0, Pin.OUT) step = Pin(1, Pin.OUT) dir.value(1) while True: step.value(1) step.value(0) utime.sleep_us(200) Temperature sensor: import machine import utime temp_sensor = machine.ADC(4) conversion_factor = 3.3/(65535) while True: temp = temp_sensor.read_u16() * conversion_factor print(27 - (temp - 0.706)/0.001721) utime.sleep(2)
@nuggetteam7
@nuggetteam7 3 жыл бұрын
thanks for posting the code! I appreciate this video! you got my sub!
@Albertotron
@Albertotron 4 жыл бұрын
1:34 Yeah I get the same thing when I solder. I use no clean flux but sometimes I use alcohol to clean the flux and it leaves sticky residue. If I don't clean it then it doesn't leave any residue.
@UseR-ne8fm
@UseR-ne8fm 2 жыл бұрын
Really great and well structured video, nice and clean desk and organised pegboard from Ikea. Have a great time and enjoy your future career after the school is finished. I am very much impressed!!!
@guidoramacciotti3503
@guidoramacciotti3503 2 жыл бұрын
Hi! greetings from argentina, your video inspired me to take a pi pico that i had laying arround and trying to make something usefull wit it. Thanks!
@ChrisLocke1969
@ChrisLocke1969 4 жыл бұрын
Great video, you've inspired me to pick one up after being a stubborn arduino user for years. Any chance you can share your wiring for the silent stepper motor driver? I've struggled to find proper pinout wiring and setup for these drivers, and so i would greatly appreciate it, thank you kindly!
@MrEdwardhartmann
@MrEdwardhartmann 3 жыл бұрын
I would love to see your code for the squarewave for both the Arduino and the Pico. (It does not seem to be in the first comment) I expect that you did not use the PIO capability of the Pico which I am sure would have produced a much higher rate squarewave
@johnacsyen
@johnacsyen 3 жыл бұрын
Nice shiny solder tip.
@josepmayoral1998
@josepmayoral1998 4 жыл бұрын
Great video and very interesting this micro-controller... Congratulations on yours +70K!!!
@nikodembartnik
@nikodembartnik 4 жыл бұрын
Thanks a lot!
@blickberg8404
@blickberg8404 3 жыл бұрын
Try a water soluble flux. Makes cleanup really easy.
@iNowHateAtSigns
@iNowHateAtSigns Жыл бұрын
The oscillating red LEDs are typically referred to as a "Larson Scanner," named after the guy who produced "Knight Rider" and other TV series where he commonly deployed the visual effect.
@VeerDaVlog
@VeerDaVlog 4 жыл бұрын
Congrats on 70K+
@nikodembartnik
@nikodembartnik 4 жыл бұрын
Thank you so much 😀
@millbean13
@millbean13 2 жыл бұрын
Knight rider led program. Named for the 80’s tv show of the same name cause the car, KITT, had red LED’s in the grill that did the same on-off motion.
@iNowHateAtSigns
@iNowHateAtSigns Жыл бұрын
The oscillating red LEDs are typically referred to as a "Larson Scanner," named after the guy who produced "Knight Rider" and other TV series where he commonly deployed the visual effect.
@VeerDaVlog
@VeerDaVlog 4 жыл бұрын
It's very cheap but not available here in the local market yet. But excited to work on it.
@nake89
@nake89 Жыл бұрын
Very interesting video! Thank you.
@maxfooly
@maxfooly 3 жыл бұрын
plzzz make more video on pico i loved this vid
@shorb2289
@shorb2289 4 жыл бұрын
It is slow because python is an interpreted language whole Arduino uses a compiled language. basically think of it this way every time the pico runs the code it looks at the code and translates it while on Arduino it's already compiled and put in a way computers can easily read.
@cokeforever
@cokeforever 2 жыл бұрын
Are you an idiot? It is a chip... it does not run interpretters))) whether you use python, c or asm to write code for rpi it is compiled and then linked into actual 1s and 0s...
@elfenmagix8173
@elfenmagix8173 11 ай бұрын
$4 for the Pico, but $2 for the Arduino Nano (The one that requires an external programmer). Just too many variables to to go through, as in the 3.3v Arduino id 8MHz compared to a 5v Arduino of the same board type runs at 16MHz Plus you can override the internal clock of the of the Arduino and put in any speed clock you want (within reason). Plus you are comparing a Dual Core Pico with a Single Core Arduino, that is like comparing an i3 to a Pentium 4, even at the same speed, the i3 will always win. A microcontroller is best for programming its I/O and have it do things like you have done here. Years ago I built a tank tread vehicle using a Arduino Micro. It moved forward and back, turns, flashed lights and judged distances to obstacles (walls) and avoided them. A bit more programming and it could follow a line. The Raspberry Pi Pico is good, But I think it distracts from the Raspberry Pi itself. Put up more videos like this!
@VeerDaVlog
@VeerDaVlog 4 жыл бұрын
Have you worked on Raspberry Pi 4? I'm facing some issues as I installed Ubuntu on it & trying to work on face recognition system using python 3.6.
@nikodembartnik
@nikodembartnik 4 жыл бұрын
Go with raspberry pi os
@VeerDaVlog
@VeerDaVlog 4 жыл бұрын
ok, I will try that.
@rodneyhage6833
@rodneyhage6833 4 жыл бұрын
you are very smart and a good teacher. you helped me learn alot thanks
@AJB2K3
@AJB2K3 4 жыл бұрын
Its a Larson scanner
@danharold3087
@danharold3087 4 жыл бұрын
Thanks for the video. Looked at the docs and did not see SPI or I2C support? Its slower than the ESP32 which can be had for the same price. What did I miss?
@nikodembartnik
@nikodembartnik 4 жыл бұрын
Of course it has support for I2C and SPI, UART and so on
@danharold3087
@danharold3087 4 жыл бұрын
@@nikodembartnik LOL yeah missed that. But still why choose this one ?
@jyvben1520
@jyvben1520 4 жыл бұрын
@@danharold3087 originally meant for young beginners in school, if programmed in C will be much faster than arduino, 16mHz versus 125 mHz for the pico, also has 4 pio ( which work apart from the main cores )
@housane
@housane 4 жыл бұрын
Yes the pio are the main thing apart from the speed as the pio’s can bit-bang while the processor does something else
@johnjakeman7391
@johnjakeman7391 Жыл бұрын
Please could you show the pin out and resiseors ete bit new to this
@doncorn8835
@doncorn8835 4 жыл бұрын
What's the music at 3:30? 😥
@ernstgennial7064
@ernstgennial7064 4 жыл бұрын
I'm happy about every video you make!
@pirolex7843
@pirolex7843 Жыл бұрын
Super filmik, poznaje ze jesteś z Polski, więc napiszę tak😅. Napewno coś mnie stąd zainspiruje to pierwszych projektów
@Gerberko
@Gerberko Жыл бұрын
masz bardzo dobry angielski, dopiero po zmywaczu do pcb się zorientowałem
@ashok_ign5623
@ashok_ign5623 4 жыл бұрын
Really helpful Thank you So much 🔥
@nikodembartnik
@nikodembartnik 4 жыл бұрын
Glad it helped!
@ArduinoExperiment
@ArduinoExperiment 4 жыл бұрын
Thanks For Sharing Raspberry Pi Pico Board Definition and Python Coding 🖥️ 🙌❤️ //Love this Pico Board ✨ I'm so excited for your next raspberry pi pico project video . . . . . //So excited++ 🙌
@electronic7979
@electronic7979 4 жыл бұрын
Nice
@unuzualvizual
@unuzualvizual 4 жыл бұрын
Could you please do a more in-depth video on how to use the Pi Pico to control Nema Stepper Motors? :) Thanks!
@BenKickert
@BenKickert 4 жыл бұрын
Well done!
@Moonrakerd
@Moonrakerd 4 жыл бұрын
I wonder if this is fast enough to read an old ccd
@VeerDaVlog
@VeerDaVlog 4 жыл бұрын
Cool
@Zwariowny
@Zwariowny 4 жыл бұрын
Super w końcu są napisy i słabo znając angielski już się nie domyślać tylko po polsku obejrzeć :D
@j.b.594
@j.b.594 4 жыл бұрын
I don't really understand why everyone is so hyped about it because an Esp32 is as far as I know more powerful for almost the same price and has bluetooth and wifi. Can somebody tell me the Reason of the Hype?
@housane
@housane 4 жыл бұрын
Good mix of cheap, fast, new company into microcontrollers and 4 programmable pio’s allowing it to bit bang to pretend it has more signal channels. This can occur separately to the 2 cortex cores so it can be fast for complex tasks. But mainly it is bc RPi has stepped into microcontrollers with custom made silicone
@j.b.594
@j.b.594 3 жыл бұрын
@@housane i understand the reason, that it is their first chip. But it is only half as fast as the esp32(also 2 cores) and lacks Wifi and can be only 4$.
@Etienne85
@Etienne85 2 жыл бұрын
I thought could be interesting if you design your custom PCB and ask the manufacturer to solder the RP2040 chip alone which is very cheap 1$ . the same can probably be done though with ESP32 which I believe would cost around 2$.
@SciencewithRishit
@SciencewithRishit 4 жыл бұрын
But arduino nano is cheaper than pico
@cuentayoutube7615
@cuentayoutube7615 3 жыл бұрын
Actually no, not true.
@JUMPINGDONUT_
@JUMPINGDONUT_ 9 ай бұрын
Polska gurom, poznalem po tym ze napis "zmywacz"
@logcom482
@logcom482 4 жыл бұрын
Next will be BBC microbit)
@EvoWatches
@EvoWatches Жыл бұрын
Pico won in slow motion
@anandusudhakar5300
@anandusudhakar5300 4 жыл бұрын
good man..
@matthewrease2376
@matthewrease2376 Жыл бұрын
Comparing Python to C++, yeah that's fair...
@Mcs1v
@Mcs1v 4 жыл бұрын
Arduino is not a microcontroller
@cuentayoutube7615
@cuentayoutube7615 3 жыл бұрын
Of course its the board but when people say Arduino we all think of an Atmega328p, its the use of common sense.
@AnAlivePerson_
@AnAlivePerson_ 9 ай бұрын
man so much to do with something like unbelibabley cheap
@smeggmann99
@smeggmann99 4 жыл бұрын
Bajo Jajo Bajo Jajo
@logcom482
@logcom482 4 жыл бұрын
It's not open source and open hardware. Better Arduino if you want to sell yours product and device in the future. Raspberry microcontroller it's only for learning uses. 🙂
@Mcs1v
@Mcs1v 4 жыл бұрын
what? :D
@logcom482
@logcom482 4 жыл бұрын
@@Mcs1v You will not find a microcontroller chip for sale. And this is very important when you want to sell your device and put there a microcontroller from raspberry pico.For more information Google that In wiki :"open source ","open hardware " and "arduino microcontroller".And you will be understand about what I speak.
@Mcs1v
@Mcs1v 4 жыл бұрын
​@@logcom482 Absolutely wrong. First of all, theres no arduino microcontroller. The arduino is a platform and an IDE (ecosystem) with various microcontroller support (atmel/stm/etc and RP2040 too). The raspberry pico is a board supplied with RP2040 microcontroller (and the schematic is available for the board), and last, you can buy the RP2040 alone, without the board
@logcom482
@logcom482 4 жыл бұрын
@@Mcs1v i didn't find a chip from the Pico board for sale.Only with the board.
@joseph9915
@joseph9915 4 жыл бұрын
@@logcom482 Some people have samples of the chips so they can test their boards they are going make with the RP2040. And raspberry will be selling the chips soon.
@ginalski1
@ginalski1 4 жыл бұрын
mmmm zmywacz PCB alkocholowy Alcohol PCB Cleaner
@michabartnik2728
@michabartnik2728 4 жыл бұрын
LOOOOOOOL
@TnInventor
@TnInventor 4 жыл бұрын
you absolutely have no idea what you are doing are? 6:30
@nikodembartnik
@nikodembartnik 4 жыл бұрын
Why?
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Рет қаралды 308 М.
Raspberry Pi Pico
16:16
ExplainingComputers
Рет қаралды 322 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Hacking my garage door with the Raspberry Pi Pico W
11:50
Jeff Geerling
Рет қаралды 346 М.
Using a Raspberry Pi Pico H in a breadboard
13:46
nLab
Рет қаралды 2,1 М.
I put ChatGPT on a Robot and let it explore the world
15:24
Nikodem Bartnik
Рет қаралды 1,3 МЛН
Turning a Raspberry Pi Pico into a GPU!
16:42
element14 presents
Рет қаралды 131 М.
R-Pi Pico 2: 10 Things You Must Know Before Buy!
6:50
ToP Projects Compilation
Рет қаралды 26 М.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 626 М.
5 Ways Pi Pico 2 Takes Your Projects to the Next Level
5:15
Hardware.ai
Рет қаралды 25 М.
Raspberry Pi Pico LCD Projects
17:25
ExplainingComputers
Рет қаралды 126 М.
This robot is artificially intelligent (and lies)
13:59
Nikodem Bartnik
Рет қаралды 43 М.
10 Amazing R-pi Zero projects to try in 2023!
7:50
ToP Projects Compilation
Рет қаралды 276 М.