question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BPI LCD 1602 display module

See original GitHub issue

I’ve just acquired the BPI LCD 1602 display module but I can’t get it to work correctly

I have an Raspberry PI B rev 2

For that I used the following code

from RPLCD.i2c import CharLCD

lcd = CharLCD(i2c_expander='MCP23017', expander_params={'gpio_bank': 'B'}, address=0x20, port=1, cols=16, rows=2, charmap='A02')
lcd.clear()
lcd.home()
lcd.cursor_mode = 'blink'
lcd.write_string('Hello World')

Is there any hints how to get this module to work?

With this code I get the following result Imagem

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
PedroCavaleirocommented, Feb 12, 2021

@PedroCavaleiro did you happen to solve this issue? I have a very similar LCD using the MCP23017 but with a red PCB and “Designed for RPI”

I get the same result as you with the blinking cursor.

Yes, l managed to get the LCD and buttons working, I will send the code as soon as I can

0reactions
dbrgncommented, Feb 12, 2021

@PedroCavaleiro good to hear that you could resolve your issue! I assume it was not a problem with RPLCD?

I’ll close this issue for now. Feel free to leave a comment how you solved it, or whether it was a problem related to RPLCD.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BPI LCD 1602 display module - Banana Pi Wiki
The module with 1602 LCD screen and it communicated with Banana Pi with I2C. In addition there are six programmable key and RGB...
Read more >
GeeekPi 2-Pack I2C 1602 LCD Display Module 16X2 ...
GeeekPi 2-Pack I2C 1602 LCD Display Module 16X2 Character Serial Blue Backlight LCD Module for Raspberry Pi Arduino STM32 DIY Maker Project Nanopi...
Read more >
Bpi Lcd 16*2 Display Module For Banana Pi Board
BPI -LCD 16*2 display module for Banana Pi Board · 1602 LCD screen · RGB LED on board · 6 programmable single key...
Read more >
banan pi BPI-M3 BPI 1602 LCD display module and how to use
banan pi BPI -M3 BPI 1602 LCD display module and how to usehttp://www.banana-pi.org.
Read more >
BPI-LCD1602 DISPLAY MODULE - Banana Pi - Varia-Store
BPI -LCD1602 DISPLAY MODULE - Banana Pi - Display Module - The RGB1602 display module is specifically designed for the Banana Pi. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found