LCD display and buttons in Python (tutorial and code)

Raspberry Pi related support

Re: LCD display and buttons in Python (tutorial and code)

Postby cceda » 27 Mar 2016, 19:26

Hi to all,
I have
RuneOs: 0.3-beta
RuneUI: 1.3-beta
Hw-env: RaspberryPi 2

is it possible to find somewhere full AUTO INSTALL - setup for i2s LCD 4 wire.
I use this connection with lcd
http://buzzthisnow.com/wp-content/uploa ... -2-i2c.jpg
but withouth sucess. :(
please help with some full setup manual. :shock:

thx. in advance,,

p.s.
I can locate LCD but the rest is not good!
[root@runeaudio ~]# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3f
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
cceda
 
Posts: 4
Joined: 28 Dec 2014, 12:58

Re: LCD display and buttons in Python (tutorial and code)

Postby zzeromin » 28 Mar 2016, 02:39

zzeromin
 
Posts: 7
Joined: 22 Jan 2016, 00:39
Location: South Korea

Re: LCD display and buttons in Python (tutorial and code)

Postby XploD » 30 Mar 2016, 20:07

Music taste:
Audio source: Raspberry Pi 2 + Sabre ES9023 DAC + WD 500 GB HDD + TP-Link TL-WN722N Wi-Fi + D-LINK Dub H7 USB hub
Hi-Fi:
Mixer: Nady Audio MM-242
Misc: Tube Stereo Vumeter (Magic Eye)
User avatar
XploD
 
Posts: 77
Joined: 24 Mar 2015, 18:32
Location: Croatia

Re: LCD display and buttons in Python (tutorial and code)

Postby cceda » 10 Apr 2016, 20:51

Hi to all again,
sorry for late response...

my status now is like this
RuneOs: 0.3-beta
RuneUI: 1.3-beta
Hw-env: RaspberryPi 2

[root@runeaudio ~]# systemctl start runelcd.service
[root@runeaudio ~]# systemctl enable runelcd.service
[root@runeaudio ~]# systemctl status -l runelcd.service

* runelcd.service - Runeaudio_I2C_LCD service
Loaded: loaded (/usr/lib/systemd/system/runelcd.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Sun 2016-04-10 21:52:15 CEST; 22s ago
Main PID: 978 (code=exited, status=2)

please give me advice how to fix this message " Active: failed (Result: start-limit)" :(


[root@runeaudio ~]# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- 38 -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

text on display still not working..
thanks in advance,
cceda
 
Posts: 4
Joined: 28 Dec 2014, 12:58

Re: LCD display and buttons in Python (tutorial and code)

Postby cceda » 11 Apr 2016, 19:16

Hi to all again,
sorry for late response...

my status now is like this
RuneOs: 0.3-beta
RuneUI: 1.3-beta
Hw-env: RaspberryPi 2

when I finish all steps... I got this

[root@runeaudio ~]# systemctl start runelcd.service
[root@runeaudio ~]# systemctl enable runelcd.service
[root@runeaudio ~]# systemctl status -l runelcd.service

* runelcd.service - Runeaudio_I2C_LCD service
Loaded: loaded (/usr/lib/systemd/system/runelcd.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Sun 2016-04-10 21:52:15 CEST; 22s ago
Main PID: 978 (code=exited, status=2)

please give me advice how to fix this message " Active: failed (Result: start-limit)" :(


[root@runeaudio ~]# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- 38 -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

text on display still not working..
thanks in advance,
cceda
 
Posts: 4
Joined: 28 Dec 2014, 12:58

Re: LCD display and buttons in Python (tutorial and code)

Postby jeroenrood » 17 May 2016, 10:03

jeroenrood
 
Posts: 15
Joined: 06 Nov 2015, 14:45

Re: LCD display and buttons in Python (tutorial and code)

Postby TheOldMan » 02 Jun 2016, 03:00

Hi All,
I have a RP3 and 16x2 LCD, and I don't have I2C LCD module and the buttons.
I've wired, installed driver,... So I can write a script to show text message on LCD.

Can you help me, guide me to write script to show title of curent song, timeline progress, ....

Many thanks in advance.

TOM
TheOldMan
 
Posts: 6
Joined: 15 May 2016, 10:25

Re: LCD display and buttons in Python (tutorial and code)

Postby janus » 18 Jun 2016, 17:35

janus
 
Posts: 2
Joined: 18 Jun 2016, 15:15

Re: LCD display and buttons in Python (tutorial and code)

Postby TheOldMan » 19 Jun 2016, 16:58

TheOldMan
 
Posts: 6
Joined: 15 May 2016, 10:25

Re: LCD display and buttons in Python (tutorial and code)

Postby hana » 21 Jun 2016, 07:55

Hi everybody,
I am a fan of runeaudio at all. now I am trying to little upgrade my install with LCD display, but without success...
I actually have RPI2 model B and rune 0.4 (also tried 0.3 with same results), here is the paste http://pastebin.com/0asq4ezM
I have adafruit 1115 LCD (I2C, adress 0x20)
I installedd python and GCC, install libtraries, and Xplode last version code
when i run demo file from Adafruit library LCD runs like a charm, all buttons is working and LCD too
but when I try to start Xplod. start.py (I modify the adress to 0X20 and disable the butttons), LCD did not work at all
do you have an idea where can be a problem?
I2C must be enabled, because demo file is working.

thank you for your help
or please let me know about some display 4x20 with buttons which actually works.

This thread is a little long and a lot of versions is in, so it is hard to choose the right parts

thx
hana
 
Posts: 2
Joined: 21 Jun 2016, 07:42

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 25 guests