PS2 keyboard chip, more inputs?


Author Message
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 09:40am 14 Mar 2012      

  TassyJim said  
I am currently doing things in reverse.
I have a USB keyboard being fed from a maximite (the electronics are bigger than the maximite). This keyboard is in a laptop and the key press is needed to wake a program up.
The maximite operates a reed relay which operates the 'space' key on the laptop.
Working out which wires go to which key is the hard part.

Jim


Hi Jim,

I used an 18F2550 (my FreeJALduino board) with Jalv2 language and USB keyboard library to simulate a second USB keyboard, actually firing a train of [Space key] codes, needed in a game which I played with my daughter. It had also a switch (an input to microcontroller), for On/Off the output. This helped me to protect my keyboard .

It is very easy to setup and program if you are accustomed with PIC 18F programming. The Jal language is very easy and intuitive if you programmed before in Pascal or Verilog...

It would be great if Maximite could allow the software upload form a serial interface (using also FTDI) and letting USB setup for the users (or different versions of the firmware). But you can't do everything from an interpreter. Sooner or later you must go to real programming (mikroElektronika have mikroBasic for PIC32). Anyway, PIC32 for just that is definitely an overkill.Edited by vasi 2012-03-15
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang