No video

IO Expander with I2C

  Рет қаралды 11,515

nLab

nLab

Күн бұрын

Using the MCP23017 with the PIC32 and I2C

Пікірлер: 15
@carlanwray8718
@carlanwray8718 4 жыл бұрын
Thank you. Great I2C expander explanation but an even better example.
@robthom1919
@robthom1919 3 жыл бұрын
Nice , clear , concise video. Thanks.
@andreicheptea8020
@andreicheptea8020 9 ай бұрын
HOW DO YOU WRITE ALL THIS MIRRORED?? Or are you left handed?
@curtkeisler7623
@curtkeisler7623 5 ай бұрын
Oh man I was so looking forward to this and the squeaking on that glass is insufferable I can't listen how disappointing
@ronfratom7249
@ronfratom7249 4 жыл бұрын
I liked how you explained but what you didn't tell is how different io device will know whom master wants to communicate as the slave address passed is of io expander..how expander carried it forward to address multiple io devices? Pls explain if possible to your new subscriber :)
@ashwinshetty1961
@ashwinshetty1961 2 жыл бұрын
Devices with same addresses can't be on a same bus. Usually such ics have an for variable slave addresses by changing the last 3 bits of the 7 bit address. That gives you the option for 2^3 = 8 slave devices. This is true for port expanders like pc8574 and its likes.
@free2rule
@free2rule 3 жыл бұрын
Question: I am working with this chip right now hooked up to a relay board. If I want to change just one pin at a time to an output, instead of IODIRA for all the pins on side A to 0x00, what’s the way to change just one pin i.e. GPA0 to an output?
@getnlab
@getnlab 3 жыл бұрын
I don't believe there is a way to target a specific pin without also writing to the rest of the pins on the port. The safe way to be sure you are changing only one pin would be to first read the value of IODIR, change the individual bit for the pin you want to change in that byte, and then write the byte back to IODIR
@mmaranta785
@mmaranta785 3 жыл бұрын
Is that the same chip used in those LCD piggyback displays?
@getnlab
@getnlab 3 жыл бұрын
Yes, although many manufacturers make this type of chip so you might not find this exact component
@briggsmedia
@briggsmedia 2 жыл бұрын
@@getnlab So if we are using this with a 5V lcd display do we power the display with 5v and this chip with 3.3 v (assuming connected to a pic32 i2c master)? Thanks for posting this.
@liyadev9305
@liyadev9305 Жыл бұрын
Anybody can help me for how can i use this MCP23017 io expander with standalone atmega328p without Arduino board?
@ADPenrose
@ADPenrose 2 жыл бұрын
This may be a dumb question, but why does the write and read addresses start with "0b"?
@nicholascopsey4807
@nicholascopsey4807 2 жыл бұрын
that's how a binary number is denoted, you'll notice in other parts of the video that he wrote "0x00" the 0x denotes a hexadecimal number.
@ADPenrose
@ADPenrose 2 жыл бұрын
@@nicholascopsey4807 Thanks for the answer!
SSD1306 OLED Display
11:37
nLab
Рет қаралды 3,7 М.
GPIO Expander COMPLETE User Guide (for beginners)
5:10
RGB Engineering
Рет қаралды 5 М.
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 585 М.
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 78 МЛН
白天使选错惹黑天使生气。#天使 #小丑女
00:31
天使夫妇
Рет қаралды 15 МЛН
MCP23017 Port Expander and ESPHome: Add More I/O Pins to Your Project
20:39
PCF8574 I2C GPIO Expander Tutorial
19:22
Gadget Reboot
Рет қаралды 36 М.
MCP23017 GPIO Expander Demo PCB: Arduino Uno Relay Driver
9:46
Gadget Reboot
Рет қаралды 9 М.
Registers+ Synchronous Systems Coding Guidelines : Verilog+System Verilog Series
12:22
Expand your GPIO! PCF8574 & MCP23008
9:12
VoltLog
Рет қаралды 12 М.
I2C and SPI on a PCB Explained!
15:34
Altium Academy
Рет қаралды 145 М.
Add more than 100 GPIO pins to your PICO!!!!
24:49
Making Stuff with Chris DeHut
Рет қаралды 10 М.
STM32 Tutorial #6 - External Interrupt
15:34
STM32World
Рет қаралды 107
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 585 М.