DIY PS2(USB) Standard mouse adaptor

Nagging hardware related question? Post here!
techy
Gold Card
Posts: 255
Joined: Thu Sep 06, 2012 6:13 pm
Location: belgium

Re: DIY PS2(USB) Standard mouse adaptor

Post by techy »

Sorry for the delay :-)

Yes , the interface is working ,

What i have changed since .......

7805 1 amp regulator , which is mounted on the copperside of the pcb .

The usb mouse must be "compatible" , i could not get the microsoft one to initialize properly , so after some testing a logitech M-BJ69 worked everytime i switched on the QL.


And not forget , it is not plug and play ofcourse .



techy
Attachments
m_IMG_3348.jpg


Zx80-1/3k exp.-zx81-16k exp.- Spectrum 48 - Spectrum+ -Spectrum 128- Interface 1 - DIVide - Zx flashcard- Zx printer - Ram turbo - Velleman interface system - Currah microspeech - Ql - Miracle 512k exp.- Ql printer - Cst Qdisk interf.- Qubide - Double 3.5 floppy- Minerva - Ice 1.9 - Ql Usb mouse adapter - Qimi-and much more .
tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: DIY PS2(USB) Standard mouse adaptor

Post by tcat »

Hi All,

I would like to follow in the discussion as I am also interested in building this interface. I have studied the design, I'd like to ask as to which voltage regulator best to use.

Original design has 78L05, 5V, 100mA.
PIC is low consumption 2mA, multiplexers 4066 take micro Amps each, and mouse itself some 20 mA depending on the make.
Total current drawn by the circuitry is as I believe max. 20-30mA.

In terms of current 78L05 with 100mA should be enough, but how about dropout voltage, the data sheet says 1.7V

Does this mean the regulator has to be input with a voltage at least by 1.7V higher than the nominal output voltage 5V, correct?
But it is meant to be powered from the ROM port pin VCC 5V.

Please can anybody explain?

Many thanks

Tomas


User avatar
1024MAK
Super Gold Card
Posts: 592
Joined: Sun Dec 11, 2011 1:16 am
Location: Looking forward to summer in Somerset, UK...

Re: DIY PS2(USB) Standard mouse adaptor

Post by 1024MAK »

flyer.gio wrote:I'm glad to share my last QL hardware project : The GC QL mouse adaptor. :D
This allow the use of a standard PS2/USB mouse with the QL.
It is connected to the QL via the CTL1 port (no hardware modifications are requested on the QL).
The 5V power come from a low power PSU or from the QL via the external ROM port.
A 78L05 is normally rated at 100mA
A 78M05 is normally rated at 500mA
Sometimes a 78M05 or 7805 is used instead of a 78L05 because they can disapate more heat.

The dropout voltage is the voltage across the regulator when it can no longer correctly regulate the output voltage as the input voltage falls. So if the input voltage drops below 5V+[dropout voltage], the output will fall below 5V.

For a 78x05 regulator, you should normally supply it with at least 7.5V so that the regulator has some headroom.

Mark


:!: 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 in Somerset later in the year :)

QL, Falcon, Atari 520STFM, Atari 1040STE, more PC's than I care to count and an assortment of 8 bit micros (Sinclair and Acorn)(nearly forgot the Psion's)
tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: DIY PS2(USB) Standard mouse adaptor

Post by tcat »

Mark,

Thank you for explaining.
What would be the voltage of VCC pin measured at ROM port?
If I decided to supply it from ROM port, am I safe to connect it to the regulator input, would not the output voltage be dropping too low for the circuitry?

Many thanks.

Tom


User avatar
Dave
SandySuperQDave
Posts: 2778
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: DIY PS2(USB) Standard mouse adaptor

Post by Dave »

The ROM slot is fed with +5V downstream of the QL's 7805, to reduce component count and heat inside any external ROM cartridge. Since this is a post-regulator +5V, there is no need to include a regulator if taking power from there.

All you need is the expected decoupling caps.


User avatar
1024MAK
Super Gold Card
Posts: 592
Joined: Sun Dec 11, 2011 1:16 am
Location: Looking forward to summer in Somerset, UK...

Re: DIY PS2(USB) Standard mouse adaptor

Post by 1024MAK »

If you are taking power from the QL ROM slot, that is a +5V supply, so no need for a voltage regulator.
If you are using an external supply, that's when you need the regulator.

Mark


