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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Test & Tools
  • Technologies
  • More
Test & Tools
Forum Need help measuring 120VAC main
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 12 replies
  • Subscribers 362 subscribers
  • Views 2382 views
  • Users 0 members are here
Related

Need help measuring 120VAC main

totalhighspeed
totalhighspeed over 9 years ago

I built a circuit board to measure 120VAC using a Raspberry PI. I have a bridge rectifier and voltage divider. All using surface mount 1206 parts. Everything works well. When I put a voltmeter on the test point it shows 1/100th the line voltage in DC. However, when I actually look at it on a scope, I see that the ripple is 0 to 1.2v, essentially the full rectified voltage. The filter isn't doing hardly anything.

 

I'm trying to keep is all as small as possible so I'd like to stick with 1206 package for the filtering capacitors especially since the PCB has already been manufactured using these. I did use a through hole for the inductor it has 5mm lead spacing. Can someone recommend what capacitor and inductor values to use to get a cleaner DC(ish) voltage. The voltage divider is before the filtering so using low voltage capacitors are not a problem.

 

I was using 1000pF on C1 and 2200pF on C2 and 100mH for the Inductor. Below is the layout:

 

>-------- L1 ---------->

      |             |

     C1        C2

      |             |

>----------------------->

 

Any help would be GREATLY appreciated...

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 9 years ago in reply to totalhighspeed +3 verified
    First I must give you the quick lecture on mains safety: USE AN ISOLATING TRANSFORMER !!! If your circuit is connected to the mains supply it is not safe. Now to filtering some safe 60Hz AC to measure…
  • D_Hersey
    D_Hersey over 9 years ago +2
    Listen to the nice, smart and pretty folks on this thread and USE A T-FORMER!
Parents
  • jc2048
    0 jc2048 over 9 years ago

    If you are determined to use the circuit you posted, be sure to label the line and neutral carefully and make sure anyone who maintains it knows that they must be wired the correct way round. If you swap them, you'll still get the voltage reading, but the GND of the Raspberry PI will get to -170V relative to mains earth.

     

    I'm assuming here that the output of the PSU to the PI floats and that you live in a part of the world where the neutral is close to mains earth (which seems to be everywhere).

     

    image

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • jc2048
    0 jc2048 over 9 years ago

    If you are determined to use the circuit you posted, be sure to label the line and neutral carefully and make sure anyone who maintains it knows that they must be wired the correct way round. If you swap them, you'll still get the voltage reading, but the GND of the Raspberry PI will get to -170V relative to mains earth.

     

    I'm assuming here that the output of the PSU to the PI floats and that you live in a part of the world where the neutral is close to mains earth (which seems to be everywhere).

     

    image

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify 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