Page 1 of 1

A variation on a couple of themes

Posted: Sat Dec 28, 2019 2:21 am
by jpnz
Hope you are all enjoying the festive period - I'm off work for a while and have revisited a couple of earlier topics...

Noisy serial communications and animated load time bar charts

What would happen if the two were combined? Something a bit like this (clip is trimmed for brevity) :

https://youtu.be/Qtn5dXGnD-E

Credit to George Beckett for the inspiration and sample code

Here's a binary you can play with if you have Spectaculator - redirect IF1 RS-232 input from this file, FORMAT a baud rate and then LOAD *"b"

Re: A variation on a couple of themes

Posted: Sat Jan 04, 2020 2:46 am
by jpnz
Let's make this a bit more colourful and much NOISIER!

https://youtu.be/sw6TvQECYTU

Here's another binary image to play with

Re: A variation on a couple of themes

Posted: Sat Jan 18, 2020 10:06 pm
by jpnz
Found a cool side effect of emulation - you can drive the [virtual] IF1 serial port faster than 19200 baud

The manual describes the system variable BAUD:
Two byte number determining the baud rate calculated as follows:
BAUD=(3500000/(26*baud rate))-2
You can use this to set up non-standard baud rates

The baud rate can be set at ~22435:
https://youtu.be/odRwRc4IWXM


And at ~26923:
https://youtu.be/RWW3OlN8wMQ

Tested with Spectaculator and this image

This isn't going to work with real hardware, all that handshaking and buffering etc :lol:

Re: A variation on a couple of themes

Posted: Sat Feb 15, 2020 3:43 am
by jpnz
It seems that the emulated serial port can be set to transmit even faster than ~26923 baud

How about ~33653 and ~48871 baud?

https://youtu.be/6WMXobcKO6s

Receiving at these speeds definitely doesn't work though!

Tested with Spectaculator and EightyOne

Here's the Serial Save utility if interested - press keys 1 (~48871) through to 5 (~19230) to transmit at the selected speed

Re: A variation on a couple of themes

Posted: Sat Feb 15, 2020 4:54 am
by Kweepa
I'm so confused.

Re: A variation on a couple of themes

Posted: Sat Feb 15, 2020 11:11 am
by jpnz
Kweepa wrote: Sat Feb 15, 2020 4:54 amI'm so confused.
About what? - non standard baud rates, or something more specific?

Re: A variation on a couple of themes

Posted: Sat Feb 15, 2020 6:55 pm
by Kweepa
Oh, those are '~' not '-'. :oops: