MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
sisoffi
Posts: 91
I am trying for the first time to interface a 16x1 character LCD display.
I tried to see on the net but all the tutorials refer to 16x4 and nobody mentions how the connections to the arduino must be made.
Can someone light me up?

By chance then you can use this type of LCD to read the values of the ADIRU of jeheeel?

Thanks again
2020-09-18 15:39
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

Technical it´s the same. the LCD is connected to the IC2 Port. Same like the 16x4 or 20x4 or 20x2 or any other.
You just need to change the setting when you create the device in Mobiflight. Choose your needed Format !


NOTE: Some 16x1 Displays looks like they work different. I remember to some users who say the controller is different. They could not choose 16x1 ..... They needed to choose 16x2 also In that case the Display use the first 8 diggits of Line 1 and the first 8 Diggits of line 2 to build the 1 line 16 diggits finaly.
Like....
1 2 3 4 5 6 7 8 x x x x x x x x
a b c d e f g h x x x x x x x x
Result in : 1 2 3 4 5 6 7 8 a b c d e f g h on you Display !
Good Luck !
2020-09-18 22:30
Avatar
sisoffi
Posts: 91
thankyou pizman, but before I get to understand how it works for related tests, I really need to figure out which pins are connected. in any tutorial I can find the sequence of pins to connect to the arduino 2560.

thank you very much
2020-09-19 08:08
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Thats wrong.... Nearly every guide ( also the sticky in Mobiflight) explane that fact within the first page.

You need 4 Pins..... +5v and GRD ( like all Motors, Diplays and so on) AND Pin20 (SDA) Pin21 (SCL)
In the Settings you finaly define the "adress" in the IC2 System. this adress is different for each Display and set by the manifactur ( or by Jumpers on the board) .
You must goolge the datasheet of your Display or check a manual e.g. There is written what adress is used.
If you not find it.... Google for a tool that "read" the Adresses. Its like a arduino sketch that check all adresses and report finaly which is in use.
Good Luck !
2020-09-19 09:43
Avatar
sisoffi
Posts: 91
thank you pizman, in fact i had only lcd display, i see it need an i2 interface.
I will try and test,

thanks!
2020-09-19 17:55
icon