How to make the RPi PICO autorun a program

  Рет қаралды 8,336

Making Stuff with Chris DeHut

Making Stuff with Chris DeHut

Күн бұрын

In this video, Chris demonstrates how to make a program auto run on power up. Also covered is how to stop the program from auto starting as well.
SEE ASSOCIATED VIDEOS:
Raspberry Pi PICO Setup and Preparation for Programming • Raspberry Pi PICO Setu...
VISIT OUR COMPANION WEBSITE -- makingstuffwithchrisdehut.com
DOWNLOAD FILES HERE -- makingstuffwithchrisdehut.com...
SOURCED ITEMS USED IN SOME OF THE VIDEOS
3 pack of breadboards amzn.to/3oAkK3H
200 pc assortment of LEDs amzn.to/3JfLQVc
450 pc assortment of LEDs amzn.to/3sr1vKL
38 value / 1200 pcs resistor assortment amzn.to/3Llxq8k

Пікірлер: 41
@donaldhoudek2889
@donaldhoudek2889 3 ай бұрын
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 3 ай бұрын
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
@mancavemusician
@mancavemusician 4 ай бұрын
Thank you, its so much easier than the Raspberry Pi
@RIAMCNC
@RIAMCNC 4 ай бұрын
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
@Edu124
@Edu124 9 ай бұрын
Great tutorial! Simple and easy to follow!
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 9 ай бұрын
Glad it was helpful! Cheers! Chris
@SimonPass230267
@SimonPass230267 7 ай бұрын
Fantastic. Just the tutorial I needed and it works running my programme. Thank you very much for the great video.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 7 ай бұрын
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 Жыл бұрын
Great video and very helpful. Thanks.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
Thank you very much for the feedback, much appreciated!
@josemoltv
@josemoltv Жыл бұрын
excellent, merci beaucoup
@Turb0esky
@Turb0esky 11 ай бұрын
Great help. Learning more and more!!
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 11 ай бұрын
Awesome! Glad to hear it. Cheers Chris
@tamilentertainment6393
@tamilentertainment6393 Жыл бұрын
thanks it's very useful
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
Thanks for viewing and commenting, much appreciated!
@neilhoward5527
@neilhoward5527 8 күн бұрын
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 7 күн бұрын
Thanks for the addition and clarification for the on-board LED. Cheers! Chris
@dirkvrijdaghs4056
@dirkvrijdaghs4056 Жыл бұрын
Thank you very much
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
Hi Dirk, You are very welcome! Cheers!
@mindcraft4043
@mindcraft4043 Жыл бұрын
Thank you 😄
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
You are Welcome! Thank you for watching.
@Samsul2013
@Samsul2013 Жыл бұрын
Thank you sir
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
You are very welcome! Cheers, Chris
@hanzbarrios8927
@hanzbarrios8927 Жыл бұрын
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 Жыл бұрын
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!
@Lugeix
@Lugeix Жыл бұрын
Nice Pyrometer
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Жыл бұрын
Hi Ray, Not sure if I talked about a Pyrometer, but thanks for the compliment! Cheers, Chris
@user-tw5ts8lp6h
@user-tw5ts8lp6h Жыл бұрын
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!
@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
@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
@ntechsolutions1071
@ntechsolutions1071 7 ай бұрын
And when we have two scripts we save second as?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 7 ай бұрын
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 7 ай бұрын
@@MakingStuffwithChrisDeHut Will that work on rpi 4?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 7 ай бұрын
@@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 7 ай бұрын
@@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
Let's Get Started with the PICO W
19:40
Making Stuff with Chris DeHut
Рет қаралды 8 М.
How to use Timers on the RPi PICO
17:05
Making Stuff with Chris DeHut
Рет қаралды 15 М.
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 51 МЛН
Русалка
01:00
История одного вокалиста
Рет қаралды 3,8 МЛН
Read Analog Voltage with the PICO
14:25
Making Stuff with Chris DeHut
Рет қаралды 8 М.
Using PICO Interrupts
25:15
Making Stuff with Chris DeHut
Рет қаралды 17 М.
Raspberry Pi Pico W LESSON 2: Understanding and Using  Breadboards
34:10
PicoMite: Running BASIC on a Raspberry Pi Pico
19:29
ExplainingComputers
Рет қаралды 144 М.
Transform an old broken Keyboard to a Macro Keyboard
8:11
NerdCave
Рет қаралды 56 М.
Raspberry Pi 5 w/ Home Assistant - Worth the Upgrade?
13:47
digiblur DIY
Рет қаралды 51 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 7 МЛН
Blue Mobile 📲 Best For Long Audio Call 📞 💙
0:41
Tech Official
Рет қаралды 1 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 380 М.