Buzby
Senior Member
Has anybody interfaced a PS2 mouse or touchpad directly into PICAXE ?.
A colleague of mine has just done it on his A******o.
He just wired up a PS2 mouse, downloaded a chunk of code, and was up and running in few minutes.
So I investigated the possibility of doing similar on a PICAXE.
After a few hours reading up on PS2 protocol it looked like it might be possible.
It would use lots of bit banging, and I'm still not sure if PICAXE would be fast enough.
But then I thought about KBIN. This must use much of the same protocol as a mouse, so a better solution would be to have a similar MOUSIN command added to the language, with a corresponding MOUSSETUP command to initialise the mouse.
This could give the PICAXE features similar to the ( very over-priced ~) PAK-XI.
So RevEd, is this a feature that could be added in the future ?
( My colleague is using the active parts of an optical mouse under his buggy. The intention is to detect tracking errors which wheel rotation counting will miss. It will be interesting to see how he gets on. )
Buzby
A colleague of mine has just done it on his A******o.
He just wired up a PS2 mouse, downloaded a chunk of code, and was up and running in few minutes.
So I investigated the possibility of doing similar on a PICAXE.
After a few hours reading up on PS2 protocol it looked like it might be possible.
It would use lots of bit banging, and I'm still not sure if PICAXE would be fast enough.
But then I thought about KBIN. This must use much of the same protocol as a mouse, so a better solution would be to have a similar MOUSIN command added to the language, with a corresponding MOUSSETUP command to initialise the mouse.
This could give the PICAXE features similar to the ( very over-priced ~) PAK-XI.
So RevEd, is this a feature that could be added in the future ?
( My colleague is using the active parts of an optical mouse under his buggy. The intention is to detect tracking errors which wheel rotation counting will miss. It will be interesting to see how he gets on. )
Buzby