Connecting Buttons to MCP23S17


Add pull-up resistors for each button input to ensure stable logic levels when they're not being pressed.
Below is a summary of the added pull-up resistor connections:

Table


ButtonMCP23S17 Pin (U1)Pull-up Resistor DesignatorResistor Value
SW4GPA0R110 kΩ
SW3GPA1R210 kΩ
SW2GPA2R310 kΩ
SW1GPA3R410 kΩ
SW8GPA4R510 kΩ
SW7GPA5R610 kΩ
SW6GPA6R710 kΩ
SW5GPA7R810 kΩ
Each pull-up resistor is connected between the respective MCP23S17 input and the supply (VCC). This ensures that the digital inputs remain at a stable logic high when the corresponding tactile switches are not pressed.
A recommended next step is to verify that the voltage level for VCC matches the operating range specified in the MCP23S17 datasheet.
Power section passive components
Schematic finalization
Additional components

SW2 1-1 - U1 GPA2
SW4 1-1 - U1 GPA0
SW4
SW8 1-1 - U1 GPA4
SW2
SW8 1-1 - U1 GPA4
SW3 1-1 - U1 GPA1
SW1 1-1 - U1 GPA3
SW8
SW3
SW7
SW4 1-1 - U1 GPA0
SW1 1-1 - U1 GPA3
SW1
SW7 1-1 - U1 GPA5
SW3 1-1 - U1 GPA1
SW6 1-1 - U1 GPA6
SW7 1-1 - U1 GPA5
SW5 1-1 - U1 GPA7
SW6 1-1 - U1 GPA6
SW6
SW2 1-1 - U1 GPA2
SW5 1-1 - U1 GPA7
SW5
U1

Royal Emerald Robot Maid

Royal Emerald Robot Maid thumbnail