How to activate a relay using a phototransistor

  • Thread starter Thread starter Sauce6378
  • Start date Start date
  • Tags Tags
    Relay
AI Thread Summary
To activate a relay using a phototransistor, it's important to note that the phototransistor may not provide sufficient current due to its high resistance, even in bright light. An amplifier circuit is recommended to boost the current, and using a small power transistor like a TIP31 or BD139 can be effective. Adjusting the voltage to around 9 volts and including a series resistor of about 1000 ohms may improve performance. For reversing the relay action, specific resistor values must be calculated to ensure the transistor receives adequate base current. Properly configuring the circuit will allow the relay to operate based on the phototransistor's state in varying light conditions.
Sauce6378
Messages
3
Reaction score
0
I am trying to use some 6 volt phototransistor sensors as inputs to a plc. Can someone tell me how come the relay will not energize when the phototransistor is conducting? Thank You
RELAY2.jpg
 
Engineering news on Phys.org
The relay needs quite a large current to make it work and the phototransistor has too much resistance, even in bright light, to let that much current flow.

So, you need an amplifier like this:

http://dl.dropbox.com/u/4222062/Relay%20driver%203.JPG

Although you might need a bit more than 6 volts (maybe 9 volts) and you might need a resistor in series with the phototransistor (maybe 1000 ohms). But it might work well enough as shown.

The transistor can be a small power transistor like a TIP31 or a BD139.
 
Last edited by a moderator:
Thank You So Much! Sauce
 
Thanks for the personal mail.

To reverse the action, you would need to use a circuit like this:
http://dl.dropbox.com/u/4222062/Relay%20driver%204.JPG

To find out the right values for the resistors, R1 and R2 you will need to find out the value of base resistor that gives enough collector current to pull the relay in.

Suppose you found that 4700 ohms instead of R1 and R2 would make the relay pull in.
(You would do this without the phototransistor.)
Then you could make R1 and R2 both 2.2K.
R1 should equal R2 and the two should add up in value to the total resistance you found would turn the transistor on.

If the phototransistor is on, (in bright light) then the junction of R1 and R2 will be low causing the transistor to turn off and the relay to drop out.
When the phototransistor is off (ie in darkness) the relay will pull in because the transistor will get normal base current.
 
Last edited by a moderator:
Thanks Again! Sauce
 
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top