Raspberry Pi GPIO UART Expansion Board

The design is based on the old Raspberry Pi B Serial Expansion Board. The electronics are updated and several functions are added. Dimensions of the expansion unit: 65 mm x 56.5 mm, standard dimensions of an Raspberry Pi HAT expansion unit
GPIO function expansion:

  • 16 independent GPIO interfaces each with power supply and earthing (3V3 level)
  • 2 independent SPI interfaces
  • I2C interface
  • Standard RS232 interface
  • Infra-red Reciever

Read More

BME280 I2C Temperature and Pressure Sensor

The BME280 device is a digital barometric pressure sensor and is a slightly upgraded version of the BMP180. This is available on a small module which provides access to the sensor via the I2C interface. This allows us to easily connect it to the Raspberry Pi and read the data using Python. The BME280 provides temperature, pressure and humidity.

The BME280 is made by Bosch and the official BME280 datasheet includes all the technical details. Their device can offer both SPI and I2C interfaces so you need to make sure your module provides the interface you prefer.

My module is a small pcb measuring 14x10mm with a 4 pin I2C header. The order of the pins may vary on other modules so keep an eye on the labels so you connect up the correct wires from the Pi.
Read More

The “MCP23017” Port Expander gives 16 new GPIO Ports

In this article, I’ll show you how to hook up and control a port expander chip with wiringpi2 for python. It’s really easy, and once set up (with about 3 lines of code) you can control your new ports just the same way as if they were on the Pi itself. This is, so far, my favourite new feature of WiringPi2 for Python – although there are some I have yet to play with.

What is a port expander?

You probably guessed from the name, but a port expander is a chip that gives you more GPIO ports. WiringPi2 has drivers for several port expander chips…

  • MCP2301716 ports i2c based
  • MCP23S1716 ports spi based
  • MCP230088 ports i2c based
  • MCP23S088 ports spi based
  • 74×595     –    8 bit shift register

Read More

I2C Installation for Raspberry Pi

This is a step by step guide on installation I2C driver for the Raspberry Pi. It is for the Raspbian image. Make sure your Raspberry Pi is connected to the internet when installing the drivers.

The new Raspbian distro already have the I2C Driver installed but they are disabled by default. To enable it all you need to do is comment out a line by putting # in front. At the prompt type:
Read More

Do NOT follow this link or you will be banned from the site!