4 to 20 mA generator help


Closed Thread
Results 1 to 13 of 13
  1. #1
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50

    Default 4 to 20 mA generator help

    Hi, I would like to make a 4 to 20 ma generator to test the analog input on a plc. As always I have been working on this for a while before I come running for help to the forum and am still at a loss. I can generate a 0 to 5 volt dc signal with a simple pot but can not get the mA to co-relate. I also have researched and know that a 250 resistor will convert the 0 to 5 to 4 to 20.but I can't make it work and to top it off I blew the fuses in my fluke and it cost 80 bucks for new ones. I would like to display the settings on an lcd so I would like to use a pic and pic basic. I can handle the lcd stuff but I just need a direction. As always I will post the results when I get it working.
    Thanks again great forum,
    Snap
    Beer is proof that God loves us and wants us to be happy.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Here is a start
    http://www.picbasic.co.uk/forum/showthread.php?p=60872
    a 250 resistor will convert the 0 to 5 to 4 to 20.
    I think that is wackbards?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Default

    Sorry I ment to say A 250 ohm resistor should convert 0 to 5 volts to 4 to 20 mA.
    Beer is proof that God loves us and wants us to be happy.

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Snap View Post
    Sorry I ment to say A 250 ohm resistor should convert 0 to 5 volts to 4 to 20 mA.
    Thought so, just checking
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Default

    Cool Halloween picture.
    Beer is proof that God loves us and wants us to be happy.

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Snap View Post
    Cool Halloween picture.
    Thanks!
    What I look like now and what I will someday look like
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Dec 2003
    Location
    Storrs, Ct.
    Posts
    91


    Did you find this post helpful? Yes | No

    Default What I used.

    In my old days as a service tech I used this.

    http://www.kele.com/olcat/TE7/CLC-100.PDF

    Unfortunately I don't have a schematic for it. I think it sells for around $600 without the PWM option. There's got to be a cheaper way to roll your own.
    "It will never happen here!" just happened here.
    My thoughts and prayers for Sandy Hook victims and families.

  8. #8
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Default

    Thanks, but I don't need all the bells and whistles and would like to build it myself (to learn). There has to be an easy way to do this I am just missing something. I just need a start. I see the problem might be where to put the extra amps when I throttle them down from 20 to 4. It I pulsed the pic like controlling a dc motor speed it might work but what does that do to the amps? I think there is a IC that might work has anyone done this before?
    Beer is proof that God loves us and wants us to be happy.

  9. #9
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Snap View Post
    I think there is a IC that might work has anyone done this before?
    Did you read the thread from the first post?
    This was in there
    http://www.maxim-ic.com/appnotes.cfm...te_number/722/
    has a list of chips.
    Dave
    Always wear safety glasses while programming.

  10. #10
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Thumbs up

    Duh, I cant believe I missed that. I must have been too caught up in your picture.
    I will order one and see if I can modify it. I will post results thanks.
    Beer is proof that God loves us and wants us to be happy.

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


    Did you find this post helpful? Yes | No

    Default

    Try this simple circuit using a LM350 and 120 ohms pot, it should resolve your need.

    See the attached diagram.

    Al.
    Attached Images Attached Images

  12. #12
    Join Date
    Apr 2007
    Posts
    53


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Snap View Post
    Hi, I would like to make a 4 to 20 ma generator to test the analog input on a plc. As always I have been working on this for a while before I come running for help to the forum and am still at a loss. I can generate a 0 to 5 volt dc signal with a simple pot but can not get the mA to co-relate. I also have researched and know that a 250 resistor will convert the 0 to 5 to 4 to 20.but I can't make it work and to top it off I blew the fuses in my fluke and it cost 80 bucks for new ones. I would like to display the settings on an lcd so I would like to use a pic and pic basic. I can handle the lcd stuff but I just need a direction. As always I will post the results when I get it working.
    Thanks again great forum,
    Snap
    I came across this diagram some time back. Maybe this gives you what you want?
    Attached Images Attached Images  

  13. #13
    Join Date
    Apr 2007
    Location
    Southern Ontario
    Posts
    50


    Did you find this post helpful? Yes | No

    Default

    Thanks for all the help I ll get working on it and post the results.
    Snap
    Beer is proof that God loves us and wants us to be happy.

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. 4 to 20 ma signal DAQ question
    By Snap in forum General
    Replies: 3
    Last Post: - 3rd October 2007, 18:53
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. A little DTMF help
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 48
    Last Post: - 30th May 2006, 01:31
  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 : 1

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