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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/01/04 04:13
Read: times


 
#76718 - RE: keyboard interfacing with 8051
Responding to: ???'s previous message
You can take a keypad of 4x4, and enter 5 keys (your first string of 40) and then press enter and do it 40 times.

Yes, you hit the nail, Christian! Ok, some correction is needed:

You can take a keyboard of 4x4 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D ,E, F) and enter 10 keys (your first string of 40 bits) and then press enter and do it 40 times.

The fact is: We misunderstood Huzefa's lines!

In his earlier thread he stated, that he wants to control 40 motors, by this data. My impression is, that Huzefa has an application containing 40 motors. And he will be able to control them by 40 different ways, means by 40 different schemes or patterns. Maybe the first scheme will have motor '1' on, motor '2' on, motor '3' off, motor '4' on, etc. Second scheme could be motor '1' off, motor '2' on, motor '3' on, motor '4' off, etc.

For this, he searches for a way:

a. to input each of these 40 different patterns by the help of a keyboard,
b. to store these 40 different patterns inside the '51 micro, and
c. to choose one of these 40 patterns to actually control the motors.


When Huzefa wrote

see i want to input into 8051 a data stream of 40 bits for eg:1001101001...........upto 40 bits

we assumed that there's some ciruitry, which produces a serial data stream, maybe another micro by its serial port or a PC, or something else.


When he wrote

now i want to enter upto 40 lines like this so my data will be in a 40*40 matrix form.

we assumed, that there are 40 of such sources, which produce individual serial data streams.


And when he finally wrote

the keyboard need not have so many keys only the data is to be 40*40 form. so i need help on how to design a keyboard and interface it to the 8051

we assumed, that he plans a keyboard, which produces 40 individual serial data streams of 40 bits each!


But he only wants to input 40 different patterns each containing 40 bits and to store them inside micro!


Kai


PS: Huzefa, you should have tried the quantum flux compensator...

List of 24 messages in thread
TopicAuthorDate
keyboard interfacing with 8051            01/01/70 00:00      
   Still unclear            01/01/70 00:00      
   RE: keyboard interfacing with 8051            01/01/70 00:00      
   Very cumbersome!            01/01/70 00:00      
      RE: Use hex instead            01/01/70 00:00      
         RE: Use hex instead            01/01/70 00:00      
            RE: display            01/01/70 00:00      
         RE: Use hex instead            01/01/70 00:00      
            RE: Use hex instead            01/01/70 00:00      
               RE: Use hex instead            01/01/70 00:00      
   RE: keyboard interfacing with 8051            01/01/70 00:00      
      All clear now...?            01/01/70 00:00      
         RE: All clear now...?            01/01/70 00:00      
   RE: keyboard interfacing with 8051            01/01/70 00:00      
      RE: keyboard interfacing with 8051            01/01/70 00:00      
         i hit the nail!!!!            01/01/70 00:00      
            RE: i hit the nail!!!!            01/01/70 00:00      
               RE: i hit the nail!!!!            01/01/70 00:00      
                  RE: i hit the nail!!!!            01/01/70 00:00      
                     RE: i hit the nail!!!!            01/01/70 00:00      
         RE: keyboard interfacing with 8051            01/01/70 00:00      
   imagine...            01/01/70 00:00      
   RE: keyboard interfacing with 8051            01/01/70 00:00      
   Huzefa, come back!            01/01/70 00:00      

Back to Subject List