This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PM or F28027 C2000 Piccolo: Which is better for controlling DC Motor ?

Other Parts Discussed in Thread: TM4C123GH6PM

Hi everyone, I'm a newbie. Like mentioned question, I need to control 2 DC motors that have a encoder each. To control speed or position of motor, I have to read encoder feedback, calculate algorithms like PID and update PWM output. For now, I have two options are TM4C123GH6PM  and F28027 C2000 Piccolo. Which is better or newer solution?

Thank you,

Dang Ho

  • It is likely that response to your post will improve if you provide further detail & data.  Absent in your writing (thus far) is any indication of performance requirements. That would be helpful - don't you agree?

    In general - if the performance requirements are not too high - either MCU may serve. (I expect that the C2xxx family includes 2 "QEI/Encoder" modules - I'm unsure as to TM4C123.  Note that there is also a TM4C129 family - which often proves faster & better equipped than 123.

    Eval boards are low cost - available for "all of the above" - and your development w/each board may well prove the best means to determine the (best) solution...

  • Hello Dang

    What kind of DC motor are you interfacing?

    Regards
    Amit
  • Actually, I need to build two-wheeled mobile robot. Two wheels are driven by two 12V small DC motor like these: guide.alibaba.com/.../2pcs-new-arrival-ga25-310-micro-motor-dc-geared-motor-gear-motor-3v-6v-12v_5957761.html . I have to control speed and position of each motor to infer speed and position of robot precisely. To do that, I read encoder feedback, maybe use PID control algorithm and PWM out. Current speed and position parameters are transferred to wireless MCU (through CAN or another kind of protocol) which transfer these parameter again to my computer. That's all.
  • Hello Dang,

    Both TM4C12x and Piccolo are equally capable of doing the control. Both devices have PWM for output and QEI/QEP for encoder wheel feedback. TM4C12x devices have additional design resources like Wireless connectivity reference designs that can be used for communication.

    Regards
    Amit
  • ho anh dang said:
    I read encoder feedback ... use PID control algorithm and PWM out. Current speed & position parameters are transferred to wireless MCU (through CAN or another kind of protocol) which transfer ... to my computer. That's all.

    The (ever) clarifying, "That's all" greatly soothes.   Speed & Position are to be (precisely) controlled - yet minus the (continued) presentation of ANY performance specification, "accuracy and/or precision" are unlikely.   Very Unlikely.   And That's all!

    You've a laundry list of requirements to meet - neglect of the performance "basics" (somehow) does not ring out as, "Best Practice."

    You surely will benefit from search, study and adoption of, "KISS."   Attacking so broad a project - in parallel - is almost guaranteed to fail or incur huge delays and morale sapping, "Progress exits."    Dividing your project into constituent parts - ideally eliminating the most complex - and focusing upon one small, measurable aspect of your project is the "best & fastest" path to success...