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

need help and opinion on my 4x20 project...

Discussion about LCD's and other related hardware

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

Post Reply
PeowYong
Posts: 5
Joined: July 20th, 2007, 3:37 pm
Location: Malaysia
Contact:

need help and opinion on my 4x20 project...

Post by PeowYong »

Things i have completed....:
- Got a 4x20 LCD working with LCD Smartie by using parallel port.

Things i planned to do...:
- connect the LCD using USB port
found 2 sources of how to do it:-
http://www.e.kth.se/~pontusf/index2.html
http://forums.bit-tech.net/showthread.php?t=115461

doubts:
-which source is better in term of performance and cost wise?
-how long can the cable be? from the usb port of the com to the USB controller of the LCD?

other ideas:
-Is it possible to connect few LCDs to a Switch and control it through a PC using a LAN/ethernet connection?
-wuts the pros and cons of it?
-What do i need to do that?

Project:
sending data(text) through internet from handphone to the pc and display the data(text) on the LCD


Thanks for your help, comment and suggestions. :D

PeowYong
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

Let take things one by one :D
-which source is better in term of performance and cost wise?
About cost: It depends on your equipment (programmer for uC). You need to program an AVR or PIC uC in each case. The peripheral components are low cost.You have to think about the uC
About performance: both projects supported by LCD Smartie drivers (according the authors) so there is no problem.
-how long can the cable be? from the usb port of the com to the USB controller of the LCD?
5 m is the officially maximum length supported by USB ports
http://www.everythingusb.com/forums/sho ... readid=804
-Is it possible to connect few LCDs to a Switch and control it through a PC using a LAN/ethernet connection?
-wuts the pros and cons of it?
-What do i need to do that?
Look here
http://forums.lcdsmartie.org/viewtopic.php?t=794
Project:
sending data(text) through internet from handphone to the pc and display the data(text) on the LCD
Be more specific. Is there any software available for this type of communication? Are you trying to create one?
PeowYong
Posts: 5
Joined: July 20th, 2007, 3:37 pm
Location: Malaysia
Contact:

Post by PeowYong »

thanks for the fast reply.. :D

programming for the uC wouldnt be much problem as theres programmer at my University i m studying..

about using the ethernet connection, i had read through that topic before i posted here.. but it doesnt seem to have sufficient info for me

http://www.harbaum.org/till/ledmatrix is used on the LEDmatrix, not 4x20, thats y i have no idea on how to do it,

as for this link http://picmania.garcia-cuervo.com/Proye ... PICNET.htm , its in spanish, and i dont understand well, so i m having difficulty on knowing the concept and things there..

Besides that, i had also search for more info about the ethernet connection, but unfortunately cant find any useful site..

how do i control the LCD if using the ethernet connection?


about my project, i m using a Java-enabled-phone to run a custom Java program which is able to send data to the internet, and i also had set up a server with my pc. The connectivity part has been done and is able to work now. so my problem is that, if using the ethernet connection, how am i going to control the and things shown on the LCD?

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

Post by _X7JAY7X_ »

The ethernet to serial converter shown on that link uses a program that "forwards" data from the PC directly to the ethernet serial device. It creates a virtual com port that you write data to and it simply sends the data to the ethernet to serial converter and comes out the other end. These are a direct replacement for a standard serial cable and they can be up and running in a matter of minutes. Very simple.

Can you send data directly to the serial port using your program? If so, get a serial LCD and an Ethernet to serial converter. X-Port makes them and so does a few others. Your other option would be to use a linksys or buffalo (just to name a few) router as your ethernet to serial converter. It would probably cost the same but it is bigger in size. Although, with the router method you could use WIFI. Check this out http://www.k9spud.com/whr-g54s/.

Good Luck
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

In http://www.harbaum.org/till/ledmatrix/ there is no ready solution for LCDs but using dot matrix LEDs is more complicated that the LCD so the project is possible. All we need is some with very good knowledge to convert or create code and circuit (I'm not this guy :D)
as for this link http://picmania.garcia-cuervo.com/Proye ... PICNET.htm , its in spanish, and i dont understand well, so i m having difficulty on knowing the concept and things there..
Use this service: http://babelfish.altavista.com/

how do i control the LCD if using the ethernet connection?


about my project, i m using a Java-enabled-phone to run a custom Java program which is able to send data to the internet, and i also had set up a server with my pc. The connectivity part has been done and is able to work now. so my problem is that, if using the ethernet connection, how am i going to control the and things shown on the LCD?
Things are getting difficult :smt012

Since LCD Smartie is not TPC/IP enabled, the only thing is to create lot of actions to control the screens remotely (this is the only tip I can think of) but you won't able to check the active program output. So if the actions setup is incomplete... :shock: .... Think about it :smt102

About the ethernet-to-serial converters there are few solutions...
Look at Lantronix site
http://www.lantronix.com/
http://www.lantronix.com/device-network ... xport.html
And at Moxa site
http://www.moxa.com/
http://www.moxa.com/product/Embedded_Device_Servers.htm
_X7JAY7X_
Hardware Genie - Plugin Author
Posts: 374
Joined: February 16th, 2005, 10:24 pm
Location: Michigan

Post by _X7JAY7X_ »

