Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

2x 2x16 on one port

Discussion about LCD's and other related hardware

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351, hydrolisk1792

Post Reply
fatboy11
Posts: 12
Joined: June 21st, 2006, 6:37 pm

2x 2x16 on one port

Post by fatboy11 »

I have had an idea but not sure if it would really work so i would like your opoinions :D

if i connected another 2x16 lcd up to the same data pins as i have on the first one and connect the enable line of the second one up to another data line on the port and set lcd smartie to use a 4x16 LCD would it use the first LCD as lines 1 and 2 and the second one as lines 3 and 4 ?

if so can someone please advise the pins to connect the two enable lines to make it work with smartie.

would be cool if that worked 8)
what do you guys think ?

_X7JAY7X_
Hardware Genie - Plugin Author
Posts: 374
Joined: February 16th, 2005, 10:24 pm
Location: Michigan

Post by _X7JAY7X_ »

It would be the same thing as a 4x40 display since it also has two controller chips. I do not have a schematic handy but I will look for one.

J

fatboy11
Posts: 12
Joined: June 21st, 2006, 6:37 pm

Post by fatboy11 »

cool :lol: i will be trying this then :shock:.

i have just done a quick search and fount a few diffrent ways of it being connected. one of them uses pin 9 as an E2 (in use as D2) and the other one uses pin 17 (witch i already have in use as a software backlight control IIRC. been a long time since i made it) :evil:
so if you could post a 4x40 schematic that has been tested with lcd smartie i'm sure i could adapt it acordingly :lol:

mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

There's a (rather crummy) schematic for 4x40 LCDs on the Smartie circuits page - second one down.

You'll need to set Smartie to use a 4x40 display, but make sure that all your screens only have up to 16 characters on each line. If any of them go over 16 characters, some strange scrolling will happen on your 16-character wide displays...

fatboy11
Posts: 12
Joined: June 21st, 2006, 6:37 pm

Post by fatboy11 »

thanks for the info :D
Speaking of crummy diagrams :
Image

This is what i plan to do. i don't understand why i need to set smartie to use a 4x20 display ??. does a 4x16 only have one controller or am i missing somthing else.
i will try this as soon as i get my hands on another 2x16 :lol:
also, will this affect the framerates at all ? (i dont think it should and if it does prob not enough to worry about)
Also pin 17 is now connected to register select. i was using this as a software controlled backlight via a transistor. Is there a alternate setting that will allow me to use another pin. or does the software controlled backlight have to go ?
EDIT : just checked port pinouts and it dosent look good for my software backlight :-< oh well 8)

_X7JAY7X_
Hardware Genie - Plugin Author
Posts: 374
Joined: February 16th, 2005, 10:24 pm
Location: Michigan

Post by _X7JAY7X_ »

You need to set smartie to use 4x40. Otherwise it will think there is only one controller. But you cannot go over 16 characters per line because that is the actual size of your display. If you do (like mattcro said) it will do very strange things.

J

fatboy11
Posts: 12
Joined: June 21st, 2006, 6:37 pm

Post by fatboy11 »

ok, thanks for clarifing. i will try this as soon as i get another display.
that just leaves one thing , the software backlight.
am i right in thinking that i will not be able to use it anymore ?
that would be a shame because what else am i going to use the display button on my xbox remote for lol.
thanks for all your help guys 8)

shaggerz
Posts: 2
Joined: October 31st, 2006, 11:29 am

Post by shaggerz »

hey guys... I have a box of something like 50 of these 2x16 HD44780 displays at work so I thought I would try the 2 displays on one port thing. Did you ever get this working properly?? I have wired mine up as in the modified wiring diagram posted above, but LCDsmartie wont enable the second display!

MPXPLAY will happily talk to either display seperately but won't talk to both at once. (I swapped the enable control bits and each display worked seperately but the other remained blank)

What is the deal here???

_X7JAY7X_
Hardware Genie - Plugin Author
Posts: 374
Joined: February 16th, 2005, 10:24 pm
Location: Michigan

Post by _X7JAY7X_ »

Shaggerz, what schematic are you using? Do you have Smartie set to 4x40?

J

shaggerz
Posts: 2
Joined: October 31st, 2006, 11:29 am

Post by shaggerz »

I am using same schematic as posted by fatboy11 with all pins on the second display connected in parallel to the first except for the enable pins. The enable pin on the second display is connected to parallel port pin 17. I have tried setting 4x40 display

I am sure this is a software thing because both displays will enable and display text seperately from each other quite happily when the correct enable pins are specified in mpxplay, but only one works in lcdsmartie...

The weird thing is that in playing around with millions of different software things at once, I pressed some buttons in the right order or something and both displays started working perfectly with lcdsmartie!! I closed all related programs and when I started lcdsmartie again it was back to not working...

Can a developer confirm that smartie outputs the correct enable signal on pin 17 when 4x40 display is connected? (or 4x16 for that matter... that would be even better!)

pasan
Posts: 54
Joined: March 13th, 2007, 11:52 am
Location: Sri Lanka

Post by pasan »

Hey if I connect two of 2x16 LCDs, Is it work like one 4x16 LCD or separate two LCDs?

If it work like separate LCD how do i select them using smartie?

Post Reply