Add more than 100 GPIO pins to your PICO!!!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.พ. 2023
  • There are times when you simply need more inputs or outputs, don't despair! In this video, Chris introduces you to an i2c port expander chip that is easy to use and interface with the PICO. Add up to 128 GPIO pins, with each being an Input or and Output.
    SEE ASSOCIATED VIDEOS:
    Raspberry Pi PICO Setup and Preparation for Programming • Raspberry Pi PICO Setu...
    PICO Machine Library PIN Class • PICO Machine Library P...
    VISIT OUR COMPANION WEBSITE -- makingstuffwithchrisdehut.com
    DOWNLOAD FILES HERE -- makingstuffwithchrisdehut.com...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 38

  • @skf957
    @skf957 ปีที่แล้ว +2

    Very interesting Chris. From it's launch I've been astonished as to the capabiliites of the Pico - especially given it's low price point. This I2C package takes it up a notch or 10 I'd say. Liking the longer videos too, thank you.

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  ปีที่แล้ว +3

      HI CG, I too am amazed with the PICO, and everything it is capable of. After watching people use Raspberry PIs being utilized for jobs that a simple microcontroller can do, I was very happy they came out with this little chip! I got some projects coming up that I am working on now that will be released in the summertime that are all using the PICO. So much fun and so economical too!
      Cheers!
      Chris

  • @Starlight-AG
    @Starlight-AG 11 หลายเดือนก่อน

    Good video Chris. This is something I am checking into. As others have requested, please do a follow-up video about the interrupt usage. Thanks.

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  11 หลายเดือนก่อน

      Hi Starlight,
      I have added your comment to the "follow up" video. I am hoping to find time later this summer or perhaps into fall.
      Cheers!
      Chris

  • @donbates3
    @donbates3 ปีที่แล้ว

    This channel is great. Thank you

  • @mc.the_machine
    @mc.the_machine ปีที่แล้ว +3

    It's interesting to note that the extender chip here actually cost more than an RP 2040 itself. It seems like it would be interesting to have a video on using RP2040s or other microcontrollers controllers as extenders. There are a number of Chinese microcontrollers that are significantly cheaper than either, and I wonder if someone were to make firmware for them, if they could really replace these older extender chips in a lot of applications, or, at least that these older extender chips would have to compute on price.

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  ปีที่แล้ว +1

      Hi Michael, you do bring up a great point! That might be a fun project video at some point in the future.
      Cheers!
      Chris

  • @quaternion-pi
    @quaternion-pi ปีที่แล้ว +3

    Quite interesting...I was wondering right away if you would mention if the expanded gpios each supported being attached to an interrupt...and you teased an answer😀 Thanks for your very useful content.

  • @gordonw9208
    @gordonw9208 ปีที่แล้ว

    The port expander chips coat about the same as a pico. I am thinking of getting some anyway.
    Having experimented with some esp-12 modules, i have gone back to pico's only. They are stable and reliable from my experience. Im working on about 4 different pico projects.

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  ปีที่แล้ว +1

      Hi Gordon,
      Yes, some of the devices have gotten expensive but be sure to consider all aspects. They may be able to handle more current than the PICO, they may allow for a more compact layout, they may also provide isolation, etc.
      I have been pretty happy just staying within the PICO world. More and more libraries are becoming available to help with the interfacing making it "easier" to work with.
      In the coming months, I will be doing more project based videos using the PICO - I am hopeful that will attract more viewers and more attention to the PICOs.
      Cheers!
      Chris

  • @user-kt2yx3zg6m
    @user-kt2yx3zg6m หลายเดือนก่อน

    Merci, merci, merci infiniment 🌞

  • @showemethemoney
    @showemethemoney 6 หลายเดือนก่อน

    Hi Chris, great tutorial I'm hoping to build off it. I'm having trouble installing the MCP23017 library. Can you recommend a video or article that shows how to install a library for the pi pico. I'm getting confused by all the mip and pipkin stuff, and the things I'm trying don't seem to work. For reference I"m using the Pi Pico W. Thanks!

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  5 หลายเดือนก่อน

      Hello,
      This video covers how to do that using the Thonny IDE. I suspect it will help with your problem.
      th-cam.com/video/ziBzaqSEQBM/w-d-xo.html
      Cheers!
      Chris

    • @showemethemoney
      @showemethemoney 5 หลายเดือนก่อน

      Thanks, it did help, I also needed to update to the latest instance of Thonny@@MakingStuffwithChrisDeHut

  • @jyvben1520
    @jyvben1520 ปีที่แล้ว

    So pico has 2 hardware i2c busses with 8 mcp23017 on each, 256 io, but pico can switch its i2c to other pins very fast.
    max 12 i2c "ports" x 128 io = 1536, external power recommended. (might need to 'detach' old i2c in pico, set it as serial)

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  ปีที่แล้ว

      My head would explode keeping track of all those I/O 🙂 - love your thinking Ben!
      Cheers!
      Chris

  • @edwinvarghese
    @edwinvarghese 2 หลายเดือนก่อน

    Hey, Thanks for the tut!. Quick question. is there a way to add 300 additional I/O to arduino (uno/mega/any) ?

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  2 หลายเดือนก่อน

      Hi, It has been a very long time since I have worked with Arduinos and I can't recall all of the specifications needed to answer that question. 300 is a lot, what are you planning on doing?
      Cheers!
      Chris

    • @edwinvarghese
      @edwinvarghese 2 หลายเดือนก่อน

      @StuffwithChrisDeHut Hey thanks for the lightning-fast response..I want to control around 150 SMD LEDs. I was searching the best way to achieve this. My understanding - Realized that we can use multiple MCP23017 (to get exra 16 I/Os) so I might need 5 of these coupled with an Arduino mega to achieve the goal (using 5 port expanders might result in performance issues) so best way is to get this implemented without performance impacts.

  • @jomfawad9255
    @jomfawad9255 4 หลายเดือนก่อน

    I have 13 dc motors and each motor has a motor driver that needs 2 pins from the microcontroller so 26 pins in total. My question is if i use external power for the motors and the motor drivers, can i connect all the 26 pins of the motors to the 26 gpio pins on raspberry pi? Thank you

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  4 หลายเดือนก่อน +1

      Hi,
      If you are saying "connect 26 pins RPi to the motor DRIVERs to provide logic level control signals", then that may work.
      Cheers
      Chris

  • @ManosMantzas
    @ManosMantzas 19 วันที่ผ่านมา

    Hi, thanks for this. Your link to download files leads to the main page. Which are the files to download for this project please? Thank you in advance. :)

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  18 วันที่ผ่านมา +1

      Good morning,
      I have edited the website this morning (5/1/2024) and added links to each of the file sections (SUPPORTING DOCS). Look near the bottom of the main page and you should see the TABLE OF CONTENTS section.
      Hope this helps!
      Chris

  • @davidkeith423
    @davidkeith423 4 หลายเดือนก่อน

    Will this work on a raspberry pi 4b?

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  4 หลายเดือนก่อน +1

      Yes this chip and others similar to it can be used with any micro-controller. The code would be slightly different, but they are very useful chips when you need a LOT of IO.
      Cheers!
      Chris

  • @wayland7150
    @wayland7150 ปีที่แล้ว

    I2C is IIC which is I*i*C which is: I squared * C

  • @qozia1370
    @qozia1370 9 หลายเดือนก่อน

    thats not how you do a tutorial
    you should start with the simple circuit and then add complexity in the form of your BS led and input

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  9 หลายเดือนก่อน

      It is unfortunate you feel that way. There are over 114 million TH-cam channels that you can choose from, I am sure you will find one that suits your tastes.
      Cheers!
      Chris

    • @ThePrimePrimer
      @ThePrimePrimer 8 หลายเดือนก่อน

      @@MakingStuffwithChrisDeHutIgnore this troll. The tutorial was great

    • @MakingStuffwithChrisDeHut
      @MakingStuffwithChrisDeHut  8 หลายเดือนก่อน

      @@ThePrimePrimerThank you for the show of support and kind words, I really appreciate it!
      Cheers!
      Chris

    • @qozia1370
      @qozia1370 8 หลายเดือนก่อน

      ​@@MakingStuffwithChrisDeHut yes I did choose another channel.
      Too bad you can't take my rough comment as a chance to learn.
      In teaching you explain the concept using simple simple simple example and then build up from there.
      In math class even highly complex subjects is taught through the bare minimum example and then complexity gets introudcuced
      Thanks for northing.

    • @qozia1370
      @qozia1370 8 หลายเดือนก่อน

      ​@@ThePrimePrimertroll this troll that! Grow up.