Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/27/07 14:46
Read: times


 
#141299 - select Your own addresses
Responding to: ???'s previous message
You have 2 devices - main computer and "clever " keyboard.
Between them will be 2 wires - SDA,SCL.
On main computer You can specify (in source code for example)
any address, on keyboard You must define same address.
Take care to not use address of other i2c chips on Your board.
My choice is 0xAE .
Intersting page:
http://members.fortunecity.com/ultravinn...l#extended

Now You have to learn I2C , to write master I2C routine for main and slave routine for keyboard controller, to solder board
with keyboard and slave controller.

In Your situation i will:
- learn appnote from Philips (about PS2 keyboard)
- copy/paste/integrate/compile code from this apnote (code is good)
- make 4 simple wire conections between any PC keyboard and
main xx89xx51xx.
- At later stage, if You need embedded keyboard, You can
programm slave chip to work as "standard" controller for PC keyboard.

I2C is good , PS2 is practical.

regards





List of 36 messages in thread
TopicAuthorDate
Serial Keypad for 89c51            01/01/70 00:00      
   what is task ?            01/01/70 00:00      
      Task            01/01/70 00:00      
         use PCkbd controller            01/01/70 00:00      
            RXD and TXD            01/01/70 00:00      
               rxd,txd            01/01/70 00:00      
                  More keys            01/01/70 00:00      
                     What does it matter how many keys?            01/01/70 00:00      
               why not search the www?            01/01/70 00:00      
   I2C; 1-Wire            01/01/70 00:00      
   I2c            01/01/70 00:00      
      So now would be an excellent time to start!            01/01/70 00:00      
         let me complete            01/01/70 00:00      
            right now I need a hammer, but I do not have the            01/01/70 00:00      
               Erik            01/01/70 00:00      
                  I always have regretted            01/01/70 00:00      
                     OK Erik            01/01/70 00:00      
                        I2C or serial            01/01/70 00:00      
                           I2C is serial!            01/01/70 00:00      
                              Asynchronous nature of serial was on my mind!            01/01/70 00:00      
                           there is a philips appnote            01/01/70 00:00      
                           Hardware design            01/01/70 00:00      
                              too many haow-to ,but            01/01/70 00:00      
                              a better idea            01/01/70 00:00      
                                 Hardware I2C addresse            01/01/70 00:00      
                                    I2C is serial!            01/01/70 00:00      
                                       I meant UART            01/01/70 00:00      
                                          many, many flavours!            01/01/70 00:00      
                                    whatever you like            01/01/70 00:00      
                                    select Your own addresses            01/01/70 00:00      
                                       'wrong' is too strong            01/01/70 00:00      
                              Touch screen            01/01/70 00:00      
                                 sure            01/01/70 00:00      
                                 to the O/P ... Stick with one topic, please            01/01/70 00:00      
                                    No side track            01/01/70 00:00      
   Not much information            01/01/70 00:00      

Back to Subject List