Тёмный

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

Making Stuff with Chris DeHut
Подписаться 10 тыс.
Просмотров 10 тыс.
50% 1

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 -- makingstuffwit...
DOWNLOAD FILES HERE -- makingstuffwit...

Опубликовано:

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 40   
@skf957
@skf957 Год назад
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 Год назад
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
@quaternion-pi
@quaternion-pi Год назад
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.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Sometimes you just gotta save a little for later ;-) Cheers! Chris
@mc.the_machine
@mc.the_machine Год назад
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 Год назад
Hi Michael, you do bring up a great point! That might be a fun project video at some point in the future. Cheers! Chris
@erkintek
@erkintek 13 дней назад
I wonder if there's a catalog of components, I mean I found your video because I searched for multiplexer, shift register
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 13 дней назад
Aside from a website like Digikey or Mouser, I am not aware of any such "catalog". One thing is for certain though - THERE ARE A LOT OF ELECTRONIC COMPONENTS!!!!! Cheers! Chris
@user-kt2yx3zg6m
@user-kt2yx3zg6m 5 месяцев назад
Merci, merci, merci infiniment 🌞
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 5 месяцев назад
Glad you liked it! Cheers! Chris
@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 Год назад
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
@donbates3
@donbates3 Год назад
This channel is great. Thank you
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Hi Don, Thanks for dropping in and welcome "to the show". Cheers! Chris
@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
@Starlight-AG
@Starlight-AG Год назад
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 Год назад
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
@jomfawad9255
@jomfawad9255 8 месяцев назад
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 8 месяцев назад
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 4 месяца назад
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 4 месяца назад
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
@edwinvarghese
@edwinvarghese 6 месяцев назад
Hey, Thanks for the tut!. Quick question. is there a way to add 300 additional I/O to arduino (uno/mega/any) ?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 6 месяцев назад
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 6 месяцев назад
@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.
@showemethemoney
@showemethemoney 9 месяцев назад
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 9 месяцев назад
Hello, This video covers how to do that using the Thonny IDE. I suspect it will help with your problem. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ziBzaqSEQBM.html Cheers! Chris
@showemethemoney
@showemethemoney 9 месяцев назад
Thanks, it did help, I also needed to update to the latest instance of Thonny@@MakingStuffwithChrisDeHut
@davidkeith423
@davidkeith423 8 месяцев назад
Will this work on a raspberry pi 4b?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 8 месяцев назад
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 Год назад
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 Год назад
It is unfortunate you feel that way. There are over 114 million RU-vid channels that you can choose from, I am sure you will find one that suits your tastes. Cheers! Chris
@ThePrimePrimer
@ThePrimePrimer Год назад
@@MakingStuffwithChrisDeHutIgnore this troll. The tutorial was great
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
@@ThePrimePrimerThank you for the show of support and kind words, I really appreciate it! Cheers! Chris
@qozia1370
@qozia1370 Год назад
​@@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 Год назад
​@@ThePrimePrimertroll this troll that! Grow up.
Далее
How to make the RPi PICO autorun a program
6:37
Просмотров 9 тыс.
A small kitten was dumped #cat #kitten #cutecat
00:41
Новый уровень твоей сосиски
00:33
ДОКАЗАЛ ЧТО НЕ КАБЛУК #shorts
00:30
Самый БОЛЬШОЙ iPhone в МИРЕ!
00:52
Using PICO Interrupts
25:15
Просмотров 18 тыс.
I2C | Raspberry Pi Pico Workshop: Chapter 4.4
14:15
Просмотров 2,4 тыс.
Expand your GPIO! PCF8574 & MCP23008
9:12
Просмотров 12 тыс.
A small kitten was dumped #cat #kitten #cutecat
00:41