Hello Sir, I work on one project in which i control stepper through PC.I done programming in turbo C. Now I want to used Microcontroller 89s51. i want to make programmer using parallel port & communicate using USB port.
I want to programming suppose in keil.Keil is new for me.My requiredment is i done calculation for speed control in my turbo C program,i also give the keyboard input to my turbo C program. This input is go to microcontroller though USB port.
Is it possible that many thing is done in keil programming?
Thank you.
you need to select a device capable of handling your requirements, then the datasheet and possibly some application notes will show you what to do.
HOWEVER, if you have any illusion that this is "Turbo C warmed over" you better before you even touch your project read "the bible" several times and then work through, not just read the Keil "getting started guide"
DO not attempt to run, you will break a leg, first learn to crawl, then learn to walk, and then and only then attempt running.
Erik
here are the links to "the bible" Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer’s Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
the "getting started giude" is on your Keil CD
http://www.keil.com/books/8051books.asp
www.8052.com/books.phtml
Hi everyone, Thanks for suggestion.But i not get my problem solution. I communicate between PC & microcontroller 89S51 through USB to Serial cable(dongle). I want to enter stepper motor speed ,keyboard keyevent& stepper motor rotation angle in keil. This many things enter externaly from PC. Is it possible in Keil C language?
Thank you
C is a complete language, i.e. you can implement any algorithm as long as the hardware is fast enough and has enough resources.
Your question should normally be - is it possible for you. Obviously, we can't answer that question for you.
Hi, Thanks for reply.As i heard in keil C there only send the keyboard event. I again explain my requiredment.I load program in microcontroller chip 89s51 through parallel port programmer then i communicate microcontroller through USB port in which i want to enter stepper motor speed,keyboard keyevent to rotate motor in perticular direction & also enter angle to rotate stepper motor. This many things enter externaly through PC & call to microcontroller to control stepper motor.
Thank you for help me..
Very good. It sounds like you have an understanding of what you want your system to do; that is, the functional requirements. You are now authorized to procede with the high-level design phase. When you're done with that, post a link to the design document and we'll review that too.
View all questions in Keil forum