This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How done programming in keil

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.

Parents
  • Hi Sir,
    Thanks for reply.Actually my project is control two stepper motors through PC USB port for pan & tilt camera.So,in future video signal also there.It required data transfer speed 5 Mbps.
    *So,USB to serial converter not useful because it have 1 Mbps data transfer speed.
    *I used bipolar stepper motor.
    *To drive stepper motor i used L297 & L298 driver circuit.
    *I want to use keyboard directly.

    Thank you for help me..

Reply
  • Hi Sir,
    Thanks for reply.Actually my project is control two stepper motors through PC USB port for pan & tilt camera.So,in future video signal also there.It required data transfer speed 5 Mbps.
    *So,USB to serial converter not useful because it have 1 Mbps data transfer speed.
    *I used bipolar stepper motor.
    *To drive stepper motor i used L297 & L298 driver circuit.
    *I want to use keyboard directly.

    Thank you for help me..

Children
  • Why send the video signal through the C51 processor? The processor is badly suited for on-the-fly video compression/decompression or image analysis.

  • Hi,
    So, What is the other option for that ?.
    Because I want to control stepper motors & 4 video signal with Single USB port of my Computer.

    Thank you for help me...

  • "I want to control stepper motors & 4 video signal with Single USB port"

    So the big question is, how did you intend to send four video signals down a single USB link?!
    Relative to that, controlling a couple of stepper motors is a trivial task!!

    :-0

    You definitely won't do that on an 8051 alone!
    You would at least need dedicated video processing hardware, with the 8051 merely performing the control functions.

  • I can see that you don't believe in giving all information at the same time.

    Your original post discusses control of stepper motors based on information from a keyboard. This is a trivial task for most processors.

    Suddenly you start to mention transmitting video data through the processor. And in the next post, you have four video signals.

    Unless you find a C51 variant with a nice hardware video module integrated, you should look for a different processor - something with good DSP support.

    On the other hand - you have not mentioned if the cameras sends out analog video, or if they contain compression logic so that the video data has already been digitized and compressed.

    Always make sure that your posts contain all relevant information.

  • "So the big question is, how did you intend to send four video signals down a single USB link?!"

    UVC (USB Video Class) spec supports multiple video streaming interfaces on a single USB device. Then, theoretically, a single USB link can carry four video streams. But I didn't examine it on Windows. :-)

    Cypress EZ-USB FX2LP has 8051 core, and it provides Hi-speed USB connection to the external video processing hardware, like FPGA.

    Anyway, it is never a beginner's project.

    Tsuneo

  • Cypress EZ-USB FX2LP has 8051 core, and it provides Hi-speed USB connection to the external video processing hardware, like FPGA.

    The OP wanted to use a 89s51, so no built-in video hardware is available...

  • It is the answer for the OP's question,
    "So, What is the other option for that ?.
    Because I want to control stepper motors & 4 video signal with Single USB port of my Computer."

    Tsuneo