Raspberry Pi with GPIO Expender MCP23017

Raspberry Pi with GPIO Expender MCP23017

Raspberry Pi with GPIO Expender MCP23017, Proteus simulation
Raspberry Pi with GPIO Expender MCP23017 circuit diagram

Raspberry Pi with GPIO Expender MCP23017

In this article we will learn how to make Raspberry Pi with GPIO Expender MCP23017.

In the last post we will learn how to make Raspberry Pi with Tri Color LED. You can visit our website,
I hope you appreciate my work, let’s discuss about today’s project.

 

 

 

Components:

  1. Raspberry Pi (Pi 3)
  2. IC (MCP23017)
  3. Resistors (10k, 1k,)
  4. Push Button
  5. LED
  6. Jumper wires

Construction…

  • Connect pin 12 of MCP23017 with GPIO 3 pin of Raspberry Pi
  • Connect pin 13 of MCP23017 with GPIO 2 pin of Raspberry Pi
  • Connect pin 18 of MCP23017 with one side of resistor
  • Connect 2nd side of Resistor with GND
  • Connect A2 pin of MCP23017 with one side of Resistor
  • Connect 2nd side of Resistor with GND
  • Connect A1 pin of MCP23017 with one side of Resistor 10k
  • Connect 2nd side of Resistor with GND
  • Connect A0 pin of MCP23017 with one side of Resistor 10k
  • Connect 2nd side of Resistor 10k with GND
  • Connect PIN0 of MCP23017 with +ve side of LED
  • Connect –ve side of LED with one side of Resistor 1k
  • Connect 2nd side of Resistor 1k with one side of 2nd Resistor 1k and then connect them with GND
  • Connect 2nd side of Resistor 1k with PIN1 of MCP23017 through one side of Push button
  • Connect 2nd side of Push button with +ve
Raspberry Pi with GPIO Expender MCP23017, Proteus simulation
Raspberry Pi with GPIO Expender MCP23017 circuit diagram

Working…

The Raspberry Pi is a versatile single-board computer that can be extended with various peripherals and components to perform a wide range of tasks. The MCP23017 is an I/O expander that allows you to increase the number of digital I/O pins available to the Raspberry Pi. It communicates with the Raspberry Pi over the I2C (Inter-Integrated Circuit) bus.

Applications…

  1. Expanding GPIO Pins
  2. Home Automation
  3. Keypad/Keyboard Interface
  4. Digital Sensors
  5. LED Matrix Control

Advantages…

  1. Increased GPIO Pins
  2. I2C Interface
  3. Low-Cost Solution
  4. Programming Support
  5. Compatibility