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)
@nuggetteam73 жыл бұрын
thanks for posting the code! I appreciate this video! you got my sub!
@Albertotron4 жыл бұрын
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-ne8fm2 жыл бұрын
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!!!
@guidoramacciotti35032 жыл бұрын
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!
@ChrisLocke19694 жыл бұрын
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!
@MrEdwardhartmann3 жыл бұрын
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
@johnacsyen3 жыл бұрын
Nice shiny solder tip.
@josepmayoral19984 жыл бұрын
Great video and very interesting this micro-controller... Congratulations on yours +70K!!!
@nikodembartnik4 жыл бұрын
Thanks a lot!
@blickberg84043 жыл бұрын
Try a water soluble flux. Makes cleanup really easy.
@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.
@VeerDaVlog4 жыл бұрын
Congrats on 70K+
@nikodembartnik4 жыл бұрын
Thank you so much 😀
@millbean132 жыл бұрын
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 Жыл бұрын
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.
@VeerDaVlog4 жыл бұрын
It's very cheap but not available here in the local market yet. But excited to work on it.
@nake89 Жыл бұрын
Very interesting video! Thank you.
@maxfooly3 жыл бұрын
plzzz make more video on pico i loved this vid
@shorb22894 жыл бұрын
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.
@cokeforever2 жыл бұрын
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...
@elfenmagix817311 ай бұрын
$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!
@VeerDaVlog4 жыл бұрын
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.
@nikodembartnik4 жыл бұрын
Go with raspberry pi os
@VeerDaVlog4 жыл бұрын
ok, I will try that.
@rodneyhage68334 жыл бұрын
you are very smart and a good teacher. you helped me learn alot thanks
@AJB2K34 жыл бұрын
Its a Larson scanner
@danharold30874 жыл бұрын
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?
@nikodembartnik4 жыл бұрын
Of course it has support for I2C and SPI, UART and so on
@danharold30874 жыл бұрын
@@nikodembartnik LOL yeah missed that. But still why choose this one ?
@jyvben15204 жыл бұрын
@@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 )
@housane4 жыл бұрын
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 Жыл бұрын
Please could you show the pin out and resiseors ete bit new to this
@doncorn88354 жыл бұрын
What's the music at 3:30? 😥
@ernstgennial70644 жыл бұрын
I'm happy about every video you make!
@pirolex7843 Жыл бұрын
Super filmik, poznaje ze jesteś z Polski, więc napiszę tak😅. Napewno coś mnie stąd zainspiruje to pierwszych projektów
@Gerberko Жыл бұрын
masz bardzo dobry angielski, dopiero po zmywaczu do pcb się zorientowałem
@ashok_ign56234 жыл бұрын
Really helpful Thank you So much 🔥
@nikodembartnik4 жыл бұрын
Glad it helped!
@ArduinoExperiment4 жыл бұрын
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++ 🙌
@electronic79794 жыл бұрын
Nice
@unuzualvizual4 жыл бұрын
Could you please do a more in-depth video on how to use the Pi Pico to control Nema Stepper Motors? :) Thanks!
@BenKickert4 жыл бұрын
Well done!
@Moonrakerd4 жыл бұрын
I wonder if this is fast enough to read an old ccd
@VeerDaVlog4 жыл бұрын
Cool
@Zwariowny4 жыл бұрын
Super w końcu są napisy i słabo znając angielski już się nie domyślać tylko po polsku obejrzeć :D
@j.b.5944 жыл бұрын
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?
@housane4 жыл бұрын
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.5943 жыл бұрын
@@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$.
@Etienne852 жыл бұрын
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$.
@SciencewithRishit4 жыл бұрын
But arduino nano is cheaper than pico
@cuentayoutube76153 жыл бұрын
Actually no, not true.
@JUMPINGDONUT_9 ай бұрын
Polska gurom, poznalem po tym ze napis "zmywacz"
@logcom4824 жыл бұрын
Next will be BBC microbit)
@EvoWatches Жыл бұрын
Pico won in slow motion
@anandusudhakar53004 жыл бұрын
good man..
@matthewrease2376 Жыл бұрын
Comparing Python to C++, yeah that's fair...
@Mcs1v4 жыл бұрын
Arduino is not a microcontroller
@cuentayoutube76153 жыл бұрын
Of course its the board but when people say Arduino we all think of an Atmega328p, its the use of common sense.
@AnAlivePerson_9 ай бұрын
man so much to do with something like unbelibabley cheap
@smeggmann994 жыл бұрын
Bajo Jajo Bajo Jajo
@logcom4824 жыл бұрын
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. 🙂
@Mcs1v4 жыл бұрын
what? :D
@logcom4824 жыл бұрын
@@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.
@Mcs1v4 жыл бұрын
@@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
@logcom4824 жыл бұрын
@@Mcs1v i didn't find a chip from the Pico board for sale.Only with the board.
@joseph99154 жыл бұрын
@@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.
@ginalski14 жыл бұрын
mmmm zmywacz PCB alkocholowy Alcohol PCB Cleaner
@michabartnik27284 жыл бұрын
LOOOOOOOL
@TnInventor4 жыл бұрын
you absolutely have no idea what you are doing are? 6:30