VOGONS


Reply 320 of 381, by matze79

User metadata
Rank l33t
Rank
l33t

Not currently, i already have a new version.. but no time 😒

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 321 of 381, by Rio444

User metadata
Rank Member
Rank
Member

Dear matze79,
Let me give you some tips on the hardware and software of the converter, based on my personal experience. They will significantly improve compatibility with PS/2 mice.
First, I would recommend adding a controller pairing circuit with a mouse.
PS2.gif
It will be better to disconnect the internal pull-up resistors. They are too large. And you need to connect external, resistances of about 2k.
Also, to reduce noise, I recommend to put filter capacitors with a capacity of 150-470pF. I usually put 220pF.
Ferrite beads are optional, but desirable. They significantly reduce high-frequency noise and prevent self-excitation.

Secondly, there are small software tricks when interacting with the PS/2 mouse. When reading data from the mouse, when the Clock signal drops, it is necessary not to immediately read the Data signal, but to make a pause of 3-5 μS.
After turning on the power, do not start immediately initialize the mouse. Wait for about 1 second to make it work.
Thanks to the use of these actions, I don't have a single mouse that don't work. There are eight of them including modern USB mice through the adapter.

My e-mail Email.1569054222.png

Reply 322 of 381, by feipoa

User metadata
Rank l33t++
Rank
l33t++

Rio444, do you have any tips for making 1200 baud work without lag thru a KVM using the serial-to-PS/2 conversion scheme?

Plan your life wisely, you'll be dead before you know it.

Reply 323 of 381, by Rio444

User metadata
Rank Member
Rank
Member
feipoa wrote:

Rio444, do you have any tips for making 1200 baud work without lag thru a KVM using the serial-to-PS/2 conversion scheme?

Unfortunately this is not possible.
At 1200 baud, always there will be delay and conversion errors. After all, in addition to the lower speed RS232, the data for each interface is not synchronized.
But there is good news.
A chain of Mouse -> Converter -> KVM -> Driver -> Application program is involved in the process. Each element of this chain introduces its delay. You will probably be surprised, but different PS/2 mice introduce a different delay. It can be almost invisible when the mouse connected to a real PS/2 interface. But, adding to others in the chain described above, already has an effect. The same applies to the driver and application program that uses the mouse. In my experience, the “slowest” program turned out to be the DOS game “Lines” (or “Balls”). Thus, the selection of the mouse and driver can give some effect.
Another news that you may be happy about is that for my serial to PS/2 converter I used a very advanced data decoding algorithm. Two buffers are used: for the X coordinate and Y coordinate, as is usually done. But the calculation of transmitted data to the serial port is made immediately before the transfer of each byte and not before transferring the whole packet of 3 bytes, as is usually done. This allows us to get time. It's most significantly for the 3rd byte which transmittes Y coordinate. When I finish with the ISA adapter, I could try to adapt my firmware for the matze79 converter.

My e-mail Email.1569054222.png

Reply 324 of 381, by feipoa

User metadata
Rank l33t++
Rank
l33t++

I tried a few PS/2 mice with the matze79 converter + KVM, but there is still too much lag when the KVM is used. There is no noticable lag without the KVM.

I would be happy to test a prototype of your own design or an altered firmware for the matze79 adapter. I still have my Arduino setup as shown on the previous page of this thread.

Plan your life wisely, you'll be dead before you know it.

Reply 325 of 381, by matze79

User metadata
Rank l33t
Rank
l33t

As i already wrote i have best experience with Logitech SBF96 Mouse.

It would be much easier to hack a driver for 9x which supports higher baudrates.

i will try the recommendations.
i run my adapter of first gen now since 2015 and it runs reliable.
Had no problems at all, except for kvm which is now solved (at least in msdos) for me.
Thanks to 19200 Baud Hack.
Also got it working in ReactOS now.
When i find some time i will try it on NT4/2k/XP.

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 326 of 381, by tabm0de

User metadata
Rank Member
Rank
Member
matze79 wrote:

Logitech C7 has arrived.

So we can now investigate 9k6 Baudmode

If intressing:
http://www.bitsavers.org/pdf/logitech/Logitec … v_3.0_Jan86.pdf

there are settings for "jumpers" well jumper does not exist so you have to brake and soldier points 😉

Jumpers 0, 1 and 2 specify the format and mode at power-up as follows:
1 1 1 Microsoft compatible protocol, Incremental Stream

Jumpers 3 and 4 specify the baud rate at power-up.
Baud Rate
1200 baud
2400 baud
4800 baud*
9600 baud

i did make my ms compatible but still didnt work in windows 😉 only dos with ms mouse.com/exe

naa, nothing yet...

Reply 327 of 381, by Overlord_Manny

User metadata
Rank Newbie
Rank
Newbie