:!: 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 in Somerset later in the year :)

QL, Falcon, Atari 520STFM, Atari 1040STE, more PC's than I care to count and an assortment of 8 bit micros (Sinclair and Acorn)(nearly forgot the Psion's)
User avatar
bwinkel67
QL Wafer Drive
Posts: 1202
Joined: Thu Oct 03, 2019 2:09 am

Re: DIY PS2(USB) Standard mouse adaptor

Post by bwinkel67 »

Back in the early 90's I built my own mouse out of a Radio Shack TRS-80 Color Mouse. That mouse had a weird mechanism where it basically had potentiometers that would end at min and max, so I just wired the Control port cables for up/down/left/right plus space for the button. So it acted like a joystick but you had to move the mouse to neutral to get it to work properly. I briefly used it with ICE and it kinda worked. The mouse itself had a nice black matte plastic look that fit the QL.
IMG_0860.JPG
I was reminded of the mouse I built when I saw a picture of this AT keyboard extension card for the ROM slot:
gigasoft_keyboard_if.jpg
Anyone ever try to create a small foot-print ROM socket for PS-2 on the QL? Something like this (it's a not-to-scale mock-up I quickly created :-/):
ps2-rom-socket.jpg
Would be nice to be able to, at times, hook a keyboard up and just use the ROM socket as the means (and have there be a pass-through). I know there were a ton of other keyboard extensions out there that required all sorts of fiddling (daughter boards for internal chips, etc...) but a nice ROM plug-in with just a PS-2 port would be clean an elegant -- it worked for AT keyboards so is PS-2 much more complicated? And yes, that card was pretty big but I would suspect a modern rendition could be nice and small.
Last edited by bwinkel67 on Thu Jun 18, 2020 3:38 am, edited 1 time in total.


User avatar
Chr$
QL Wafer Drive
Posts: 1315
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany
Contact:

Re: DIY PS2(USB) Standard mouse adaptor

Post by Chr$ »

bwinkel67 wrote:Back in the early 90's I built my own mouse out of a Radio Shack TRS-80 Color Mouse. That mouse had a weird mechanism where it basically had potentiometers that would end at min and max, so I just wired the Control port cables for up/down/left/right plus space for the button. So it acted like a joystick but you had to move the mouse to neutral to get it to work properly. I briefly used it with ICE and it kinda worked. The mouse itself had a nice black matte plastic look that fit the QL.
That Tandy mouse looks very much like the Spanish StarMouse with its ball of iron. viewtopic.php?f=2&t=3061
bwinkel67 wrote:I was reminded of the mouse I built when I saw a picture of this AT keyboard extension card for the ROM slot:
I have one of those and it's all very well (but it actually only works - at least my type does - with the older/rarer XT keyboards). With it attached you have to plug the main QL ROMs into it. But the biggest issue for me is that it can't be used with the Tetroid device because the Tetroid renders the ROM port useless. It also requires a connection to the interrupt, so you do have to open the QL to solder that and to remove the ROMs. A bit fiddly. And then it sticks out of the back in a cumbersome fashion - it was mainly intended for custom case QLs with an internal backplane.


https://QXL.WIN
Collector of QL related computers, accessories and QL games/software.
Ask me about felt pads - I can cut them to size and they have proved excellent for mdv data recovery.
User avatar
mk79
QL Wafer Drive
Posts: 1349
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: DIY PS2(USB) Standard mouse adaptor

Post by mk79 »

bwinkel67 wrote:Anyone every try to create a small foot-print ROM socket for PS-2 on the QL? Something like this (it's a not-to-scale mock-up I quickly created :-/):

ps2-rom-socket.jpg
Yes, but I wasn't able to fit the PS/2 support into the CPLD I used for my external QL-SD (https://www.kilgus.net/2020/03/28/ql-sd ... arly-days/). And if I had to include a µC then I'd probably go USB, but one thing at a time. Also, I'm mainly aiming at moue support.

Marcel


User avatar
bwinkel67
QL Wafer Drive
Posts: 1202
Joined: Thu Oct 03, 2019 2:09 am

Re: DIY PS2(USB) Standard mouse adaptor

Post by bwinkel67 »

mk79 wrote:And if I had to include a µC then I'd probably go USB, but one thing at a time.
Oh, I thought USB was more difficult to support that's why I was asking about PS2. I would love a USB ROM-socket interface that allowed for keyboard/mouse support.


Post Reply