Internal PS/2 Port

A forum where you can announce your awesome project(s).

Moderator: MaxCoderz Staff

User avatar
KermMartian
Calc Wizard
Posts: 549
Joined: Tue 05 Jul, 2005 11:28 pm
Contact:

Internal PS/2 Port

Post by KermMartian »

Edit: holy #^&#^&, it works perfectly. The ol' TI can certainly give enough current for both keyboard and mouse.

Earlier today.... Looks like it works! 5.064v coming off it from the zener diode regulator, and plugging in a keyboard or mouse turns on the calc. I'll test it when I get home. My only concern at this point is that the calc won't be able to produce enough current to drive the PS/2 devices - the protocol defines max current for a PS/2 device as 275mA, and I _know_ AAAs can't produce that too well. Hopefully non-optical PS/2 mice and keyboards take more along the lines of 40-60mA. I will of course be testing it with the Emerson demo, since I'm still writing the mouse and keyboard SEs for Doors CS with the Emerson library.

Image

Image

Red = +5v
Black = gnd/com
Yellow = tip
Orange = ring.
Image Image Image
User avatar
thegamefreak0134
Extreme Poster
Posts: 455
Joined: Mon 23 Jan, 2006 10:09 pm
Location: In front of a Computer, coding
Contact:

Post by thegamefreak0134 »

Wow. That's one big image. What are the plans for this? It could make a calc drawing program very exciting, no?
I'm not mad, just a little crazy.

DarkNova - a little side project I run.
CompWiz
Calc King
Posts: 1950
Joined: Thu 13 Oct, 2005 1:54 pm
Location: UB

Post by CompWiz »

or make an FPS very exciting. I've always preferred mouse over joystick for fps games. :)
In Memory of the Maxcoderz Trophy Image
User avatar
benryves
Maxcoderz Staff
Posts: 3089
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

Wow. Now that's cool, even if the soldering job is a tad scary. :) (Have you soldered them on, or is it just hot-melt glue gun stuff?)

(Oh, and - video please!)

How're you finding the library?
User avatar
KermMartian
Calc Wizard
Posts: 549
Joined: Tue 05 Jul, 2005 11:28 pm
Contact:

Post by KermMartian »

Video coming this weekend. The Emerson demo worked wonders, although the first keyboard I tried it with had debouncing issues. I'm working on full autodetecting PS/2 support for DCS now. Oh, and of course it's soldered on. the hot glue is just to insulate it. I'm a fan of hot glue-can you tell? :D
Image Image Image
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

But how about 84's they don't have that much space near their linkport.. make a long wire all the way down to the bottom of the calc? It would still be way cool though. :D

by the way, I thought PS/2 things have 6 pins, are 2 of them unused?
User avatar
KermMartian
Calc Wizard
Posts: 549
Joined: Tue 05 Jul, 2005 11:28 pm
Contact:

Post by KermMartian »

That's correct. Two pins are indeed unusued.
Not quite sure how you'd do this mod for the 84, but there's no reason why you _couldn't_ run the wires down to the bottom...
Image Image Image
User avatar
benryves
Maxcoderz Staff
Posts: 3089
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

The only reason, of course, to do this on the 84 is so you could combine it with usb8x to use a keyboard and mouse at the same time :)

Autodetection within Emerson is a bit flakey, Kerm - sometimes you need to remove and reattach the device if it gets confused. If you can find a workaround, I'd be interested to hear it. That routine was written very quickly.

I, too, have had the odd debouncing issue on one keyboard. It could well be a bug in the library, probably (99%) that it doesn't pick up the "release" prefix byte due to a timing bug. Which makes sense as different devices have different clock rates. I wish I had more time to look into it, though as you're working actively with it I look forwards to any discoveries! Adding a code-based debouncer should be rather simple to do, though.

Oh, and this relates to you:
ravuya wrote:You guys are either the sickest bastards imaginable or some sort of modern-day folk heroes. I salute you all.
Feel proud ;)
User avatar
KermMartian
Calc Wizard
Posts: 549
Joined: Tue 05 Jul, 2005 11:28 pm
Contact:

Post by KermMartian »

Oh, I do. That's definitely a complement in my opinion. Thanks for posting that up there!
Image Image Image
User avatar
KermMartian
Calc Wizard
Posts: 549
Joined: Tue 05 Jul, 2005 11:28 pm
Contact:

Post by KermMartian »

*bump* This video will be live in a few minutes. Sorry for the bad quality.
http://www.youtube.com/watch?v=I_aVj7Ot7bU
Image Image Image
Shawshank87
New Member
Posts: 36
Joined: Thu 30 Dec, 2004 5:43 pm
Location: Roanoke, Virginia
Contact:

Post by Shawshank87 »

thats tight man, congrats.
Try your hand at turn based war strategy on your TI-83/Ti-83+ with Catch 22. Download now:
http://www.ticalc.org/archives/files/fi ... 35508.html

Project Cartel Details:
http://calcwebzine.com/index.php?option ... mid=0&id=8
CompWiz
Calc King
Posts: 1950
Joined: Thu 13 Oct, 2005 1:54 pm
Location: UB

Post by CompWiz »

yeah, it looks nice. :)
In Memory of the Maxcoderz Trophy Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

You really need to get yourself a tripod dude :)
Nice hardware mod, well done.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
User avatar
KermMartian
Calc Wizard
Posts: 549
Joined: Tue 05 Jul, 2005 11:28 pm
Contact:

Post by KermMartian »

Timendus wrote:You really need to get yourself a tripod dude :)
Nice hardware mod, well done.
O.o A compliment! Thanks Timendus, that means a lot to me coming from you. Yeah, a tripod would pwn.
Image Image Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

You're welcome :)
I'm getting more and more curious to see a release of DCS6... PS/2 hardware, calculator networking... I still have to see you pull it off, but it sure sounds promising enough :)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Post Reply