0-10v dc


Closed Thread
Results 1 to 25 of 25

Thread: 0-10v dc

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    42

    Default 0-10v dc

    Hi All,
    I need a 0-10v Dc control voltage for control an electronic ballast.
    using an Op Amp and a PIC PWM output, (16f77,4mhz)
    i need to control 0-10v in 10steps with UP and Down Buttons..

    Please help..
    Thanks.

  2. #2
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Try the attached schematic. Apply pwm to Vin. With trail and error adjust pwm to output the disired voltage. Then enter these values in your code.

    Al.
    Attached Images Attached Images

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aratti View Post
    Then enter these values in your code.
    Al.
    What code? I think the O/P wants the code written for them...
    With that schematic, a digital pot, a voltage divider, an A/D input, and a bit of trickery, a person should be able to hook up a PIC to auto-track/correct the output voltage...
    That's a handy little idea to have around...

  4. #4
    Join Date
    Sep 2006
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    What code? I think the O/P wants the code written for them...
    With that schematic, a digital pot, a voltage divider, an A/D input, and a bit of trickery, a person should be able to hook up a PIC to auto-track/correct the output voltage...
    That's a handy little idea to have around...
    Dude! I agree that you are a genius, but i am Just a learner.. support ppl who wants some help but dont try to stop who willing to help..

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by naga View Post
    Dude! I agree that you are a genius, but i am Just a learner.. support ppl who wants some help but dont try to stop who willing to help..
    Ok, fact #1 - I'm no genius...
    fact #2 - good luck getting your code to compile and work in MeLabs PicBasicPro (any version)
    And...that code you posted...why would it stop for you? There's nothing in there to make it stop!

  6. #6
    Join Date
    Sep 2006
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Ok, fact #1 - I'm no genius...
    fact #2 - good luck getting your code to compile and work in MeLabs PicBasicPro (any version)
    And...that code you posted...why would it stop for you? There's nothing in there to make it stop!
    Thank you very Much, actually i was trying that code in proton,by mistake i pasted.will delete now.
    Since you are a senior member of this forum, and you also understood what code i am searching for, Could you pls help me out. i need to adjust the voltage 0-10 with 2 buttons..
    Help would be appritiated..
    Warm Regards..

  7. #7
    Join Date
    Sep 2006
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Deleted.. Sorry.
    Last edited by naga; - 16th October 2008 at 14:58.

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: 2
    Last Post: - 2nd March 2005, 21:04

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