1602 LCD on RPi B+: Difference between revisions

From EnigmaGuy Wiki
Jump to navigation Jump to search
Line 26: Line 26:
#blacklist spi-bcm2708
#blacklist spi-bcm2708
#blacklist i2c-bcm2708
#blacklist i2c-bcm2708
</syntaxhighlight>
* Run following commands and reboot
<syntaxhighlight lang="bash">
sudo adduser pi i2c
reboot
</syntaxhighlight>
</syntaxhighlight>

Revision as of 19:50, 4 October 2014

What will be needed?

  • SaintSmart 1602 backlighted I2C LCD (search E-Bay for "1602 LCD I2C")

1602 LCD I2C

  • MB102 BreadBoard (also available on E-Bay)
  • Raspberry PI GPIO Extension Board v2.2

GPIO board

  • Bi-Directional Module 5V to 3.3V

3.3 to 5V converter

  • Male to Female Dupont wires
  • 140pcs Solderless Breadboard Jumper Cable Wire Kit

Jumper cable kit

Final connection

Final Connection

Software

  • Login to Raspberry Pi B+
  • sudo vi /etc/modules and add following
i2c-dev
  • sudo vi /etc/modprobe.d/raspi-blacklist.conf and comment following
# blacklist spi and i2c by default (many users don't need them)

#blacklist spi-bcm2708
#blacklist i2c-bcm2708
  • Run following commands and reboot
sudo adduser pi i2c
reboot