Multiple Blue&White 16x2 LCD+Keypad Kit for Raspberry Pi?

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
MTset
 
Posts: 5
Joined: Thu Mar 21, 2013 2:14 am

Multiple Blue&White 16x2 LCD+Keypad Kit for Raspberry Pi?

Post by MTset »

Since this kit uses the I2C expander and I2C is stackable is it possible to run multiple units on the I2C bus?
What steps would have to be taken? I assume some addressing issues would have to be handled. Anybody try this already?

tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Multiple Blue&White 16x2 LCD+Keypad Kit for Raspberry Pi?

Post by tldr »

you can use as many as eight of these plates. addresses can be set by cutting some traces and shorting some pads on the back of the board under the mcp23017 chip.

matter of fact, a second i2c bus is brought on the unpopulated header between the cpu and the ethernet controller on the pi, so you could use 16.

MTset
 
Posts: 5
Joined: Thu Mar 21, 2013 2:14 am

Re: Multiple Blue&White 16x2 LCD+Keypad Kit for Raspberry Pi?

Post by MTset »

Thanks for the reply! Are the steps for addressing difficult or outlined in the datasheet or online? I figured the addressing would be handled via software and drivers rather than hardware.

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Multiple Blue&White 16x2 LCD+Keypad Kit for Raspberry Pi?

Post by adafruit_support_mike »

I2C addresses are handled in hardware. The details are explained in the MCP23017's datasheet (http://www.adafruit.com/datasheets/mcp23017.pdf), but the short version is that the address pins are the three closest to the buttons along the outer edge of the PCB.

By default, those pins are connected to GND to give the device an address of 0x20. There are three sets of pads on the back of the PCB that will let you select any of the 8 possible addresses you want though: http://learn.adafruit.com/assets/2646

User avatar
voc
 
Posts: 4
Joined: Tue Oct 09, 2012 3:55 pm

Re: Multiple Blue&White 16x2 LCD+Keypad Kit for Raspberry Pi?

Post by voc »

Sorry to resurrect this posting but is there a small how-to somewhere with pictures how to accomplish this.

Addressing should be simple if you look at this picture:

Image

User avatar
adafruit_support_bill
 
Posts: 88141
Joined: Sat Feb 07, 2009 10:11 am

Re: Multiple Blue&White 16x2 LCD+Keypad Kit for Raspberry Pi?

Post by adafruit_support_bill »

Don't have a how-to with photos. Although that would be a good addition to the basic tutorial. Looking at the photo below: the 3 sets of jumper pads below the soldering iron are (from right to left) A0 - A3. If you look closely, you will see 3 small bridges from the center pads to the upper pads. These are tying the address pins to GND. If you cut one of those bridges with a knife and solder a blob between the center pad and the lower pad, it will tie the address pin to 3.3v.


Image

User avatar
voc
 
Posts: 4
Joined: Tue Oct 09, 2012 3:55 pm

Re: Multiple Blue&White 16x2 LCD+Keypad Kit for Raspberry Pi?

Post by voc »

Thanks Bill!.

I'll heat up my Weller in a few hours when i'm back home :D

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”