Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 5,000 devices or 10,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

Ongoing

STD 230VAC-monitor

License: Public Domain

Mode: Editors' pick

  • 1.4k
  • 0
  • 0
Update time: 2017-04-17 09:40:46
Creation time: 2016-01-02 05:11:32
Description
*** DANGER - HIGH VOLTAGE *** *** UNTESTED *** This is a simple circuit which allows a micro controller or Raspberry Pi to monitor a 230V AC signal. The 230V power from the mains is applied to the upper terminal. On the lower terminal one has to provide the supply voltage and ground reference. The circuit will output a clock-like signal, which is high by default, but goes low every time the 230V AC goes high. So when your Raspberry Pi or micro-controller sees a low signal, you know the 230V AC line is powered. On the other hand, when the signal remains high for a period of say 100ms, you can safely assume the 230V AC line is switched off. The circuit will most likely not work for 120V AC by default, because the resistors R1-R5 will be too big and thus the current through the optocoupler too low. But you could use 4.7k resistors (also at least 0.25W). Keep R6 as 10k Ohms, as it is mostly unrelated to the AC input voltage. The diode should be a 1N4004 or better (that is for example a 1N4007). I exclusively used 0.25W-rated 10k resistors, because they are commonly available, cheap, and in case you need to buy them, you only have to buy one kind of resistor and not several different. The terminals are 2-pole RM 5mm and 3-pole RM 3.5mm. I use these ones: http://www.pollin.de/shop/dt/MzQxOTQ1OTk-/Bauelemente_Bauteile/Mechanische_Bauelemente/Steckverbinder_Klemmen/Leiterplatten_Anschlussklemme_XY301V.html http://www.pollin.de/shop/dt/NDQ4ODQ1OTk-/Bauelemente_Bauteile/Mechanische_Bauelemente/Steckverbinder_Klemmen/Leiterplatten_Anschlussklemme_XY350.html But it should be easy to fit the PCB to any connector/terminal, also you could just solder some wires directly to the PCB without terminal. I marked the project as "IN PROGRESS" as I hadn't had a chance to test this version. The previous version -which is quite similar to this one- works like a charm though. So I guess that this one also works.
Design Drawing
schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
ID Name Designator Footprint Quantity
1 10k/0.25W R1,R2,R3,R4,R5,R6 R3 6
2 SIP2 P1 HDR1X2_RM5 1
3 SIP3 P2 HDR1X3_RM35 1
4 1N4004 D1 Seeed-DO-41 1
5 SFH618A U1 DIP4 1

Unfold

Project Attachments
Empty
Project Members
Target complaint
Related Projects
Change a batch
Loading...
Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn