Tag Archives: i2c

Raspberry Pi LogoBH1750FVI I2C Digital Light Intensity Sensor

TheBH1750FVI device is a digital light intensity sensor which uses the I2C interface. This allows it to be connected to the Raspberry Pi with only four wires. The module allows quick and cheap ambient light level measurement and the light level can be … Continue reading

Posted in Sensors, Tutorials & Help | Tagged , | Leave a comment

Raspberry Pi LogoPi GPIO Hardware Interfaces Update Feb 2015

The Pi has always supported 1-wire, I2C and SPI interfaces via the GPIO header. These allow various devices to be connected to the Pi and controlled via software. In the recent update to Raspbian some major changes were introduced which changed the … Continue reading

Posted in Hardware | Tagged , , | Leave a comment

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 | 10 Comments

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 , , , | 30 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 , , , | 4 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 , , , | 21 Comments