I actually stumbled across a page referencing the github and didn't realize Matze79 was making these to sell. I built my own board, but having issues with device's response when the RTS goes high when using the 1.0 firmware. Using protocol.com it looks like mouse clicks and movement are detected fine but cutemouse doesn't like the mouse ID response so it won't load. The 1.1 firmware detects my all of my mice (Green Light on) but does not detect movement or mouse clicks (No red light flicker). All I have are Logitech PS/2 mice to test with unfortunately.

Here's what my O-Scopes says using firmware 1.0

PS2-Serial.jpg
Filename
PS2-Serial.jpg
File size
48.32 KiB
Views
2070 views
File license
Fair use/fair dealing exception

2 is receive (to the PC)
1 is transmit (from the PC)
0 is RTS (From the PC)

Matze79 when you have some more of these to sell can you put me on your list?

Edit: I figured out my issue. The original Hack-a-day post I had found said a 90s2313 was used, so that's what I used. I programmed up an attiny2313v with firmware 1.1 and set the configuration bits and all is working well now.

Last edited by Overlord_Manny on 2019-09-17, 16:21. Edited 1 time in total.

Reply 328 of 381, by matze79

User metadata
Rank l33t
Rank
l33t

Do you set right fuse bits ?

i currently have nothing to sell 😒 simply had no time for it.
i was talking with dreamblaster some time ago if he wants to add this to his store as solder kits maybe but it still did not happen 😀

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 329 of 381, by Overlord_Manny

User metadata
Rank Newbie
Rank
Newbie

I got it going. I just edited my post. I think I'm going to rebuild my board to use the 5v line from the keyboard since I'm wanting to convert from 5pin din to 6pin mini-din anyway and I can do it all on one board. Thanks for this project. I'm inspired to make something myself now.

Reply 330 of 381, by matze79

User metadata
Rank l33t
Rank
l33t

Build SMD Version, tested and working, had no crystal laying around so i used internal Oscilator (not recommended if highspeed mode is used).

only have testing pcbs currently 😒

Attachments

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 331 of 381, by matze79

User metadata
Rank l33t
Rank
l33t

Edit: I figured out my issue. The original Hack-a-day post I had found said a 90s2313 was used, so that's what I used. I programmed up an attiny2313v with firmware 1.1 and set the configuration bits and all is working well now.

yeah they simply read it from Schematic, this is because eagle cad has no tiny2313 but 90S2313 part, which is pincombatible.

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 332 of 381, by matze79

User metadata
Rank l33t
Rank
l33t

PCB Update..

2.jpg
Filename
2.jpg
File size
60.89 KiB
Views
1871 views
File license
CC-BY-4.0
1.jpg
Filename
1.jpg
File size
96.87 KiB
Views
1871 views
File license
CC-BY-4.0

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 335 of 381, by matze79

User metadata
Rank l33t
Rank
l33t

Red Chinese PCB -> 2$ jlcpcb 5x Pieces
Green PCB, High Quality -> Manufactured in NL

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 336 of 381, by matze79

User metadata
Rank l33t
Rank
l33t

Try with ROHS Solderpaste and Stencil, the 10uf Capacitor footprint is too big anyway i wanted to keep 1206 pads in case i hand solder.

try3.jpg
Filename
try3.jpg
File size
158.6 KiB
Views
1762 views
File license
CC-BY-4.0
try2.jpg
Filename
try2.jpg
File size
96.94 KiB
Views
1762 views
File license
CC-BY-4.0
try1.jpg
Filename
try1.jpg
File size
179.89 KiB
Views
1762 views
File license
CC-BY-4.0

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 337 of 381, by root42

User metadata
Rank l33t
Rank
l33t

Nice! I like it! Are those Aisler stencil and PCBs?

I like that! I think you can probably sell a bunch of those adapters. I got a bunch of requests when I made a video about the first revision.

YouTube and Bonus
80486DX@33 MHz, 16 MiB RAM, Tseng ET4000 1 MiB, SnarkBarker & GUSar Lite, PC MIDI Card+X2+SC55+MT32, OSSC

Reply 338 of 381, by matze79

User metadata
Rank l33t
Rank
l33t

Yes Stencil and PCBs are from Aisler and excellent quality.

Now its time to try some assembly service, i guess 😀

The best is 19200 Baud Mode is working stable so i have excellent tracking speed even at 1280x1024 operating on KVM.

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 339 of 381, by feipoa

User metadata
Rank l33t++
Rank
l33t++
matze79 wrote on 2020-06-23, 19:15:

The best is 19200 Baud Mode is working stable so i have excellent tracking speed even at 1280x1024 operating on KVM.

Was there any update to 19200 baud mode operation when using W95 or NT?

Plan your life wisely, you'll be dead before you know it.