> On 3/16/07, James Newtons Massmind <
EraseMEjamesnewtonspam_OUT
TakeThisOuTmassmind.org> wrote:
> > If you were going to put a little microcontroller (like a PIC) and a small
> > LCD display in a serial cable, what sort of information would you want the
> > LCD to display?
> >
> > We are talking like 8 characters here, not a 4x20. It might even be an LED.
>
> The following sentence rolling : "buy a scope"
> :)
>
> >
> > But as long as the PIC has to be there anyway, why not have it do something
> > interesting?
> >
> > Here are my initial ideas:
> > - Auto detected baud rate. It might not always be totally accurate
>
> Than it has nonsense. Imagine a voltmeter which sometime is not
> displaying the real voltage...
> :(
>
> , but it
> > would be nice to have a sanity check on the data being sent... "Did this
> > thing not get set to 9600?" "Oh, it's sending at 19.2... No wonder we are
> > just seeing garbage"
> >
> > - Parity. If it appears that there is a valid Parity in the stream after
> > some number of bytes, put an "E" or "O" on the display or light an LED next
> > to a printed "P" green for Even, red for Odd.
> >
> > - Stop bits?
>
> The stop bits are not necessary. A communication set in one end for 2
> stop bits will usually work as well with 1 or 1.5 stop bits in the
> other end...
>
> >
> > - Last character through the cable at the auto detected rate?
> >
> > - "+DTR", "-CTS" etc... For 1 second after the signal asserts or is
> > released.
>
>
> >
> > - Blank display 2 seconds after the last signal goes through.
>
> Maybe else than a blank display, like "***"
>
> >
> > So if you were connected to a device that was sending a string at 9600E81
> > and your buffer filled up you might see the following in sequence:
> >
> > "9600", "9600E81", "XOFF", "XON", "9600", " "
> >
> > What would you want to see, or think it would be possible to add?
>
> Unusefull things for commercial purposes ?
> like: this device is displaying everything about an RS232 communication...
> :)
>
> geetings,
> Vasile
>