I wish my Arduino to know the state of a neon oven lamp; i.e., whether it's ON or OFF.
Does anyone have a favorite, economical circuit to civilize the 240VAC required by the neon bulb to a saner, more logic-friendly, Arduino level?
Moderators: adafruit_support_bill, adafruit
thefatmoop wrote:Actually not to muddy things up and i'm sure the 22k resistor would work fine, but remember that you're working in AC so watch those peaks:
(240*sqrt(2)-.7-2)/10mA = 33.7kOhm and at 3.4 watts so 5W standard resistor. I'm guessing 10mA isn't the absolute limit of your optocoupler though. you may want to also put a small cap in parallel to the optocoupler's input to help a little with any spikes.
And don't forget that if the optocoupler's peak is 10mA, try going around 8mA.
Users browsing this forum: No registered users and 6 guests