Now that I have 2 working Vics I am going to try the above User port cable build out. Is the wiring schema above correct and safe?mimmosic wrote: ↑Fri Jul 05, 2019 9:10 am Building the connection cable is easy.
1. get a normal stereo audio cable (two lines plus the ground) and two connectors for the RS232 port.
2. Mark each connector with a label "TOP SIDE" just to avoid confusion later
3. Solder the ground of the cable to the A pin of both connectors.
4. Connector 1: Solder pins B and C together to red cable, Solder pin M to white cable
5. Connector 2, do the opposite: Solder pins B and C together to WHITE cable, Solder pin M to RED cable
Connect to VICs, turn them on, test.
Below the schematics of the VICs user port. Pins B and C are CB1/PB0 (input), M pins is CB2 (output)
Next, I'll be posting the photos of my cable's finished connectors. I tested the above with a 50m+ cable and worked great.
After seeing it working on real VICs, you will want to test it on emulators like I do!
Why are pins B and C jumpered? Is it so that an interrupt is raised when data is received along PB0?
I haven't looked at mimmosic's code yet, but I'm guessing that CB2 will be set to HANDSHAKE OUTPUT MODE for this to work?
I have a cable with four cores, do I need pin N as a second ground connection? Does it matter if I connect both ground pins?
I'm going to use some spade terminals on the User port edge connector pins to make the cable re-configurable to start with.
Thanks in advance for your kind responses.