Interfacing

LCD 16x2 Hitachi HD44780 on BPI, cannot display any text

5 1307
rvdns11  
Hi everyone,


I recently bought a LCD 16x2 HD44780 for my Banana Pi. I want to use it to display the Temp of the pi and the current time. My problem, every script i was trying out the last days, no one worked. I have nearly no experience with python or c /c++, so i need help. I attached the pins like it was described in every script. I attach the scripts here.
I can control the contrast via my variabel resistor -->working
background lights -- > working

I hope someone knows the solution for this problem.


Many thanks in advance.


P.S. sry for my bad english :-)

LCD.zip

18.38 KB, Downloads: 19

I assume you followed this tutorial:
https://learn.adafruit.com/drive ... spberry-pi/overview
You should run this on latest Raspbian under sudo command, as recommended here:
http://www.lemaker.org/forum.php ... 92&fromuid=1602


rvdns11  
Sorry for my late answer, the LeMaker site was so slow the last days. I have the latest RB installed, and also did ,,rpi-update". I executed all commands under the user root, and i got outputs like ,,BAPI Rev 2.0" and else. But no text showed up on the LCD. The wiring was correct. I also tried to execute the scripts with the sudo command, but nothing worked. I have the latest wiringpi from the lemaker github for the bananapi and the RB-Image "Raspbian For BananaPi v1412" installed.

cyryllo  
rvdns11 replied at Sun Aug 9, 2015 04:40
Sorry for my late answer, the LeMaker site was so slow the last days. I have the latest RB installed ...

I also have a problem with the LCD. I do not see. I bet some problem in wiringBP. I use Bananian

My code: www.lemaker.org/forum.php?mod=viewthread&tid=17234
I use LN IO module

Last year, I have used wiringPi and RPi.GPIO for Banana Pro version to test the LCD1602 module:
http://www.lemaker.org/forum.php ... &highlight=1602

The only I change in the source code is the pin definition according to my own connections. So please first make sure your connections is right.

Note: The author has been banned or deleted.

You have to log in before you can reply Login | Sign Up

Points Rules