I use the Logitec RF keyboard and mouse (great BTW). They do not provide the usual caps lock and num lock indicator lights on the keyboard because they use only a one way link. --BobG -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Randy Glenn Sent: Tuesday, July 17, 2001 10:29 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: Idea for wireless keyboard You wouldn't have to do any ASCII conversion at all - it would, in fact, be better not to (what's the ASCII code for the Windows key? For the arrow keys? NumLock? See my point?). All you have to do is send the raw keycode. I don't know if you would have to do a bidirectional link or not - I know that the PC polls the keyboard to see if it's there, and the PC also instructs the keyboard as to whether or not Capslock or Numlock or Scroll lock should be activated. I dont recall if the actual keycodes change when any of these "locks" are on - if not, then just pretend that the PC said to turn on the "lock", and light the LED without a reply (this eliminates the need for a two-way link). If the keycodes are different, however, you'll need a two-way link - assuming that the change went through could confuse the PC. That's just my $0.02CAD (What is that these days, $-(1E20)USD?). Good luck, -Randy Glenn Sure, Windows is stable. As stable as the install CD, balanced on the edge of a ruler. In high winds. ================================================= PICxpert@home.com - PICxpert@yahoo.com PICxpert.com going away - use picxpert.dyndns.org Not that the site works yet, of course... ================================================= -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Andy N1YEW Sent: Tuesday, July 17, 2001 10:18 AM To: PICLIST@MITVMA.MIT.EDU Subject: [PICLIST] [PIC]: Idea for wireless keyboard Here's my idea, but i have no knowledge of IR comms.. Take a pic make it emulate the pc and attach it inside the keyboard(powered from batteries). Take another and make it emulate the keyboard. I think there were comm routines for the keyboard, so that part should be easy. transmission from the keyboard to the pc is the trick. using an ir dectetor from radio shack should work, and it say the bandpass center frequency is 40 KHz. It output the precense of a 40khz signal as almost logic level voltages(.5 low and 4.2 high). but it also does not say the pickup dection rate :(...... to transmit you just modulate the high bits and not low. would i have to translate the bits from keyb code to ascii before transmission? how long would the translation take at 4Mhz approximately?? and if i did it ascii way how fast would i have to transmit the bytes? i was thinking like around 2400 bps....(then my palmtop could control it too :) thanks for any ideas/suggestion/criticizm/complaints.... send flames to: /dev/null andy n1yew -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics