element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum http://www.raspberrypi.org/forums/viewtopic.php?p=583236#p583236
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 7 replies
  • Answers 2 answers
  • Subscribers 675 subscribers
  • Views 499 views
  • Users 0 members are here
  • raspberry_pi
Related

http://www.raspberrypi.org/forums/viewtopic.php?p=583236#p583236

grahamedriver
grahamedriver over 11 years ago

Hi

 

Would anyone like to comment on this circuit?

  • Sign in to reply
  • Cancel
Parents
  • shabaz
    0 shabaz over 11 years ago

    Hi Graham,

     

    The circuit is a bit small to see clearly, but as I understand, the need is to detect the presence of mains, and a measurement is not required?

    If so, there are a few ways, such as using resistor and opto-coupler, electric field or transformer. There are also some ICs for this with built-in

    isolation, but possibly not in a DIL-friendly package.

     

    Some air gap is good. There used to be lots of high impedance volt detector circuits using JFETs (discrete JFET circuits are not as popular these days)

    such as 2N3819/4416 I can try to dig some up if required.

    Recently I needed to detect mains (well, actually to detect zero-crossing in my case) and I just used a small transformer, Farnell have some extremely

    compact ones, I used one with 6V output which is 22x22x15mm and a comparator circuit. But then people need to lay out a PCB for mains, and

    this starts getting difficult - see this discussion on mains control. But really if the OP just wants to detect mains, he could use any pre-built mains adapter

    as gordon77 mentioned in that thread.

     

    EDIT: Looks like Avago HCPL-3700 is available in DIL package. It needs series resistance for mains detection, but it has built-in isolation for the

    remote side. The user still needs to lay out a PCB for mains though.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • shabaz
    0 shabaz over 11 years ago

    Hi Graham,

     

    The circuit is a bit small to see clearly, but as I understand, the need is to detect the presence of mains, and a measurement is not required?

    If so, there are a few ways, such as using resistor and opto-coupler, electric field or transformer. There are also some ICs for this with built-in

    isolation, but possibly not in a DIL-friendly package.

     

    Some air gap is good. There used to be lots of high impedance volt detector circuits using JFETs (discrete JFET circuits are not as popular these days)

    such as 2N3819/4416 I can try to dig some up if required.

    Recently I needed to detect mains (well, actually to detect zero-crossing in my case) and I just used a small transformer, Farnell have some extremely

    compact ones, I used one with 6V output which is 22x22x15mm and a comparator circuit. But then people need to lay out a PCB for mains, and

    this starts getting difficult - see this discussion on mains control. But really if the OP just wants to detect mains, he could use any pre-built mains adapter

    as gordon77 mentioned in that thread.

     

    EDIT: Looks like Avago HCPL-3700 is available in DIL package. It needs series resistance for mains detection, but it has built-in isolation for the

    remote side. The user still needs to lay out a PCB for mains though.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube