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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/25/07 00:06
Read: times


 
#133643 - I agree, to a certain extend
Responding to: ???'s previous message
I agree, to a certain extend. The project needs to be divided in smaller, manageable chunks. Learn the control the various bits separately first, then tie them together and work out the complete program.


Mike Stegmaier said:

To begin, you need to do the easy parts. If you can write code for the 8051 that accesses ports, but you can't write code that accesses memory, then you might want to connect the components to the ports.

Most code reads or writes to memory. And unless you mean "external memory" or "memory mapped devices" I'm not sure on the meaning of the above statements. One can either write code or not. Maybe someone doesn't know how to implement a memory mapped I/O device, but this is different from coding, I think.



For the keypad, you need to be more specific. If it is a bunch of buttons arranged in a matrix, then you are on your own, because connecting buttons to a circuit is a no-brainer operation.


Why would the OP be on his own in the case of a matrix keyboard?
There are plenty of examples. Even on this site. See http://www.8052.com/codelib/4x4keyboard And connecting switches to a port is not necesarily trivial for a beginner. Anyway, personally I prefer the buttons to be connected to my coat, if you don't object.:-)


For the 8051, you need to make sure that code is being fed to it all the time, and you need a clock that keeps the 8051 running. In most cases, a crystal can be connected between pins X1 and X2.




I think it is wise not to forget the load capacitors between the Crystal and ground. And don't forget the EA pin. And equally important is the RESET signal and proper reset circuit.
And yes, if you forget or ommit it, it's not going to work. Trust me, I know. :-)

But that info is readily available, there are plenty of tutorials and an abundance of information can be easily found on the internet. So, the OP should try and come up with a schematic, some specs on the LCD used and how his keyboard will be organised. Then he can dig into stepper motors and the control of these. There is a number of ways to do it. Much will depend on what the stepper needs to do, and what type of stepper motor is used. Again there is a lot of info around.


So, Abdeljalil, time to roll up your sleeves, and start gathering information. And let us know what you've found. If you get stuck, there is always someone around to point you in the right direction.

regards

Patrick

List of 20 messages in thread
TopicAuthorDate
8051 interfacing            01/01/70 00:00      
   muhammad ali mazidi            01/01/70 00:00      
      which            01/01/70 00:00      
         goooooooooooooogling....            01/01/70 00:00      
            megaupload            01/01/70 00:00      
               probably not ...            01/01/70 00:00      
               What is megaupload?            01/01/70 00:00      
                  A sharehoster for file sharing...            01/01/70 00:00      
                     absolutely...            01/01/70 00:00      
                        emule            01/01/70 00:00      
                           but illegal it is.            01/01/70 00:00      
                           What a perverse notion of friendship.            01/01/70 00:00      
                           you are nothing but a common thief            01/01/70 00:00      
   more info please            01/01/70 00:00      
      I agree, to a certain extend            01/01/70 00:00      
      sarched            01/01/70 00:00      
         work            01/01/70 00:00      
         what were your search terms?            01/01/70 00:00      
   Philips PDS51 development board            01/01/70 00:00      
      if you do not even have the ability to            01/01/70 00:00      

Back to Subject List