0 - 10V input on PIC 16F876


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    thank you actually it seems quite obvious, why didn't I think of it, but thanks...
    but what if I want to use the 0 - 10 volts as an output...
    it only sends out 0 - 5 volts...
    is there some kind of transistor that when the base opens in the range of 0 - 5V, the transistor slowly opens, and sends out (from collector to emitter) a range of 0 - 10Volts... or is there another way??

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Angry Some have given their time ... but Whhhhhhyyyyy ???

    Hi,

    a little search on this forum could have raised Our Friend Darrel had designed a more than fair tool for such voltage dividers calculations.

    and overall some idiotproof items included ...
    ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by slayerizer View Post
    but what if I want to use the 0 - 10 volts as an output...
    it only sends out 0 - 5 volts...
    is there some kind of transistor that when the base opens in the range of 0 - 5V, the transistor slowly opens, and sends out (from collector to emitter) a range of 0 - 10Volts... or is there another way??
    What do you mean? Take as an input 0-5 and output 0-10Volts?

    Ioannis

  4. #4
    Join Date
    Feb 2008
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    the PIC only sends out 0-5 volts, but the PC needs to receive 0 - 10 volts... just like its sends 0 - 10 volts...
    how can I send a signal of 0 - 10 Volts to the PC, when I use a PIC that only sends out 0-5 volts..

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by slayerizer View Post
    the PIC only sends out 0-5 volts, but the PC needs to receive 0 - 10 volts... just like its sends 0 - 10 volts...
    how can I send a signal of 0 - 10 Volts to the PC, when I use a PIC that only sends out 0-5 volts..
    So.......
    Are you trying to make a digital output (0 or 5v) from the PIC into an analog (0-10v) output to the PC? Why would a PC need to receive 0-10v? (I smell an RS232 question coming up in the next reply)
    For what reason? A PC doesn't usually have an A/D converter on it...at least not one that the average joe can use with any success...unless you've got a PCI/ISA D/A card of some sort.

  6. #6
    Join Date
    Sep 2007
    Posts
    50


    Did you find this post helpful? Yes | No

    Default 0 - 10 volt

    A lot of older theatrical dimming systems used 0-10V as a dimming reference. Is this what you want to do? You could use a DAC chip from MAXIM. How much current do you need to source?
    Last edited by krohtech; - 8th February 2008 at 18:11. Reason: oops
    Best Regards,

    Kurt A. Kroh
    KrohTech

    “Goodbye and thanks for all the fish”

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by slayerizer View Post
    the PIC only sends out 0-5 volts, but the PC needs to receive 0 - 10 volts... just like its sends 0 - 10 volts...
    how can I send a signal of 0 - 10 Volts to the PC, when I use a PIC that only sends out 0-5 volts..
    That is an easy thing to do with an op-amp and a gain of x2. Use on like LMC66x series that are rail to rail capable.

    Now as skimask stated, why a PC would need 0-10Volts?

    Ioannis

  8. #8
    Join Date
    Feb 2008
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    thanks you all, I'll manage it from here...
    I was mistaken by saying I needed the 0 - 10 volts to send to pc, i am making an IO Board, that can be controlled by the PC, the analog output (0 - 10V) of the PIC will be used for controlling, what ever I want to make on that IO board...

    Found info about a IO-Warrior24, that is quite similar to what I am making.

    anyhow, I'll try the op-amp... that'll probably work

Similar Threads

  1. Replies: 67
    Last Post: - 8th December 2009, 03:27
  2. input logic threshold level for pic 16F628
    By aratti in forum General
    Replies: 4
    Last Post: - 29th December 2008, 12:35
  3. Midi, Interrupts and Pic better than SX28?
    By Lajko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th September 2008, 01:26
  4. Can a PIC PIC a PIC?
    By afbecker in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd January 2008, 20:55
  5. Little pic trainer for 16F876
    By chkdsk in forum Schematics
    Replies: 1
    Last Post: - 8th August 2004, 18:21

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