Variable voltage output from a Pic?


Results 1 to 9 of 9

Threaded View

  1. #3
    mytekcontrols's Avatar
    mytekcontrols Guest


    Did you find this post helpful? Yes | No

    Lightbulb

    Sounds like you need to do some PWM, filter it with an RC network, and if you need to pump this into a low impedance load, use an opamp to buffer the output (Check out the PWM command in your PicBasic Pro Manual).

    Here's a link to something that might interest you:LED fade without PWM command

    However if you need the ability to do other things while the pic is maintaining the PWM output, you would be better off changing over to a PICF628 instead which has a hardware PWM output. Using this pic with PBP's HPWM command, you basically have a set it and forget it situation, with the pic handling the PWM in the background. Check out this link for more info on this chip and its built-in PWM capabilities: http://www.rentron.com/PIC16F628.htm

    I hope that helps you out,
    Last edited by mytekcontrols; - 6th July 2005 at 23:20.

Similar Threads

  1. Serial VB 2005 pic 16f877a problems
    By Snap in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 8th July 2013, 00:52
  2. Replies: 5
    Last Post: - 30th April 2008, 20:01
  3. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46
  4. Output PIC module
    By freelancebee in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th September 2005, 20:10
  5. can a pic remember a variable?
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 18th January 2005, 09: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