Raspberry Pi Pico W LESSON 67: Use Both Cores on Your Pi Pico with MicroPython

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024

Комментарии • 44

  • @lansdonalcorn6998
    @lansdonalcorn6998 4 месяца назад +4

    I can't believe I'm just now learning about the second core.

  • @vaughntaylor2855
    @vaughntaylor2855 4 месяца назад +5

    Thank you for this fun lesson Paul, God Bless

    • @paulmcwhorter
      @paulmcwhorter  4 месяца назад

      And may God richly bless you as well. Thanks!

  • @edSabio572
    @edSabio572 4 месяца назад +2

    Thanks Paul! The Threading concept is largely underutilized in the lower echelon of programming. Thanks for illustrating this concept in a straightforward fashion. Now, working on narrowing the gap between left and right
    dielectric brain plates...

  • @TheUnofficialMaker
    @TheUnofficialMaker 4 месяца назад +2

    Have No Fear, McWhorter is here! Excellent presentation.

  • @scottpettygrove7821
    @scottpettygrove7821 4 месяца назад +1

    Excellent lesson, Paul. Thank you. Can’t seem to upload my homework, though. RUclips not cooperating. Will keep trying.

  • @U_Kamrc
    @U_Kamrc 4 месяца назад +2

    This subject is one of your best for me!

  • @jameslewellen150
    @jameslewellen150 4 месяца назад +1

    I got the home work going with the flash leds vs servo direction. I am transitioning from my windows pc to my raspberry pi 4 in my lab. Videos will have to wait until I get the setup working correctly. Love you instruction videos. Thanks

  • @leeg.1402
    @leeg.1402 4 месяца назад +2

    Thanks for the great lesson Paul!! Sure seemed simple as you were explaining it. Let's see if I can actually do it now. 😊

  • @DrDave327
    @DrDave327 4 месяца назад

    Great content, Paul! I folded up again,as of now, but I will attempt to figure it out early tomorrow, before the premiere. Thank you for the great lessons.

    • @paulmcwhorter
      @paulmcwhorter  4 месяца назад

      Dont give up, keep thinking. It is simple once you see it. My first reaction was, I need a third core!

  • @StudentTrader
    @StudentTrader 4 месяца назад +2

    I’m still on lesson 10 but I’ll get back to this one quick!

  • @scottwait3585
    @scottwait3585 4 месяца назад +1

    Thank you Paul

  • @taurus548
    @taurus548 3 месяца назад +1

    Guilty as charged!

  • @louisdirect
    @louisdirect 4 месяца назад +2

    This is very interesting thank you!

  • @Auxrad39
    @Auxrad39 4 месяца назад +1

    Thanks for showing how to use both cores 😀

  • @craigflorin1071
    @craigflorin1071 3 месяца назад

    I played with dual core on the ESP32 and the RP PICO. Time to dust off that skill set. Lots of dust!!!! As for the homework, I got stuck in dual core mode. I jumped back into single to complete the assignment after having a very confused servo. Enjoyed the challenge.

  • @donaldhoudek2889
    @donaldhoudek2889 4 месяца назад +2

    Paul, do you have any idea as to how much additional power running 2 cores will add to the Pico W's total power usage? Great video!! I will try this on the the Creek monitoring Pico project I am building at the moment. I will put the waterproof version of the HC-SR04 UltraSonic sensor (creek water level) on one core and the other sensors on the second core (Air Temp, battery voltage, humidity, UV and creek flow speed). Should be interesting. Thanks for the GREAT video. Always learning something new with you!

  • @user-bn5tm3lf1t
    @user-bn5tm3lf1t 4 месяца назад +2

    hello Paul ,
    are you going to talk about interrupts with the pico w?

  • @DrDave327
    @DrDave327 4 месяца назад +2

    Guilty as charged

  • @meisamarastooei
    @meisamarastooei 4 месяца назад

    Hi Sir,
    Thanks for very informative videos. I learned a lot from your videos .
    Could you please make a video about VSLAM with Raspberry?

  • @donaldwaddel4600
    @donaldwaddel4600 4 месяца назад +2

    When running Thonny on a PC I'm unable to shutdown the Pico W properly so that I can rerun the program w/o unpluging the USB from the PC. I'm guessing that the stop is only shutting down one thread. Is there a way to shutdown both threads at the same time? Here is the error message being generated by Thonny when trying to rerun the program after stopping it:
    Unable to connect to COM7: could not open port 'COM7': PermissionError(13, 'Access is denied.', None, 5)
    If you have serial connection to the device from another program, then disconnect it there first.
    Process ended with exit code 1.
    Great information in your course!

    • @donaldwaddel4600
      @donaldwaddel4600 4 месяца назад

      PROBLEM SOLVED: Using Ctl C stops all threads. Apparently the stop button behaves differently than a Ctl C. Thanks...

  • @flynndale635
    @flynndale635 4 месяца назад +1

    guilty as charged paul

  • @peterhartshauser5176
    @peterhartshauser5176 4 месяца назад

    Quilts as charged

  • @kalidabdul6862
    @kalidabdul6862 4 месяца назад

    Hello Paul and everyone.
    My name is khalid .I have a problem with threading on the pico
    The code is the same as Paul's it runs but when I press the stop button or even without . Like fixing something and pressing play.
    The connection between the computer and the pico is gone and the only way to fix it is to remove the usb and restart thorny.
    And reconnect the usb.
    Does anyone have this problem and is there any other solution
    Thanks

    • @paulmcwhorter
      @paulmcwhorter  4 месяца назад +1

      Exit the program with control C on the keyboard instead of the stop button. Your thonny is killing the program, but leaving the thread running. See if that works.

  • @peterkarlsson7801
    @peterkarlsson7801 4 месяца назад

    The homework for this week is not that an easy one

  • @gabriel38g
    @gabriel38g 4 месяца назад

    My homework links are getting removed. Have I been blocked?

    • @paulmcwhorter
      @paulmcwhorter  4 месяца назад

      No you have not been blocked. Sometimes youtube algorithm thinks comments with links are spam, and removes them. Not sure how to fix that.

    • @gabriel38g
      @gabriel38g 4 месяца назад

      @@paulmcwhorter Well, I'm glad I'm not blocked. I guess i'll just follow along w the videos for now. 😄

    • @gabriel38g
      @gabriel38g 4 месяца назад

      @@paulmcwhorter well, I guess I'll just follow along with the videos for now. Thanks. :)

    • @gabriel38g
      @gabriel38g 4 месяца назад

      I'll just follow along with the videos for now, thanks.

  • @scottpettygrove7821
    @scottpettygrove7821 4 месяца назад

    Here's my homework solution for lesson 67. Thanks so much for all the work you put into this class, Paul! ruclips.net/video/kPSdFB80WMk/видео.htmlsi=e3b90sIGztgKrH5X

  • @michaelschweizer2115
    @michaelschweizer2115 4 месяца назад

    Threads are so powerful. I've never used the second core before.
    Thanks for the lesson.
    Here's my short video of my solution: ruclips.net/video/LVYstMICNlE/видео.html
    I used a global variable to switch between the LEDs.

  • @alistaircook1997
    @alistaircook1997 4 месяца назад

    Thanks Paul another great lesson, this is my homework for lesson 67 :- ruclips.net/video/C5CslXGN28g/видео.html

    • @paulmcwhorter
      @paulmcwhorter  4 месяца назад

      Excellent. I do really wish you would link back to my video in your descriptions so that folks know where you are coming from. Thanks.

    • @alistaircook1997
      @alistaircook1997 4 месяца назад

      @@paulmcwhorter Was not sure how to do this, but gave it a try. Hope I got it right, thank you for your comments,

    • @paulmcwhorter
      @paulmcwhorter  4 месяца назад

      Yes, that works. I appreciate it, as it lets people watching your video know which lesson you came from.