Search found 8 matches

by mariusvanderwerff
Monday 22 June 2015 22:50
Forum: Show your projects
Topic: LCD (20x4 made in China)
Replies: 69
Views: 32718

Re: LCD (20x4 made in China)

Alright,

insert the python code made by pepijn, all I see is two white lines,

question:

# Configuratie
cfgDomoticzHost = ""
cfgSpeed = 4

what to enter by cfgDomoticzHost ? just the IP adres or Ipadres:8080?

Regards
by mariusvanderwerff
Sunday 21 June 2015 1:28
Forum: Show your projects
Topic: LCD (20x4 made in China)
Replies: 69
Views: 32718

Re: LCD (20x4 made in China)

MikeF you are the man !!!!! :lol:

Works fine now seeing hello world, now let's use the right script....
by mariusvanderwerff
Friday 19 June 2015 1:03
Forum: Show your projects
Topic: LCD (20x4 made in China)
Replies: 69
Views: 32718

Re: LCD (20x4 made in China)

Jep just blue....

Regards
by mariusvanderwerff
Friday 19 June 2015 0:36
Forum: Show your projects
Topic: LCD (20x4 made in China)
Replies: 69
Views: 32718

Re: LCD (20x4 made in China)

Hi pepijn,

here's my py script:

from lcd_display import lcd

my_lcd = lcd()
my_lcd.display_string("Hello World", 1)

lcd.py:

import i2c_lib
from time import sleep

# LCD Address
ADDRESS = 0x27

# commands
LCD_CLEARDISPLAY = 0x01
LCD_RETURNHOME = 0x02
LCD_ENTRYMODESET = 0x04
LCD_DISPLAYCONTROL ...
by mariusvanderwerff
Wednesday 17 June 2015 23:32
Forum: Show your projects
Topic: LCD (20x4 made in China)
Replies: 69
Views: 32718

Re: LCD (20x4 made in China)

Hi there,

I have checked my wiring, changing then causes me an error, so the wiring is correct.

Maybe my lcd is different....

I tried the standard settings and also your script...

regards...
by mariusvanderwerff
Monday 15 June 2015 23:32
Forum: Show your projects
Topic: LCD (20x4 made in China)
Replies: 69
Views: 32718

Re: LCD (20x4 made in China)

Hi u01pei,

the address is correct:
pi@raspberrypi ~/domoticz/scripts/lcd $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- --
30 ...
by mariusvanderwerff
Monday 15 June 2015 23:01
Forum: Show your projects
Topic: LCD (20x4 made in China)
Replies: 69
Views: 32718

Re: LCD (20x4 made in China)

Hi u01pei,

thnx for the reply,

did everything but got only a nice blue screen,

from lcd_display import lcd

my_lcd = lcd()
my_lcd.display_string("Hello World", 1)
my_lcd.display_string("YwRobot LCM1602 IIC V1 display", 2)
my_lcd.display_string("aan de Raspberry Pi", 3)
my_lcd.display_string("via ...
by mariusvanderwerff
Monday 15 June 2015 15:51
Forum: Show your projects
Topic: LCD (20x4 made in China)
Replies: 69
Views: 32718

Re: LCD (20x4 made in China)

Hi there,

I'm a noob in this, can you tell me how to install the scripts on my Pi?

Regards, Marius