Problems with DC motors


Closed Thread
Results 1 to 4 of 4
  1. #1

    Default Problems with DC motors

    Everybody!! I have a pic that activates two dc motors but when they run my pic goes crazy and does not responde to external interruptions so, I was wondering wich of all you could tell me how to make this works just fine. What´s the best interface to use and how to build it!? The current that the dc motors use is about 0.7 - 0.8 A.

    Thank you

  2. #2
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    Can you post the schematic diagramm of what you build? Then mayby we can see what you forgot or what is wrong!

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    more than likely i'll use MOSFET to drive them or dedicated chip. I will use a different supply line. I mean if your motor are 5Volt, i will use a separate voltage regulator ONLY for them. Never share the PIC and logic Vdd line with the target load supply line.

    Also,
    1. i'll use a different ground for my PIC and for the Motors.
    2. i'll tie all unused pin of the PIC to somewhere (vdd or GND)
    3. i'll ensure the PIC Vdd line is correctly filtered
    4. i'll screen the PIC and controller section properly to avoid incoming noise and spikes
    5. maybe i'll use opto-isolator between the PIC and the motor driver. In your case.. it shouldn't be too much of problem as you don't drive a lot of current
    6. i'll insert a bead on the PIC gnd line

    HTH
    Last edited by mister_e; - 22nd July 2006 at 21:37.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Inn addition to mister_e's,

    1. if you are able to turn off MCLR , then turn it off.
    If not, put a 47K pot on MCLR pin and adjust it until your problem goes away.

    2. Also, use BOD_OFF in config.
    You will most likely solve the problem just by doing this.

    3. With BOD_OFF, you can even use the PIC on the same power supply. I am using 16F628A PWM to drive IRFZ44 on the same power supply and the motor is pulling 9A at its max. No problem at all.
    Last edited by sayzer; - 9th August 2006 at 08:12.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. Replies: 24
    Last Post: - 1st December 2009, 08:01
  2. from 5v dc to 1.00v dc precise vref 10mA ?
    By phoenix_1 in forum Schematics
    Replies: 10
    Last Post: - 28th July 2009, 08:11
  3. Current flow controller for DC Motors
    By mikebar in forum Schematics
    Replies: 24
    Last Post: - 28th March 2009, 17:23
  4. Brushless DC Motors
    By Patrick in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd November 2007, 20:29
  5. problems with Servo Motors...
    By saturnX in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2006, 01:43

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts