Tag Archives: i2c

Raspberry Pi LogoEnabling The I2C Interface On The Raspberry Pi

I2C is a multi-device bus used to connect low-speed peripherals to computers and embedded systems. The Raspberry Pi supports this interface on its GPIO header and it is a great way to connect sensors and devices. Once configured you can connect … Continue reading

Posted in Tutorials & Help | Tagged | Leave a comment

Raspberry Pi LogoHow To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 3

In How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 2 I explained how to use an MCP23017 16-bit port expander to provide additional outputs. In this article I’ll show a basic input example where … Continue reading

Posted in Hardware, Python | Tagged , , , | 24 Comments

Raspberry Pi LogoHow To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 2

In How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 1 I explained how to configure your Pi to use I2C so you could connect an MCP23017 16-bit port expander to it. If you’ve followed that … Continue reading

Posted in Hardware, Python | Tagged , , , | 2 Comments

Raspberry Pi LogoHow To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 1

For all of my projects I have used the standard GPIO header pins as inputs and outputs. This gives you a total of 17 pins to play with but what if you need more? The easiest way of getting more … Continue reading

Posted in Hardware, Python | Tagged , , , | 18 Comments