Questions tagged [io-expander]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer

override pinMode, digitalWrite and digitalRead

I am using the ESP32 Arduino Framework and I have some GPIO expanders attached via I²C. They work fine and I now want to map some unused pin numbers to them so I can used my custom pin numbers in ...
Ilka's user avatar
  • 69
2 votes
1 answer

ESP8266 soft resets when using a GPIO Expander

In my project I'm trying to use a PCF8574 to drive some peripherals, since the ESP8266 doesn't offer all the GPIO pins I need, however I seem to be having problems at the most basic level of driving ...
Luca's user avatar
  • 183
1 vote
0 answers

How to get a stable LED lighting without scintillation over I2C bus

I built an 8x8 led matrix using white 5mm LEDs. I drive the LEDs using the MCP23017 connected to an Arduino over the I2C bus. The wiring of the LEDs in the matrix is such that a row is made up of 8 ...
S.E.K.'s user avatar
  • 53
0 votes
2 answers

How to read input pin on MCP23017?

I'm working to develop a simple code for MCP23017 that I want to use to run LCD128x64. I was succeeded to set IODIRB as output and blink LED as a test. Now I want to read the pin state, but I couldn'...
R1S8K's user avatar
  • 283
1 vote
0 answers

Completing an action on button release help with delaying to give other modules time to repond

I'm currently having problems with my code it has several modules within the main one is my current keypad one working of a mcp23017. what I needed it to do is count how long a key is pressed and upon ...
Apple's user avatar
  • 11
1 vote
1 answer

Wire with MCP23008 I/O expander with I2C

I'm trying to read from an MCP23008 I/O expander using the Wire library over I2C. The MCP23008 is wired to address 0x04, giving an effective device address of 0x24. Writing to the device GPIO seems to ...
tobier's user avatar
  • 113
1 vote
2 answers

Arduino Uno - Building a Controller

I have the Arduino Uno and I'm working on a project to build a controller with different inputs and some outputs for readouts. In classic style, I got the Arduino Uno before realising that I might not ...
Christopher Kvalsvig's user avatar
1 vote
1 answer

Arduino Wire communication with MCP23008 GPIO pin expander to turn on an LED with a button press

I am using an Arduino Uno and an MCP23008 GPIO pin expander, I have a momentary button connected to GPIO 2 on the MCP23008 and an LED light connected to GPIO 1 on the MCP23008. What I want is for the ...
E. Pence's user avatar
0 votes
1 answer

MCP23S17 library crashes

I have a rather voluminous sketch with a heap of source and header files. Now I'm facing the problem, that controlling the MCP23S17 on my board fails in different ways within this sketch. This is ...
Ariser's user avatar
  • 577