Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

220V AC present/absent to TTL logic ?

Status
Not open for further replies.

vlad777

Member
What is the best way to get
220V AC present/absent to TTL logic representation ?
(open collector, 10-15 mA)

I experimented with cny17-3 and I conclude it takes too much
input current (more then 6 mA) to saturate it's output transistor.
Too much input current means more power for resistors and
bigger cap.

Is there a better solution?

Thanks.
 
Optocoupler. I have done it with neon-to-phototransistor, convenient to have hysteresis/filtering to get rid of the 60 Hz if will drive logic.
 
I used a neon bulb superglued to a phototransistor inside black shrink tubing, sealed ends. Still works after 10+ years.
 
I think I will use something like this.
SFH628A would have been better choice.
If a signal passes slow enough trough the middle
TTL logic will oscillate because it will amplifie the noise;
so schmitt trigger might have to be used.
 

Attachments

  • cny.gif
    cny.gif
    10.7 KB · Views: 1,430
Yes, that should work. I used neon because my AC was riding on top of 50V DC and I wanted to recognize the AC presence only.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top