![]() ![]() The sixteen I/O ports are separated into two ‘ports’ – A (on the right) and B (on the left. After reading this you should have the knowledge and confidence to move forward with using a MCP23017.įirst, let’s look at the hardware basics of this IC. The MCP23017 can be quite simple or complex to understand, so the goal of this article is to try and make it as simple as possible. You can order these in through-hole, surface-mount and also mounted on a breakout board. At this point you should also download yourself a copy of data sheet – it will be referred to several times, and very useful for reference and further reading.įurthermore if you are not familiar with Arduino and the I2C bus, please familiarise yourself with the I2C tutorials parts one and two. Here is our subject of the article in DIP form: ![]() Plus we think the I2C bus is underappreciated! So let’s get started… However you may have a distance between the Arduino and the end-point of the I/O pins – so with these ICs you can run just four wires instead of a lot more save board space with custom designs, and preserve precious digital I/O pins for other uses. This 28-pin IC offers sixteen inputs or outputs – and up to eight of the ICs can be used on one I2C bus… offering a maximum of 128 extra I/O ports.Ī few people may be thinking “Why not just get an Arduino Mega2560?” – a good question. In this article we discuss how to use the Microchip MCP23017 16-bit serial expander with I2C serial interface.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |