Serial LCD
Hi,
I am trying to control a serial lcd(16x2) connected to my usb port. When I use the command echo "hi" > /dev/ttyUSB0 then nothing is displayed on LCD. But then i used screen /dev/ttyUSB0 and then type something and exit. Then again i run the command echo "hi" > /dev/ttyUSB0 then hi was displayed on the screen perfectly. Can anyone explain the reason for this and how to overcome this problem of display without using screen command and just use echo command every time i restart my computer. |
If there is no screen command, you need to open multiple ssh session with remote host.
Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). The same way tabbed browsing revolutionized the web experience, GNU Screen can do the same for your experience in the command line. Instead of opening up several terminal instances on your desktop or using those ugly GNOME/KDE-based tabs, Screen can do it better and simpler. Not only that, with GNU Screen, you can share sessions with others and detach/attach terminal sessions. It is a great tool for people who have to share working environments between work and home. By adding a status bar to your screen environment, you are able to name your shell instances on the fly or via a configuration file called .screenrc that can be created on the user’s home directory. A Guide to GNU Screen |
You can also open the screen with the correct baud rate:
an example: Code:
# screen /dev/ttyUSB0 115200 Code:
# screen /dev/ttyUSB0 115200,ctsrts |
I'm sorry I have no answers for this but I am interested in what this device is.
Is this something being used in an embedded system or is it possible to add a USB LCD to a desktop machine? I can think of a few fun uses for something like this, and a few good uses if/when I finally get a Raspberry Pi. |
It is possible to add a USB LCD to a desktop machine also.
|
Quote:
I did google but I'm not 100% sure what to search for to find an LCD I can send characters to through USB, I'm actually surprised it's as easy as the original post sugests. |
I think most of the LCDs support connecting with USB. You can refine your search on google.
|
Quote:
|
Quote:
|
Quote:
|
Thanks, sounds like a useful little device.
|
All times are GMT -5. The time now is 11:25 PM. |