![]() |
Forum Index : Microcontroller and PC projects : just spotted on EEVblog: USB to PS/2 converter - CH559 based
Author | Message | ||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
two USB host ports for connecting a USB keyboard and mouse, and two PS/2 outputs giving keyboard and mouse data outputs: https://www.eevblog.com/forum/projects/usb-to-ps2-converter-ch559-based/ note that rasteri uses a CH559 instead of my idea of a CH376s that does not directly output a PS/2 data stream. the CH559 seems a far tidier solution. source code, etc. here: https://github.com/rasteri/HIDman apparently based on: https://github.com/atc1441/CH559sdccUSBHost cheers, rob :-) Edited 2022-09-06 13:06 by robert.rozee |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
To use with the CMM2? Or, what? Does it work? John |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
having followed the links, you know as much as me ![]() it is probably fair to say it works to at least some reasonable degree, but like all such open-source projects will progress and evolve. if CMM2 production restarts in a few years time, it would be a candidate to replace the present mouse (and keyboard) solution used. "Or, what?": for anyone who finds them in a land without PS/2 keyboards and mouses, and a need. cheers, rob :-) |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5091 |
picomite could use a USB keyboard input. The PS2 keyboards second hand are drying up in Netherlands. And the choice in new ones is limited between toys (small) to expensive. PicomiteVGA PETSCII ROBOTS |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7938 |
I suspect that it probably works. You should be able to do USB to PS/2 keyboard conversion on anything that can work with a USB keyboard and has a couple of GPIO pins - any old RPi that you might find in a drawer, for example. However, you almost certainly won't get a mouse of any sort working on a PicoMite (before anyone asks). Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2642 |
" you almost certainly won't get a mouse of any sort working on a PicoMite (before anyone asks)" If one is sufficiently desperate to have a mouse for the LCD 'mites, write software for the external MCU to emulate a touch controller chip. |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7938 |
I think you'd have to be desperate to do that. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
I have 4 ps2 keyboards. My son asked why I did not bin them. I am a hoarder. I do not have any ps2 mice though. If I remember they were those with a ball not laser and were always a pain to use. |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1642 |
If you have a serial port, the Hobbytronix or Silicon Chip USB mouse to serial interface can (and has been ) used. Also Raros used an old serial mouse with the maximite. Bill Edit: Silicon Chip did say that the were thinking of producing a USB Keyboard to PS/2 version of the software for that unit but nothing has happened yet as far as I know. Edited 2022-09-07 14:06 by Turbo46 Keep safe. Live long and prosper. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
My PS2 to WiiClassic (Arduino nano) also outputs serial so, if you really wanted to, it can be done. Jim VK7JH MMedit |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7938 |
I don't think it matters how you interface a mouse, the PicoMite is the bottleneck as in order to move a mouse pointer smoothly on screen it has to be interrupt driven. The PicoMite VGA (I'm discounting mice on LCD displays as there's no real point if you can have a touch screen) is already pretty heavily laden in that respect. Converting mouse movement to a serial stream, even if you filter out the judder with another processor, is still going to give quite an overhead just to process the mouse movement. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1642 |
If I recall correctly, the cursor movement when using the Silicon Chip device was quite smooth on the 80MHz CMM1. It was interrupt driven and I left the serial baud rate at the default 9600. The VGA Picomite should be more capable I would expect. I'll give it a go when time permits. Bill Keep safe. Live long and prosper. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |