4 Quadrant dc drive with 16F877


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Use the inbuit hardware PWM

    Hi,

    You can set up the hardware PWM for a constant frequency output without any code overhead. Then you can sample your pot and dump it to the PWM duty cycle. Both are 10 bits. Easiest way to get a pot controlled variable dutycylce signal.

    Regards

    Sougata

  2. #2
    mns45's Avatar
    mns45 Guest


    Did you find this post helpful? Yes | No

    Default

    I have an algoritm for how I create pulse to drive mosfets. I take the value from tako and I compare it the control voltage (I set it with pot at first) and I get new D. I want to see some code examples in assemble for analog to digital conversion by using a pot in pic input (1* to set reference voltage and 2* for tako feedback). In my program, pic is continuously take voltage which comes from tako, and change duty cycle. If you give me some code examples or web pages includes written programs in these topics, i will happy more.
    Thank you for your interest.

Similar Threads

  1. 4 pin 4 x 4 keypad interface using pic basic pro
    By dunlao_john in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th January 2009, 05:21
  2. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  3. ISD4003 & 16F877 Interface
    By sayzer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th December 2006, 17:50
  4. problem using 16f877
    By yrch in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 20th February 2006, 18:58
  5. Real Time Clock & Eeprom
    By smart_storm in forum General
    Replies: 8
    Last Post: - 17th February 2006, 19:03

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