Dear MultiWii community,
I bought the following lcd-screen:
http://www.hobbyking.com/hobbyking/store/__37409__Arduino_11C_12C_1602_Blue_Screen_LCD_Module.html
I connected pins for the i2c bus and connected the lcd to it.
Then i uncommented the following lines in config.h:
#define LCD_LCD03
#define LCD_TELEMETRY
#define LCD_TELEMETRY_AUTO "123452679"
Then I compiled the sketch and uploaded it.
Then, when I plug in the battery, the screen lights up, but does not display any text.
Also no text appears when I use the stick combinations to start the auto-telemetry.
I'm probably doing something minor wrong, but I don't have a clue what.
Can somebody help me with this?
Thanks in advance!
Regards,
Roel
connecting i2c lcd screen
Re: connecting i2c lcd screen
UPDATE:
after some searching I found that the lcd is the same as:
http://www.ebay.com/itm/Serial-IIC-I2C-TWI-1602-162-16X2-Character-LCD-Module-Display-For-Arduino-Blue-/180934118867
which has adress 0x27, so I changed the adress in my multiwii-code.
Now, at start-up it displays 0<- indicating that the adress is correct now.
However, when I try to start the telemetry, the screen starts flashing and behaving weirdly.
This leads me to suspect that the multiwii is sending the wrong commands.
Does anyone know how I can fix this?
after some searching I found that the lcd is the same as:
http://www.ebay.com/itm/Serial-IIC-I2C-TWI-1602-162-16X2-Character-LCD-Module-Display-For-Arduino-Blue-/180934118867
which has adress 0x27, so I changed the adress in my multiwii-code.
Now, at start-up it displays 0<- indicating that the adress is correct now.
However, when I try to start the telemetry, the screen starts flashing and behaving weirdly.
This leads me to suspect that the multiwii is sending the wrong commands.
Does anyone know how I can fix this?
-
- Posts: 27
- Joined: Tue Nov 13, 2012 10:02 pm
Re: connecting i2c lcd screen
What makes you sure your lcd is of type lcd.lcd03?
Re: connecting i2c lcd screen
It looked most like the LCD03 and not any other i2c options.
but I'm afraid it uses a different protocol
but I'm afraid it uses a different protocol
Re: connecting i2c lcd screen
I know there exists one chunk of lcds for which no basic support has been coded yet. I had bought one and found the existing library code not easy to carry over to MWii. Then I found the digole type available in small and real big sizes which I prefer.
Your best bet is to go to the vendors site and ask for example and library code. From there identify the type and hope it is already supported. Changing number of lines is simplest problem then.
Your best bet is to go to the vendors site and ask for example and library code. From there identify the type and hope it is already supported. Changing number of lines is simplest problem then.
Re: connecting i2c lcd screen
This HK i2C display is compatible with DFRobot module I2C/TWI LCD1602 Module (SKU: DFR0063) - tested on my piece and with example and library from this link http://www.dfrobot.com/wiki/index.php/I ... U:_DFR0063), it is probably using different command set than LCD03, but I have no clue where to change what in Multiwii code.
Re: connecting i2c lcd screen
If you want to go the easy route then check first which types of displays are supported.