Photocell 220v to arduino

i want to turn on the light with photocell 220v, but the arduino is only up to 5v, what components should i use?

Use a relay. A relay is an electrically-operated and electrically-isolated switch. (It's important to isolate the Arduino from lethal voltages.)

With a relay you can control a high voltage with a lower voltage.

But the Arduino by-itself can't put-out enough current to drive a relay coil so you need a relay driver circuit. There are relay boards for the Arduino with a built-in driver.

Or there are solid state relays (which are optically isolated) that can be driven directly from the Arduino. But note that AC & DC solid state relays are not interchangeable so make sure it's rated for 220V AC or more, and that it can handle the required current (Amps).

FYI - I doesn't require a programmable microcontroller to simply turn a light on & of with a photocell. The logic is simple and it doesn't need software... But it's OK if you want to do it that way.

I actually want to drive the motor using a photocell, but I'm still confused about how to make the 220v photocell readable by Arduino. in my logic photocell only no and nc how can it be read by arduino so that it can be given conditions.

What is this "photocell 220v"?

Do you have a link to any stat about it, or at least where you bought it?

a7


photocell 220v like this

This thing is meant to switch 220 V directly.
It needs 220V to work. Highly not recommended.
Buy a photodiode or phototransistor or ldr.

Setriska,
In the first post you say you want to switch on a light.
But in post 4, you say actually I want to drive the motor.

Which is it: a light, or a motor?

What voltage does your light/motor require to operate?

That photoswitch is rated for 220VAC 10A, so it would probably handle an AC motor directly. Check the instructions/user guide that came with it.

Are you using Arduino only to monitor the motor ON/OFF state, or, do you want to control the motor as well?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.