[Lcdproc] VFD probs
meino.cramer at gmx.de
meino.cramer at gmx.de
Fri Oct 14 12:34:10 UTC 2011
Dave Liquorice <allsorts at howhill.co.uk> [11-10-14 14:00]:
> On Fri, 14 Oct 2011 08:40:55 +0200, meino.cramer at gmx.de wrote:
>
> > I tested all available serial speeds but did not find a way to define
> > the parity and the count of stop bits for the serial communication.
> >
> > The output of the VFD is "correct in a wrong way" so to speak... ;)
> >
> > For example:
> >
> > If one would exspect the text
> > Hello LCDproc
> > Server Start
> >
> > it displays instead:
> > pX55) 5CD$q)c
> > gXqvXq g@!q@
> >
> > It looks like a simple substitution cipher ;)
>
> If you tweak the speed does the garbage change and become random? What you
> have above is very consistent so would indicate that you have the speed and
> number of bits per character correct. Which sort of just leaves incorrect
> parity. Or, unlikely, this device is using an "odd" character set.
>
> --
> Cheers
> Dave.
>
>
Hi Dave,
thank you for your reply! :)
In the meantime I've some more results.
I found a little but very useful pogram (http://www.comptechdoc.org/os/linux/programming/c/linux_pgcserial.html),
which allows to set all parameters (count of databits, count of
stopbits, parity and speed) of a serial port and any charcter typed
than is directly send to the port and this way to the VFD.
When I set 9600 baud, 8 databits, no stopbit, no parity, the charcters
I typed appear on the VFD until a certain count, then the connection
breaks for some reason (may be a control command is needed then, which
I cannot type in directly).
But this shows, that the VFD itsself is ok and chances are that it is
not using a strange "odd" character set.
Unfortunately I can only set the speed with the serialVFD driver and
the serialPOS driver produces real random output on the VFD.
When setting higher speeds in the serialVFD driver, output becomes
more and more real random.
How can I set the serialVFD driver to 9600 8 0 0 ?
Thank you very much in advance for any help!
Cheers
mcc
More information about the LCDproc
mailing list