ps2 keyboard
i'm looking for away to connect a ps2 keyboard to a basic stamp.
if someone could direct me to where i might find the info.
Thank you in advance for your help
if someone could direct me to where i might find the info.
Thank you in advance for your help
Comments
want the details of why, just ask. So you need some sort of
interface between your Stamp and your keyboard.
Al Williams sells a chip advertised to do this job. See any of his
posts for a link to his web site and products.
If I may pose a question to you (or any others) in response: Suppose
you could download a no-cost program to your PC that uses your Stamp
to program a ~$5 PIC to do this interfacing job. Would that be of
interest to you or would you just prefer to go out and buy a finished
product?
Regards,
Steve
tom_sch14059 wrote:
> i'm looking for away to connect a ps2 keyboard to a basic stamp...
you could download a no-cost program to your PC that uses your Stamp
to program a ~$5 PIC to do this interfacing job. Would that be of
interest to you or would you just prefer to go out and buy a finished
product?
I'm interested in programming a PIC with a stamp (tell me more). Sorry for
my lack of knowledge, but that sounds interesting. As for Al's product, to
interface with a PS2 device. If I were building just one of something, I'd
go for the finished product every time.
Thanks,
John
I would like to know why a stamp can't talk to a ps2 keyboard.
thanks
A BASIC Stamp can't communicate directly with a ps2 keyboard--if you
want the details of why, just ask. So you need some sort of
interface between your Stamp and your keyboard.
Al Williams sells a chip advertised to do this job. See any of his
posts for a link to his web site and products.
If I may pose a question to you (or any others) in response: Suppose
you could download a no-cost program to your PC that uses your Stamp
to program a ~$5 PIC to do this interfacing job. Would that be of
interest to you or would you just prefer to go out and buy a finished
product?
Regards,
Steve
tom_sch14059 wrote:
> i'm looking for away to connect a ps2 keyboard to a basic stamp...
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
transistor to switch the no current 12V from the serial port).
When it came time to do LVP parts, we decided to do away with the Stamp
(see http://www.al-williams.com/app2.htm) and let the part just program
itself. It is featured in the PIC tutorial at
http://tutor.al-williams.com
Regards,
Al Williams
AWC
>
Original Message
> From: S Parkis [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=izFyK9ducrAKVaN0MmOo5rABlQtQRc1RoHdEB_bloZQlNpZR1x_Raoa9GXYcEpdPG7GIjUYYpTWn-ub3XIFxSg]parkiss@e...[/url
> Sent: Friday, August 16, 2002 11:35 PM
> To: basicstamps@yahoogroups.com
> Subject: RE: [noparse][[/noparse]basicstamps] ps2 keyboard
>
>
> John Walton wrote:
>
> > I'm interested in programming a PIC with a stamp (tell me more)...
>
> Microchip produces many PICs now that can be programmed via low
> voltage programming (LVP). A Stamp program can directly apply the
> required pulses, control logic and so on to accomplish LVP. I say
> this with some confidence because I do it routinely. You can also do
> high voltage programming under Stamp control, but it takes a lot more
> components, introduces a lot more complexity and greatly increases
> opportunities to make expensive smoke.
>
> The concept I wondered out loud about would go like this.
> Program A is a Stamp program that does the nitty-gritty LVP
> stuff with your PIC. Program B runs on your PC, contains a
> proven, debugged PIC
> progam embedded within it, and sends that executable code over your
> programming cable to your Stamp for its LVP function. You download
> program A to your Stamp, execute program B on your PC, and about 30
> seconds later you have a programmed PIC that you can then use as a
> keyboard interface with your own Stamp application program. Or some
> other program B that gives your Stamp a huge, intelligent serial
> input buffer. Or whatever. You needn't write program A, program B,
> or the PIC program--someone else gets to have all that fun.
>
> BTW, the LVP PICs have flash program memory. So today's PS/2
> interface chip can be tomorrow's GPS buffer and then next week's
> IR remote control.
>
> Thomas A Schaefer wrote:
>
> > Yes I would be interested I a prg to use a pic.
> >
> > I would like to know why a stamp can't talk to a ps2 keyboard.
>
> The PS/2 keyboard, like the PS/2 mouse, generates the clock
> signal for its synchronous serial communications with
> (usually) a PC or whatever the other end of the cord is
> plugged into. Your Stamp generates the clock signal for
> SHIFTIN and SHIFTOUT instructions, so you can't use those
> instructions and their inherent speed. The keyboard's clock
> ticks orders of magnitude faster than your Stamp can respond
> to with discrete instructions (instead of the
> SHIFTIN/SHIFTOUT approach). Result: the Stamp can't
> communicate directly with a PS/2 keyboard. Interestingly
> enough, a Stamp can impersonate a PS/2 keyboard, since in
> that role it provides the clock.
>
> Regards,
>
> Steve
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
> Subject and Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> I'm interested in programming a PIC with a stamp (tell me more)...
Microchip produces many PICs now that can be programmed via low
voltage programming (LVP). A Stamp program can directly apply the
required pulses, control logic and so on to accomplish LVP. I say
this with some confidence because I do it routinely. You can also do
high voltage programming under Stamp control, but it takes a lot more
components, introduces a lot more complexity and greatly increases
opportunities to make expensive smoke.
The concept I wondered out loud about would go like this. Program A
is a Stamp program that does the nitty-gritty LVP stuff with your
PIC. Program B runs on your PC, contains a proven, debugged PIC
progam embedded within it, and sends that executable code over your
programming cable to your Stamp for its LVP function. You download
program A to your Stamp, execute program B on your PC, and about 30
seconds later you have a programmed PIC that you can then use as a
keyboard interface with your own Stamp application program. Or some
other program B that gives your Stamp a huge, intelligent serial
input buffer. Or whatever. You needn't write program A, program B,
or the PIC program--someone else gets to have all that fun.
BTW, the LVP PICs have flash program memory. So today's PS/2
interface chip can be tomorrow's GPS buffer and then next week's
IR remote control.
Thomas A Schaefer wrote:
> Yes I would be interested I a prg to use a pic.
>
> I would like to know why a stamp can't talk to a ps2 keyboard.
The PS/2 keyboard, like the PS/2 mouse, generates the clock signal
for its synchronous serial communications with (usually) a PC or
whatever the other end of the cord is plugged into. Your Stamp
generates the clock signal for SHIFTIN and SHIFTOUT instructions, so
you can't use those instructions and their inherent speed. The
keyboard's clock ticks orders of magnitude faster than your Stamp can
respond to with discrete instructions (instead of the
SHIFTIN/SHIFTOUT approach). Result: the Stamp can't communicate
directly with a PS/2 keyboard. Interestingly enough, a Stamp can
impersonate a PS/2 keyboard, since in that role it provides the
clock.
Regards,
Steve