Arduino project with Laser, Photocell and relay.

Hi.

I'm new to the arduino world and such.
Thinking about using one of these neat things for a project I'm working on.

Im considering useing this component to power on a laser, control a photocell and a relay.

My question with using this is there a way to program it that when the photocell trips and loses power from a light beam, can the board trip a relay and keep it tripped for, lets say 3 minutes? Also what is the output power of this chip? Say I need 12v output connected to the relay, can this do it?

This is the photocell I think i wanna use:
http://vakits.com/nf-arduino-photocell-controlled-relay-shield-kit-4523

Yes you can do you this.
You will need to buy a 12VDC wall wart.
I don't see a schematic for the board.
You will need a transistor, probably 2N2222 to pick the 12 Volt relay.
The code would be fairly simple once you have progressed through the examples that come with the Arduino IDE.

Awesome deal!

Now I've never done any type of programing and I'm going to do making 8 of these.
Is learning to program this pretty simple to learn?

Do you or anyone know how many amps the board will require?

And so the 2N2222 transistor may be needed to achieve 12v correct?
Do you know the actual output of the board?

I didn't see if arduino its self had a photocell board. Do you know if they do?

Do you know the actual output of the board?

An output pin of an Arduino is 5V when high and 0V when low.
To get 12 V you feed this through a resistor to the base of a transistor. The emitter goes to ground and the collector to one end of your relay coil. The other end goes to a 12V power supply.

please read up on relays.

The relay is a device that has two sides. the signal side and the power side. never the twain shall meet.

there is no reason you relay cannot switch 460 volts on a 3 phase motor. easy as pie.

that relay would get a 5 volt signal from the arduino to do that work.

one side, signal
one side power

ps : please go back change the subject line to represent the actual topic being discussed.
something like laser and photocell with relay you will get many more views

dave-in-nj:
please read up on relays.

The relay is a device that has two sides. the signal side and the power side. never the twain shall meet.

there is no reason you relay cannot switch 460 volts on a 3 phase motor. easy as pie.

that relay would get a 5 volt signal from the arduino to do that work.

one side, signal
one side power

ps : please go back change the subject line to represent the actual topic being discussed.
something like laser and photocell with relay you will get many more views

I did change the topic, sorry about that.
So basically I should just use a 5V relay instead.

I do know how a relay works. We have 12v relays and just wanted to use them but if I have to get a 5v to make it easier than I will.

So basically I should just use a 5V relay instead.

No, you will still need a transistor as the arduino can not supply enough current to drive a 5V relay.

the Arduino can switch a 12V relay, needs a transistor.
needs a transistor to switch a 5v relay because of the power needed.

remember to put in the protection diode !

if you have relays, by all means use them.

A transistor and protection diode. Okay how do I determine exactly which transistor I would need to trip a 12v relay? Just need to find one that will take a 5v and amplify it to 12v correct?
Is it the 2N2222 transistor like someone mentioned?? What about the protection diode?

try a search for "transistor relay" - or even put in the "2N2222", stick "Arduino" in for good measure.

Just need to find one that will take a 5v and amplify it to 12v correct?

Not amplify but switch.

Just need to find one that will take a 5v and amplify it to 12v correct?

Yes that will work.

What about the protection diode?

Look at the first diagram here:-
http://www.thebox.myzen.co.uk/Workshop/Motors_1.html
And replace the motor with your relay coil.

Well I dont think I will need to do this now.

I was reading up in the arduino photocell I found from night fire.
It says it actually has a 7amp 250VAC relay build on the board.

I have 24vac line that needs to go though the relay to a valve that is 24VAC .30amps
Im more of a laser person, not really an arduino, programming type of guy so this is a learning process for me.

Here is kind of a drawling of what I need done.
Hopefully this will help.

Can anyone help me by determining if I would need that protection diode or transistor if I was to use the relay that is built on that arduino photocell/relay board?