Limbo, maybe I misunderstood but I think he wants to write directly to the display. No LCD Smartie. That MOXA stuff is nice, but I am seeing money flying out the window. The lantronix X-Port is what I used before.
PeowYong
Posts: 5
Joined: July 20th, 2007, 3:37 pm
Location: Malaysia
Contact:

Post by PeowYong »

The ethernet to serial converter shown on that link uses a program that "forwards" data from the PC directly to the ethernet serial device. It creates a virtual com port that you write data to and it simply sends the data to the ethernet to serial converter and comes out the other end. These are a direct replacement for a standard serial cable and they can be up and running in a matter of minutes. Very simple.

Can you send data directly to the serial port using your program? If so, get a serial LCD and an Ethernet to serial converter. X-Port makes them and so does a few others. Your other option would be to use a linksys or buffalo (just to name a few) router as your ethernet to serial converter. It would probably cost the same but it is bigger in size. Although, with the router method you could use WIFI. Check this out http://www.k9spud.com/whr-g54s/.

i cant send the data directly to the serial port... thats y i m using LCD Smartie... just planning to make few lcds connected and to lengthen the wire if possible....

Since LCD Smartie is not TPC/IP enabled, the only thing is to create lot of actions to control the screens remotely (this is the only tip I can think of) but you won't able to check the active program output. So if the actions setup is incomplete... .... Think about it

About the ethernet-to-serial converters there are few solutions...
Look at Lantronix site
http://www.lantronix.com/
http://www.lantronix.com/device-network ... xport.html
And at Moxa site
http://www.moxa.com/
http://www.moxa.com/product/Embedded_Device_Servers.htm
i dunno how to send the data straight to the LCD, thus, i need the help of LCD Smartie to convert the received data to be displayed on the LCD..

does the ethernet-to-serial converters just work as i m using a parallel port connection?
Limbo, maybe I misunderstood but I think he wants to write directly to the display. No LCD Smartie. That MOXA stuff is nice, but I am seeing money flying out the window. The lantronix X-Port is what I used before.
its better if i dont have to write directly to the display because i dont have any reference to refer and dont have the skill to do it..


The best output of my project is this:
able to send data to the server (this part has been done)...
server send data to different LCD (connected to a switch with each LCD having a specific IP) displaying different data on each LCD (hasnt been done and dunno how to get it done)...

will be trying out the USB connection thingy 1st (limited length of cable), and if the ethernet-to-serial (longer limit of length of cable) can be done and can be used, then will proceed with the ethernet-to-serial thingy...


thanks again[/quote]
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

I have uploaded a diagram for your project (hope its correct).
Lets get things one by one.

:arrow: You have already accomplished the Remote client to server communication, using a custom software.
:arrow: You have to decide which type of converter you have to use for th TCP/IP to RS232 translation unit
:arrow: You need a translation (and control) software to run on the Server in order to display your data to each LCD device.
Questions:
:arrow: ( :?: ) Do you need also to remote control this software through the "Internet" from the remote client? Alter configuration, check the output, do diagnostics.... etc?

does the ethernet-to-serial converters just work as i m using a parallel port connection?
No the "output" of these devices is serial... this means that you can't connect directly an LCD (HD44780 based). You need either a serial enabled LCD (e.g Matrix Orbital) or your custom interface circuit to translate data.
You do not have the required permissions to view the files attached to this post.
Last edited by limbo on August 19th, 2007, 11:49 am, edited 1 time in total.
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

@ _X7JAY7X_ have you tested the Lantronix X-port with LCD device?
_X7JAY7X_
Hardware Genie - Plugin Author
Posts: 374
Joined: February 16th, 2005, 10:24 pm
Location: Michigan

Post by _X7JAY7X_ »

Yes limbo I have.
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

I know... there are many companies with TCP/IP to sesial products.
But I forgot to mention NetBurner http://www.netburner.com/
PeowYong
Posts: 5
Joined: July 20th, 2007, 3:37 pm
Location: Malaysia
Contact:

Post by PeowYong »

-> You have already accomplished the Remote client to server communication, using a custom software.
Yup
->You have to decide which type of converter you have to use for th TCP/IP to RS232 translation unit
um... meaning? i dont think i had decided yet...
->You need a translation (and control) software to run on the Server in order to display your data to each LCD device.
yup
->Do you need also to remote control this software through the "Internet" from the remote client? Alter configuration, check the output, do diagnostics.... etc?
nope.. just send the data, and everything else is done by server, no need to check the out put or diagnose from the remote client (mobile phone)

Image
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

OK you have to find the most economic solution for the TCP/IP converter.

_X7JAY7X_ may help with his knowledge (on lantronix devices).

Since you dont need to remote control the output LCD Smartie is the way to drive your LCDs.
You have to set one instance of LCD Smartie for each LCD module on the server (as the driving software).

The interfacing between your application and the LCD Smartie can be done with custom plugin or reading text files or... any (there are lot of possibilities) :P

Waiting for your comments
jmoss1999
Posts: 13
Joined: September 26th, 2007, 3:52 am
Location: Missouri - USA

Post by jmoss1999 »

would it not be easier to use the cell phone to post news to your server which in theory would be running rss and then your lcds could pull the info from the rss server? maybe make 3 news feeds?
PeowYong
Posts: 5
Joined: July 20th, 2007, 3:37 pm
Location: Malaysia
Contact:

Post by PeowYong »

will be having exam soon.... will continue the project after my exam...
thanks for the comment

will get back to u guys later.. :)
Post Reply