ZXPand+ serial communications other than 38400?

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
tdg8934
Posts: 304
Joined: Mon Sep 23, 2013 6:10 pm

ZXPand+ serial communications other than 38400?

Post by tdg8934 »

When I get my new ZXPand+ I was thinking of interfacing the TTL serial connections to an old Parallax LCD display I have. However, I noticed the LCD has set switches for 2400, 9600 and 19200 baud rates.

Is it possible to use the ZXPand+ with one of these baud rates like 19200?
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: ZXPand+ serial communications other than 38400?

Post by sirmorris »

Absolutely. Features arrive as required - I was planning on setting the baud rate on the appropriate command.

I'll look into this for you.
C
tdg8934
Posts: 304
Joined: Mon Sep 23, 2013 6:10 pm

Re: ZXPand+ serial communications other than 38400?

Post by tdg8934 »

Excellent! Thanks Charlie. Looking forward to seeing this usage in the next wiki manual version update also.

Quite impressive updates over the ZXPand Classic. Now...I have to look for an IDC10 cable I have somewhere and breakout into a solderless breadboard. I would also like to play with the Joystick function too. Any example coding using the bits and INKEY$ as stated in the manual? Nice features to demo at the festival in September.

Thanks again!
Tim
User avatar
1024MAK
Posts: 5130
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: ZXPand+ serial communications other than 38400?

Post by 1024MAK »

How to use the joystick has been talked about before. I can't remember which thread, so try searching for "joystick" on this forum ;)

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
tdg8934
Posts: 304
Joined: Mon Sep 23, 2013 6:10 pm

Re: ZXPand+ serial communications other than 38400?

Post by tdg8934 »

Charlie,

I have these items coming to interface to the ZXPand+ IDC 10 connector:
(Gravitech)
DB9 Male Breakout Board DB9M-TERM 1 7.99
10-PIN Male Header 10MH-TERM 1 6.99
Breakout Board

(Adafruit)
1 x 10-pin IDC Socket Rainbow Breakout Cable[ID:1199] = $3.95
1 x 10-pin Socket/Socket IDC cable - 6"[ID:370] = $2.00
1 x 10-pin 2x5 Socket-Socket 1.27mm IDC (SWD) Cable - 150mm long[ID:1675] =
$2.95

I hope to interface to the ZXPand+ to display Atari/C64 type Joystick information and other info as a test to a Parallax LCD serial display (Bauds 2400, 9600, 19200). Do you think the serial command will be updated soon to support other bauds besides 38400?

I tracked my ZXPand+ to New York City and then hopefully to Chicago, Illinois area next.

Thanks - Tim
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: ZXPand+ serial communications other than 38400?

Post by sirmorris »

I have updated the firmware to include baud rate setting! I haven't updated the documentation yet but I probably will have before your board arrives.

tl;dr: ZXPAND "OPE SER [baud]"

baud may be anything from 2400 to 38400. I could go faster with a further update to the code but I thought I'd see how we get on with this :D

You will want to update your firmware soon after arrival. It's a trivial process described in the docs. V >= 1.08 has the baud rate code fitted.
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: ZXPand+ serial communications other than 38400?

Post by sirmorris »

That's a good range of adapter cables you got - they should just about do anything you could need to do. You've seen the pin-out information in the documentation yes? If you think it could be improved any please speak up - I'm so used to the subject that I might lose sight of what is important or omit details that I forget because I think they're obvious.

I can't wait to see what emerges here!
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: ZXPand+ serial communications other than 38400?

Post by Andy Rea »

Nice one Mr C

This nutter approves

Regards
what's that Smell.... smells like fresh flux and solder fumes...
tdg8934
Posts: 304
Joined: Mon Sep 23, 2013 6:10 pm

Re: ZXPand+ serial communications other than 38400?

Post by tdg8934 »

Thank you Charlie!
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: ZXPand+ serial communications other than 38400?

Post by sirmorris »

My pleasure.
Post Reply