How to make the RPi PICO autorun a program

  Рет қаралды 9,248

Making Stuff with Chris DeHut

Making Stuff with Chris DeHut

Күн бұрын

Пікірлер: 41
@AlyssaGeology
@AlyssaGeology 2 ай бұрын
Thanks so much! I am fairly new to this and was driving myself crazy looking for a solution, I had no clue it was so easy!
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 2 ай бұрын
Glad it helped! Be sure to check out all the other PICO related videos on the channel. Cheers! Chris
@Edu124
@Edu124 Жыл бұрын
Great tutorial! Simple and easy to follow!
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
Glad it was helpful! Cheers! Chris
@SimonPass230267
@SimonPass230267 11 ай бұрын
Fantastic. Just the tutorial I needed and it works running my programme. Thank you very much for the great video.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 11 ай бұрын
Hi Simon, Thanks for the kind words and for having a look, there are plenty more videos on the channel too. Cheers! Chris
@adrianhay1
@adrianhay1 2 жыл бұрын
Great video and very helpful. Thanks.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 2 жыл бұрын
Thank you very much for the feedback, much appreciated!
@mancavemusician
@mancavemusician 8 ай бұрын
Thank you, its so much easier than the Raspberry Pi
@RIAMCNC
@RIAMCNC 8 ай бұрын
Hi Scott, Isn't that a wonderfully simple process. I agree, the Raspberry Pi is the worst for getting a program to autorun - heck, even Windows is better. Cheers! Chris
@Turb0esky
@Turb0esky Жыл бұрын
Great help. Learning more and more!!
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
Awesome! Glad to hear it. Cheers Chris
@donaldhoudek2889
@donaldhoudek2889 7 ай бұрын
Lol, I could not help but see your Hooker Headers Tee shirt. Not that I am familiar with their product, but my 1965 442, 1969 W30 442, 1971 Vega (replaced the 4cyl with 327/4spd, and my 65 Mustang rebuilt to Shelby engine specs) all had Hooker headers in them. Great video, just found it.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 7 ай бұрын
So good to hear from an old Gear Head!!!! Yeah, I miss my old cars and racing. Still get the itch to get a car again but just don't have the energy anymore to do it right. Sounds like you had a nice range of cars to play with! Cheers! Chris
@Sav1164
@Sav1164 Жыл бұрын
Hi, I'm a student and I'm doing a school project with Rasberry pi pico. I have a question regarding on how to charge the Lipo battery without adding another usb charging port, how can I use the usb port on the pico to charge my Lipo battery?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
Hi, I am not aware of any devices that can do that for you. Keep searching though, new products are popping up every day. Cheers! Chris
@nickconquest5527
@nickconquest5527 4 ай бұрын
Good work. FYI on the Pi Pico 2 W *wireless* version (and presumably on the earlier Pi Pico W), the LED is connected to the wireless module for some reason and so it is not controlled via the normal GPIO software. Instead, it is... led = machine.Pin("LED", machine.Pin.OUT) ... led.on() ... led.off()
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 4 ай бұрын
Thanks for the addition and clarification for the on-board LED. Cheers! Chris
@Michi-wd1ly
@Michi-wd1ly Жыл бұрын
Tested this with the led Code. Works, but just with my program somthing is going wrong here. (I also saved some libraries on the pico) Any ideas about this problem?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
Hi Michi, Unfortunately, I would need a lot more information to understand the problem and offer advice. Chris
@hanzbarrios8927
@hanzbarrios8927 2 жыл бұрын
Muchas pero muchas gracias, aplique lo mismo pero usando el pulsador interno como activador, ya que no quería que siempre se activara pero usando el pulsador siempre se va a mantener lanzando, gracias :)
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 2 жыл бұрын
I am glad to hear that the video helped you to get your program running every time you power up the Pico! Thanks for stopping by and checking out the videos. Cheers!
@SLAM2ROS
@SLAM2ROS Жыл бұрын
Thank you! I'm looking for the method to autorunning rasberypi pico, for 3 hours...
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
Can you provide more details. What are you trying to do?
@M0nsieurPi
@M0nsieurPi Жыл бұрын
me too, nearly 3 hours. Every other tutorial stops with explaining at some point. Chris explained what to do so that the program really starts from the pico without triggering the run-button at the PC. Thank you Chris!
@josemoltv
@josemoltv 2 жыл бұрын
excellent, merci beaucoup
@dirkvrijdaghs4056
@dirkvrijdaghs4056 2 жыл бұрын
Thank you very much
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 2 жыл бұрын
Hi Dirk, You are very welcome! Cheers!
@tamilentertainment6393
@tamilentertainment6393 2 жыл бұрын
thanks it's very useful
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 2 жыл бұрын
Thanks for viewing and commenting, much appreciated!
@mindcraft4043
@mindcraft4043 2 жыл бұрын
Thank you 😄
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 2 жыл бұрын
You are Welcome! Thank you for watching.
@ntechsolutions1071
@ntechsolutions1071 11 ай бұрын
And when we have two scripts we save second as?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 11 ай бұрын
I am not sure I understand your question. There can only be one program that will autorun and that is main.py. You can have many more programs in the PICO as well, but none of them will autorun. Cheers! Chris
@ntechsolutions1071
@ntechsolutions1071 11 ай бұрын
@@MakingStuffwithChrisDeHut Will that work on rpi 4?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 11 ай бұрын
@@ntechsolutions1071 Unfortunately no. The PI 4 has a full operating system and to auto run a program with that you will have to use "CRON" to get that to work. I don't have any information on that to share. Cheers! Chris
@ntechsolutions1071
@ntechsolutions1071 11 ай бұрын
@@MakingStuffwithChrisDeHut thanks
@A_very_tinly_can
@A_very_tinly_can Жыл бұрын
I'm trying to do a servo script and I'm wondering how I'd get it to run on battery pack startup? here's the script: #Include the library files from machine import Pin,PWM,ADC from time import sleep servo = PWM(Pin(0))#Include the servo motor pin potentiometer = ADC(28)#Include the potentiometer pin servo.freq(50)#Set the frequency #PWM min and max value in_min = 0 in_max = 65535 #Servo motor min and max degrees out_min = 1000 out_max = 9000 while True: #Get the potentiometer values value = potentiometer.read_u16() #Convert PWM values from 0 to 180 Servo = (value - in_min) * (out_max - out_min) / (in_max - in_min) + out_min #Rotate the servo motor servo.duty_u16(int(Servo)) Thank you and have a good day 😁
@A_very_tinly_can
@A_very_tinly_can Жыл бұрын
Nevermind It does it by itself if I name it main haha
@Samsul2013
@Samsul2013 Жыл бұрын
Thank you sir
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
You are very welcome! Cheers, Chris
Using RGB LEDs on the PICO
24:15
Making Stuff with Chris DeHut
Рет қаралды 2,3 М.
How to use Timers on the RPi PICO
17:05
Making Stuff with Chris DeHut
Рет қаралды 17 М.
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 11 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 35 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,1 МЛН
Saving Data Inside the PICO
13:11
Making Stuff with Chris DeHut
Рет қаралды 9 М.
Raspberry Pi  Pico PIO  - 8 Little Processors You Can Program
31:55
Gary Explains
Рет қаралды 93 М.
Add a web control panel to your project - the web server
30:50
Bytes N Bits
Рет қаралды 13 М.
What is VGA and How to Use it With a Raspberry Pi Pico
18:28
Gary Explains
Рет қаралды 55 М.
Raspberry Pi Pico Stepper Motors via PIO
25:17
Tinker Tech Trove
Рет қаралды 61 М.
Using PICO Interrupts
25:15
Making Stuff with Chris DeHut
Рет қаралды 19 М.
Raspberry Pi Pico W: Wireless Weather Station
17:13
ExplainingComputers
Рет қаралды 294 М.
Set up a Raspberry Pi Pico W or Pico to use CircuitPython
11:32
Prof. John Gallaugher
Рет қаралды 10 М.
Auto-start scripts on MicroPython
6:34
Kevin McAleer
Рет қаралды 12 М.
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 11 МЛН