Questions tagged [expander]

Questions regarding Port or IO Expanders, be it I2C, SPI, 1-Wire, serial/uart or similar. Shift-Registers are normally NOT considered Expanders, and have their own tag.

Questions regarding Port or IO Expanders, be it , , , serial/uart or similar. are normally NOT considered Expanders, and have their own tag.

Port Expanders are typically addressable devices, with individually settable IO pins. They come in a variety of packages, with multiple features. Expanders can be Output only, Input Only, or both Inputs and Outputs. They can have interrupt features, PWM, and constant current options. They can be Open Drain/Collector or Push/Pull devices.

are similar, but are often only serial to parallel output only devices.

Addressable LED Drivers are also similar in use, except for having a niche target of driving LEDs. LED Drivers can easily be used as GPIO Port Expanders, either directly, or through a simple inverted transistor circuit.

62 questions
7
votes
4 answers

Good solution for more interrupts on an arduino?

I'm building a circuit with an Arduino Mega and simple IC chips (e.g. 7432) but I have many lines to monitor for interrupt conditions and not enough pins on the Atmel so I'm looking for a way to expand this. Problems ensue because I need to be able…
BD at Rivenhill
  • 305
  • 3
  • 7
5
votes
1 answer

i2c over gpio - level shifter

I'm quite new to this. I have just basic background in electronics. So I would appreciate an advice from someone more experienced. I would like to connect an i2c display to my tp-link wr703n (ar9331) router gpios. Router is running linux and uses…
loblik
  • 145
  • 2
  • 8
5
votes
1 answer

Why does read from I2C GPIO Expander MCP23017 requires NACK

I'm using the MCP23017 16-bit I2C GPIO Expander in combination with the microcontroller PIC18F47J53. Both products are from Microchip. Datasheet MCP23017 Datasheet PIC18F47J53 I use MCC (MPLab Code Configurator) to configure the hardware modules in…
Hans Billiet
  • 147
  • 6
5
votes
2 answers

Battery powered sensor node power down circuit

I am using the BQ24079T to control power for a wireless, battery powered sensor node. The MCU will operate in one of two modes: periodic sample mode where it takes sensor readings and then sleeps, or idle mode where it does nothing but sleep and…
Nick Hebner
  • 111
  • 1
  • 4
4
votes
3 answers

EEPROM with GPIO

Trying for a while now, but I cannot find an EEPROM memory with some address bit mapped to a GPIO. Or from a different angle, a GPIO expander with an EEPROM memory to save the config. Do such devices exist in the market? EDIT: of course the easier…
Łukasz Przeniosło
  • 1,619
  • 1
  • 19
  • 37
4
votes
2 answers

MCP 23018/23S18 for LED and Switch control

I'm working on a project that involves about 200 LEDs and about 120 Switches. I'd like to use several MCP23S18 DIP chips across 2-3 buses to control everything. I'm a CS guy and just want to make sure I've got a decent idea of how this is supposed…
guyfleeman
  • 155
  • 7
3
votes
3 answers

Increase GPIO outputs

I'm working on a project in which I need 32 outputs from an MCU that only has 8 free outputs. To accomplish my goal I have the following requirements: I must be able to toggle more than one output at the same time Data must come in as fast as…
Butzke
  • 1,012
  • 12
  • 27
3
votes
1 answer

Is it advisable to current sink an LED sourced from 5V into a PCF8574 sourced from 3V3?

I'm using a PCF8574 to sink current from an LED. The PCF8574 VDD is 3V3, but the LED is sourcing from 5V. I think voltage drop on the LED is around 2V, so if I understand correctly, then the IO IC should be sinking only around 3V. I believe…
Nick Bolton
  • 2,043
  • 8
  • 31
3
votes
3 answers

Simplifying a relay network

I'm currently trying to design a relay network for a piece of laboratory equipment (PPMS). I would like to describe what the setup is, what I am doing now, what I hope to do, and how I hope to do it. Skip ahead if you're bored! The current setup…
BASnappl
  • 357
  • 2
  • 10
3
votes
5 answers

UART expander (5 ports to 11 ports)

I have a board that I would like to design and there are 11 devices that can only be spoken to via UART. I am restricted to a Microchip uC chip product range and I have found one with 5 UART ports. I have come up with a jumper based solution whereby…
Gareth T.
  • 369
  • 3
  • 14
3
votes
1 answer

Problem writing to MCP23017 I/O Expander registers (i2c)

I am creating a basic cable tester device and using I2C to interface with two MCP23017 I/O expander chips. In my code each MCP23017 slave has its own address and I can communicate with both of them properly via I2C. The idea is that both ends of a…
JackSparrow123
  • 133
  • 1
  • 5
3
votes
3 answers

Controlling more relays than the no. of free IO pins a uC has - Low-cost options

While I understand that moving up to a high pin-count uC might be the simplest option, I am looking for Low-cost options to do the same with low pin-count uC. Would like to control a maximum of 8 relays, using an ATtiny85, which has 5 available GPIO…
bdutta74
  • 3,524
  • 11
  • 46
  • 67
3
votes
1 answer

How to read SAA1064 7-segment values

I have a central heating system that displays it's info and error codes on 4 7-segment displays. These displays are driven by a SAA1064, like so: This SAA1064 (datasheet here) receives it's information through I2C from the main computer, and the…
KJdev
  • 319
  • 1
  • 2
  • 8
3
votes
3 answers

Do you always need a GPIO expansion chip when using i2c?

SUMMARY: I'm trying to learn the basics of understanding how to wire up a simple circuit using the i2c. I'm wanting to build just a simple project involving an LED and a push button with my raspberry pi. From what I understand the "pi" already is…
Shane Yost
  • 1,049
  • 7
  • 16
  • 31
2
votes
1 answer

Issue controlling MAX7301 GPIO Expander via SPI using Arduino Uno R3

I'm trying to write a driver to control a MAX7301 GPIO port expander that will be controlled via SPI. I've used SPI before and it's pretty simple, but I've been working on this for a few days and I can't get a response from the chip when I try to…
Mitchell
  • 81
  • 1
  • 7
1
2 3 4 5