Difference between revisions of "MCP23017 IO Expansion Board"

From Waveshare Wiki
Jump to: navigation, search
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Modules]]
 
[[Category:Modules]]
{{Infobox item|colorscheme=blue
+
<div class="wiki-pages jet-green-color">
|img=[[File:MCP23017-IO-Expansion-Board-1.jpg|300px|link=https://www.waveshare.com/mcp23017-io-expansion-board.htm]]
+
{{Infobox item|colorscheme=green
 +
|img=[[File:MCP23017-IO-Expansion-Board-1.jpg|300px|{{Amazon_nolink|default={{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}|url=link=https://www.waveshare.com/mcp23017-io-expansion-board.htm}}]]
 
|caption=MCP23017, I2C interface, 16-bit parallel port
 
|caption=MCP23017, I2C interface, 16-bit parallel port
 
|platform=MCU/mini PC/FPGA...
 
|platform=MCU/mini PC/FPGA...
 
|category=[[:Category:Modules|Modules]]
 
|category=[[:Category:Modules|Modules]]
 
|brand=Waveshare
 
|brand=Waveshare
|{{#urlget:amazon|default}}=display
+
|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
|website_cn=[http://www.waveshare.net/shop/MCP23017-IO-Expansion-Board.htm 官方网站]
 
|website_cn=[http://www.waveshare.net/shop/MCP23017-IO-Expansion-Board.htm 官方网站]
 
|website_en=[http://www.waveshare.com/MCP23017-IO-Expansion-Board.htm Website]
 
|website_en=[http://www.waveshare.com/MCP23017-IO-Expansion-Board.htm Website]
Line 13: Line 14:
 
== Introduction ==
 
== Introduction ==
 
16-bit I/O expander for I2C-bus, MCP23017 on board
 
16-bit I/O expander for I2C-bus, MCP23017 on board
 
+
== How to Use==
{{Amazon|{{#urlget:amazon|default}}=display
+
The following example expands 16 I/O ports through MCP23017, 8 I/O ports as key inputs and 8 I/O ports as LED outputs.<br/>
 +
[[File:MCP23017 use.gif]]
 +
{{Amazon|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
|More = [http://www.waveshare.com/MCP23017-IO-Expansion-Board.htm More]}}
 
|More = [http://www.waveshare.com/MCP23017-IO-Expansion-Board.htm More]}}
  
Line 22: Line 25:
 
*[[:File:MCP23017-IO-Expansion-Board-Demo-Code.7z | Code]]
 
*[[:File:MCP23017-IO-Expansion-Board-Demo-Code.7z | Code]]
 
*[[:File:MCP23017-Datasheet.pdf | Datasheets]]
 
*[[:File:MCP23017-Datasheet.pdf | Datasheets]]
 +
==FAQ==
 +
{{FAQ| How to connect multiple modules in parallel at the same time for MCP23017?
 +
|
 +
The I2C interface can be directly connected in parallel.<br/>
 +
Note that if more than one MCP23017 module is connected in parallel at the same time, the I2C addresses of the modules need to be modified to be different, and up to 8 can be connected at the same time.<br/>
 +
Modify the module i2c address method: not connect or short A0, A1, A2, high level when it is not connected, and is low when it is short, the total can be set to 2x2x2 different i2c address.<br/>
 +
[[File:MCP23018 FAQ.jpg]]
 +
||}}
  
 
==Support==
 
==Support==
{{Service00}}
+
{{Servicebox1}}

Latest revision as of 08:41, 17 January 2024

MCP23017 IO Expansion Board
MCP23017-IO-Expansion-Board-1.jpg

MCP23017, I2C interface, 16-bit parallel port
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

16-bit I/O expander for I2C-bus, MCP23017 on board

How to Use

The following example expands 16 I/O ports through MCP23017, 8 I/O ports as key inputs and 8 I/O ports as LED outputs.
MCP23017 use.gif

More

Resources

FAQ

 Answer:

The I2C interface can be directly connected in parallel.
Note that if more than one MCP23017 module is connected in parallel at the same time, the I2C addresses of the modules need to be modified to be different, and up to 8 can be connected at the same time.
Modify the module i2c address method: not connect or short A0, A1, A2, high level when it is not connected, and is low when it is short, the total can be set to 2x2x2 different i2c address.
MCP23018 FAQ.jpg

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 AM GMT+8 (Monday to Friday)