Generating multiple PWM signals using Arduino

Discussion in 'Embedded Systems and Microcontrollers' started by mghg13, Sep 3, 2015.

  1. mghg13

    Thread Starter Member

    Jul 17, 2013
    63
    0
    Hello,
    I am building a power converter to drive a motor. The power converter MOSFETs are to be driven by PWM signals (in the order of 10 kHz) from an arduino uno. The uno must also accept a feedback signal from a speed sensor in order to adjust the PWM so that the motor maintains its speed in case the motor is loaded. Note that there are 2 MOSFETs to be controlled in the power converter.

    Considering the way arduino sketches are written, I would like to know (from you experienced guys), whether this is possible? I need to know this before embarking on the project.
     
  2. pwdixon

    Member

    Oct 11, 2012
    488
    56
    The Uno has a number of PWM outputs so it should be quite possible. The PWM does run at 980Hz though not 10kHz. You might be able to get to that frequency if you bit-bang the PWM yourself.
     
Loading...