1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

BLDC motor control using 8051

Discussion in '8051/8951' started by giri19, Apr 23, 2013.

  1. giri19

    giri19 New Member

    Joined:
    Apr 23, 2013
    Messages:
    5
    Likes:
    3
    Location:
    India
    hello everyone
    i am doing a project on Rc plane using 8051 i am not able to control Brushless DC motor usually attached to a Electronic Speed Controller of 20A..

    Anyone please provide me the code......
     
    • Like Like x 1
  2. Mystogan

    Mystogan New Member

    Joined:
    Jan 23, 2013
    Messages:
    15
    Likes:
    1
    What do you mean by " Electronic Speed Controller of 20A.."?
    I think you can control the speed of the motor efficiently with PWM.
    However,if you can elaborate more on your question , I can help you in a better way.
     
    • Like Like x 1
  3. giri19

    giri19 New Member

    Joined:
    Apr 23, 2013
    Messages:
    5
    Likes:
    3
    Location:
    India
    ESC 20A which i purchased from rcbazaar.com 0003942.jpeg for controlling motor.i need to send pwm waves of 0.5ms,1ms,1.5ms,2ms,2.5ms of 50hz constant frequency but i dont know to write code.i m using zigbee for transmission.The speed of motor should increase when i press key on my laptop through serial communication i have done coding for serail but the thing is i am able to code for this motor
     
    • Like Like x 1
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Jon Wilder

    Jon Wilder Active Member

    Joined:
    Oct 22, 2010
    Messages:
    859
    Likes:
    82
    Location:
    Fresno, CA

    It would also help to know which exact 8051 processor derivative you are using as well. Can you post the make/model of the exact processor that you will be using as well as the crystal MHz?
     
    • Like Like x 1
  6. giri19

    giri19 New Member

    Joined:
    Apr 23, 2013
    Messages:
    5
    Likes:
    3
    Location:
    India
    i m using 8051 atmel AT89s52..crstal frequency of 12Mhz. when i googled other forums i came to know that i have arm ESC first does anyone know how to do that...
     
    • Like Like x 1
  7. nandhu015

    nandhu015 New Member

    Joined:
    Sep 3, 2005
    Messages:
    15
    Likes:
    0
    Location:
    India
    AT89s52 is not sufficient for ESC Try faster / larger micro
     
  8. giri19

    giri19 New Member

    Joined:
    Apr 23, 2013
    Messages:
    5
    Likes:
    3
    Location:
    India
    thx for reply nandhu
     
  9. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,160
    Likes:
    909
    Location:
    Rochdale UK

    Why!!! .....0.5ms is 500μS.... with a 12Mhz clock the TOSC is 1μS

    He could easily drive the controller ( even with PWM in software )...
     

Share This Page