CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Interfacing an (AT) 'laptop' keyboard with a PIC
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Christophe



Joined: 10 May 2005
Posts: 323
Location: Belgium

View user's profile Send private message

PostPosted: Mon May 21, 2007 9:16 am     Reply with quote

Yes, I have DATA and CLOCK pulled up with 8K2 to the 5V supply.

I'm currently testing with the CCS PIC16F877A, so my V-levels are CMOS compatible.

Haven't got a clue what's going wrong here; I'll first try to connect the KB to my computer and then to my PIC. To be continued..
Christophe



Joined: 10 May 2005
Posts: 323
Location: Belgium

View user's profile Send private message

PostPosted: Tue May 22, 2007 1:38 am     Reply with quote

OK the keyboard works on USB when I connect it to the computer. Without installing drivers.

However when I use this : http://www.ccsinfo.com/forum/viewtopic.php?t=25673 software, the KB sends me nothing..

Any more ideas someone? I'm about to give up those USB/PS2 KB's..
Ttelmah
Guest







PostPosted: Tue May 22, 2007 4:03 am     Reply with quote

I don't see anywhere where you say that you have tested this keyboard using PS/2, on a PC?. Also, have you tried using the supplied USB to PS/2 adapter, and connecting to this, rather than directly to the lines inside the keyboard?. My 'guess', would be that there is something like an extra resistor in this, used to allow the kyboard to detect it is present.

Best Wishes
Christophe



Joined: 10 May 2005
Posts: 323
Location: Belgium

View user's profile Send private message

PostPosted: Tue May 22, 2007 6:02 am     Reply with quote

You are right, I can't get it to work on a PC through PS/2 either.
I destroyed the USB to PS2 piece to look inside, it has just wires inside, no components..

Tks for the input, but I'm going to give up on this one I'm afraid..
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group