kb93
Posts: 6
Joined: Thu Jul 28, 2016 10:31 am

Re: Sainsmart 16x2 I2C lcd

Fri Nov 11, 2016 9:56 pm

Thank you for your response!
Unfortunately nothing has changed with my problem.

Code: Select all

[email protected]:~/lcd $ python lcd_print.py --init --debug -x test1 -y test2
*******************
Doing initialization...
*******************
1=>test1
2=>test2
*******************
And on LCD still one row with 16 rectangles. :(

User avatar
dentex
Posts: 180
Joined: Sun May 20, 2012 7:58 am
Location: Italy
Contact: Website

Re: Sainsmart 16x2 I2C lcd

Fri Nov 11, 2016 11:33 pm

kb93 wrote:Thank you for your response!
Unfortunately nothing has changed with my problem.

Code: Select all

[email protected]:~/lcd $ python lcd_print.py --init --debug -x test1 -y test2
*******************
Doing initialization...
*******************
1=>test1
2=>test2
*******************
And on LCD still one row with 16 rectangles. :(
Did you already carefully check all connections between the IC and it's PCB? On a LCD I have I was going crazy until I realized that I had a pin poorly soldered (one tiny leg of the PCF8574T wasn't touching the PCB).
One of my projects with the Raspberry Pi:
--------------------------------------------------------
(Raspberry) Pi Aquarium Controller: https://github.com/dentex/piac

kb93
Posts: 6
Joined: Thu Jul 28, 2016 10:31 am

Re: Sainsmart 16x2 I2C lcd

Sat Nov 12, 2016 8:35 am

Thank you.
I will check today how it looks on my PCB.
I am really tired with this PCB. In case of wiring ans scripting I am lame, hope I will manage to solve my issue.
The goal is to set up HD44780 to display network information from OpenWRT. I have to use i2c instead of pure RPi gpio because i2c is better supported in OpenWRT.
When I try to use GPIO and RPi.GPIO module for Python on OpenWRT I am getting "no access to /dev/mem" error. And /dev/mem just do not exist in OpenWRT.

The fastet solution is to buy LCD2USB but it does not make sense to use it when you have 26 GPIO on the RPi and only two USB ports. I have first RPi so one USB is used for WiFi card and second one for 3G connection.

Could you tell me where you bought your i2c PCB? Maybe I will buy another one which will be eventually working.

Return to “Interfacing (DSI, CSI, I2C, etc.)”