Skip to main content

All Questions

5 votes
1 answer
3k views

how to interface HCPL-3700 optocoupler to an input pin of ATmega16L

I want to detect logic of the mains supply (230VAC, 50Hz) and feed the output of HCPL-3700 into ATmega16L. I read through the datasheet but could not understand how to calculate the resistor values. ...
David Norman's user avatar
  • 1,495