Detecting mains current


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Location
    Reading, UK
    Posts
    15

    Default Detecting mains current

    Hi there,

    I'd like to know if there's an easy and preferably cheap (in terms of components) way that my PIC can determine whether current is being drawn by a mains level (i.e. 240V) device. Ideally it would be nice to know how much current too.

    There's nothing to stop me wiring this device into the mains cable, but obviously the pic operates on 5v, and I don't know how to connect the two without incinerating the pic.

    I'm sorry if this is a really inane questions - while I'm reasonably happy with the programming side of things my knowledge of electronics is fairly elementary.

    Any suggestions are appreciated.

    Thanks.

  2. #2
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    With a current transformer you can see if there is a current flowing.
    It's is also possible to take an lowohmic power resistor and a rectifier bridge together connected to an optocoupler. When a sertain vallue of current is flowing the led in the optocoupler is lit and the transistor at the other end is conducting.
    Take in this case an optocoupler what is made for mainsvoltages.

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default

    Hi,
    You can use a hall effect sensor for that. If you want to measure the current have a look at Allegro they have a line of sensors that may be what you are looking for.

    http://www.allegromicro.com/hall/

    IIRC there have been some previous discussions about this, do a little searching on the forum and see if turns up something.

    /Henrik Olsson.

Similar Threads

  1. Replies: 8
    Last Post: - 5th May 2009, 20:10
  2. Replies: 22
    Last Post: - 9th April 2007, 15:25
  3. 16F628A current high during sleep
    By Rubicon in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 9th October 2006, 10:21
  4. Current Meter
    By mikefox in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 18th September 2006, 06:15
  5. Detecting AC current
    By rhino in forum Off Topic
    Replies: 8
    Last Post: - 8th July 2005, 21:31

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