Driving a DC motor /w 16f84a


Results 1 to 19 of 19

Threaded View

  1. #17


    Did you find this post helpful? Yes | No

    Post Oh my God please PWM it!

    I didnīt read much of it, but you could do so many things!!.

    First of all i would recommend a PWM always for this DC motors, they are really Current eaters, if the 16f84 donīt has it (it doesnīt) you can provide something with a simple timer, and a word counter. increase the counter on each interrupt an play with its value to decide if the pin goes HIGH or LOW. I really recommend to meet at last the 16f628 you get so many more stuff that you will never go back to 16f84, youīll get for example a great PWM in one sentence.

    I have in my hands the irf530 right now, it should make the work; I donīt have the greatest memory but i do remember that this Motor is an inductor and it will help you to use a diode (1n4004 or a Switcher if using PWM) to reduce peak currents on the level change from ON to OFF, you might have used this diode on relays for the same purpose.

    If you canīt use different batteries for the motor and control (if you can then use an optocoupler) then be sure to add some capacitors to the uC Vcc-Vdd as close as possible (this is a classic one).

    Donīt know if you are also using a Vreg if you are he is the one shutting down after heating.

    Working with small batteries and getting power out of them is a real challenge, if you can go for a better source (you can usually do this for college asignments)
    Last edited by Josuetas; - 15th May 2007 at 05:04.

Similar Threads

  1. DC to AC convertor
    By The Master in forum Off Topic
    Replies: 11
    Last Post: - 6th February 2010, 17:44
  2. Replies: 24
    Last Post: - 1st December 2009, 08:01
  3. 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
  4. PIC data along dc line
    By sswcharlie in forum General
    Replies: 0
    Last Post: - 30th August 2008, 08:38
  5. H-Bridge control DC motor
    By Paul F in forum General
    Replies: 8
    Last Post: - 11th March 2005, 12:50

Members who have read this thread : 0

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