Transistors and Resistance

In summary: It'll work connecting EXACTLY like the schematic, it won't work if only two legs are connected. You need the ground reference to set up an adjustable voltage divider like in...In summary, you need to connect the ground reference and the variable resistor in the same way in order for the transistor to work.
  • #1
RhysGM
10
0
Hello, I have a transistor (BC547B) that is being used as a switch, connected to the base I have an 9v battery and an LDR with a maximum resistance of 1m ohms. However this is still not enough not to switch off the transistor. Can someone tell me how I can work out what resistors I need, so the transistor is on in the light and off in the dark?

Links for the components I'm using;

http://www.rapidonline.com/Electron...468/?sid=b45ead51-5d50-4c3d-9f34-1e06a4f70d0c

http://www.rapidonline.com/Electronic-Components/Light-Dependent-Photoresistor-58-0134

Thanks for any help you can give.
 
Engineering news on Phys.org
  • #2
Show us the complete circuit diagram that doesn't work. Just saying you "connected a battery and LDR to the base" isn't enough information for us to guess what the problem is.
 
  • #3
AlephZero said:
Show us the complete circuit diagram that doesn't work. Just saying you "connected a battery and LDR to the base" isn't enough information for us to guess what the problem is.

I'm trying to replicate this, but I think I bought the wrong LDR so I'm trying to work out how to compensate.

http://www.madlab.org/schematics/StopThief.pdf
 
  • #4
You should be able to adjust the VR1 to make TR1 turn off. I don't care how wrong is the LDR, if you adjust VR1 to 0, the transistor will turn off, unless, you connect the components wrong.
 
  • #5
yungman said:
You should be able to adjust the VR1 to make TR1 turn off. I don't care how wrong is the LDR, if you adjust VR1 to 0, the transistor will turn off, unless, you connect the components wrong.

Is that because resistors in parallel can be caluculated by;

R5 (47kΩ) * VR (0Ω) / R5 (47kΩ) + VR (0Ω) = 0 / 47k = 0Ω resistance?

So am I to assume if there is no resistance, the current will not even go through the transistor? Would this still be the case if there was nominal resistance say 1Ω?

If this is the case I must have wired up my circuit incorrectly.

http://www.rapidonline.com/Electronic-Components/47k-Pnz10za-Preset-Potentiometer-67-0470

This is the variable resistor I'm using, it has 3 legs and I've connected the middle leg and one of the outside legs and left the other one connected to nothing. Is this correct?
 
  • #6
This is the variable resistor I'm using, it has 3 legs and I've connected the middle leg and one of the outside legs and left the other one connected to nothing. Is this correct?

Well that could be one way to connect a pot as a variable resistor but it does not conform to your circuit diagram, which uses the other way and connects all three terminals.

It also depends upon what you have connected the middle leg and one outer to.

Since you have made this construction error, check and double check the rest of the circuit.

Part of the learning process is to find out how often we miswire our circuits first time, which is quite often for most people.

Another possible source of construction error is to check that your transistors have the same pinout as that given in the circuit.
It is easy to identify the b, c and e leads with an ohm meter. Check the direction of the two diodes in the device.

go well
 
Last edited:
  • #7
In your schematic, you have the VR1 connected with the last leg to the ground! It is wrong to leave one leg open.

The LDR and the parallel combination of R5 and VR1 form a voltage divider. As light hit the LDR, the resistance goes lower and the voltage at the base of the TR1 goes up. When the base of TR1 goes to about +0.7V, the transistor turns on. VR1 is to use to adjust the light level when the TR1 turns on.
 
  • #8
yungman said:
In your schematic, you have the VR1 connected with the last leg to the ground! It is wrong to leave one leg open.

It's hardly that desperate to do it that way. It looks, though, that you connected the two ends of the variable resistor into the circuit and left the slider disconnected - hence, it was always 47kR.

I'd bet the transistor would turn off if your removed the LDR completely from the circuit (it should, if the rest of the circuit is wired right).
But check, check and check again. Better men than you and I have managed to get that sort of thing wrong, initially.
 
  • #9
sophiecentaur said:
It's hardly that desperate to do it that way. It looks, though, that you connected the two ends of the variable resistor into the circuit and left the slider disconnected - hence, it was always 47kR.

I'd bet the transistor would turn off if your removed the LDR completely from the circuit (it should, if the rest of the circuit is wired right).
But check, check and check again. Better men than you and I have managed to get that sort of thing wrong, initially.

It'll work connecting EXACTLY like the schematic, it won't work if only two legs are connected. You need the ground reference to set up an adjustable voltage divider like in the schematic.
 
  • #10
For the record there are two ways to connect a pot as a variable resistance.

In Rhys' circuit the pot needs to be connected as a variable resistance. The potential divider comes from the fact that this variable resistance is in parallel with another resistor.

Method 1
It can be connected as Rhys has (possibly) done with one connection to one of the fixed ends of the track and the other to the wiper. This leaves the second fixed end not connected.

Method 2
It can be connected using all three terminals by conenecting one fixed end into circuit and then connecting the wiper directly to the other fixed end, thus shorting out a section of track, leaving the remaining track available as a variable resistance, depending upon the position of the wiper. The second connection to the circuit is made at the other fixed end.

This is the method shown in Rhys' circuit diagram.

There are advantages and disadvantages to both methods but many old time hands (yungman?) will prefer the method 2 because if the wiper lifts off (disconnects from the track) as sometimes happens methods 1 can leave section of circuit open circuit, whereas the track resistance is always in circuit in method2.
 
  • #11
There are many ways to get the job done, I might do it totally different if I were to design it. I just follow the original schematic and trouble shoot why it does not work. As per the schematic, you open the ground, it will not work.
 
  • #12
There are many ways to get the job done, I might do it totally different if I were to design it. I just follow the original schematic and trouble shoot why it does not work. As per the schematic, you open the ground, it will not work.

This is the variable resistor I'm using, it has 3 legs and I've connected the middle leg and one of the outside legs and left the other one connected to nothing. Is this correct?

Yes indeed but we don't know what Rhys connected the two ends to. I remember when I first started I used to wonder why method 2 was always designed (until I found out) when method 1 was simpler to connect. I often thought I was being clever using method 1 and I was lucky enough to get away with it.
 
  • #13
I'm actually using Stripboard Magic to work out the logic for me as I got a couple projects wrong on my own. I've screen printed what Stripboard Magic told me to do however I assumed it got the VR wrong so I basically moved everything on row 10 down to row 11 without the break. This did not work and after your suggestions I put a wire between VR1a and VR1w. This also doesn't work, however when the VR is set to 0 the buzzer changes pitch.

I think I've tried both methods 1 and 2. I've used a sharp knife to score between the strips and checked with a magnifying glass and trippled checked everything is the same on my board as the diagram.

Have I messed up using the VR? Does anyone have a simple schematic that teaches me about VRs and potentimeters etc? Stripboard Magic doesn't like using all 3 points, so something simple I can work out myself would be great. Any suggestions?

Cheers.
 

Attachments

  • Screenshot from 2012-11-26 18:51:55.png
    Screenshot from 2012-11-26 18:51:55.png
    32.6 KB · Views: 372
  • #14
yungman said:
It'll work connecting EXACTLY like the schematic, it won't work if only two legs are connected. You need the ground reference to set up an adjustable voltage divider like in the schematic.

We were at cross purposes there. I was, of course, expecting a path to ground.
 
  • #15
If I were you I would get the switch working first.

Temporarily connect a resistor between 1k0 and 2k2 from the collector of TR1 to the junction of R4 and LED1.

This will bypass the buzzer and multivibrator, without damaging them but allow TR1 to switch on and off the LED.

Then you can work on getting the switch working correctly.
 

1. What is a transistor?

A transistor is a semiconductor device that is used to amplify and switch electronic signals. It is made up of three layers of material, usually silicon, with each layer having a specific electrical property. It is a fundamental component of modern electronic devices.

2. How does a transistor work?

A transistor works by controlling the flow of electrons through its three layers. The first layer, called the emitter, provides a source of electrons. The second layer, called the base, controls the flow of electrons from the emitter to the third layer, called the collector. By varying the voltage applied to the base, the transistor can either allow or block the flow of electrons from the emitter to the collector, effectively amplifying or switching the electronic signal.

3. What is the difference between a PNP and NPN transistor?

A PNP transistor has a layer of positively charged material sandwiched between two layers of negatively charged material, while an NPN transistor has a layer of negatively charged material sandwiched between two layers of positively charged material. This difference in the arrangement of the layers affects the direction of electron flow and the way the transistor amplifies or switches electronic signals.

4. What is resistance and how does it affect a transistor?

Resistance is the measure of how much a material opposes the flow of electrical current. In a transistor, resistance can affect the amount of current that flows through the device. If the resistance is too high, it can limit the performance of the transistor and prevent it from properly amplifying or switching the electronic signal.

5. How can I calculate the resistance of a transistor?

The resistance of a transistor can be calculated by using Ohm's law, which states that resistance is equal to voltage divided by current. However, the resistance of a transistor can vary depending on the type of material used, the size and shape of the transistor, and the voltage applied. It is best to consult the manufacturer's datasheet for the specific resistance values of a particular transistor.

Similar threads

  • Electrical Engineering
Replies
11
Views
1K
  • Electrical Engineering
Replies
5
Views
2K
  • Electrical Engineering
Replies
3
Views
3K
  • Electrical Engineering
Replies
4
Views
2K
  • Electrical Engineering
Replies
6
Views
1K
  • Electrical Engineering
Replies
18
Views
3K
  • Electrical Engineering
Replies
4
Views
3K
  • Introductory Physics Homework Help
Replies
1
Views
2K
  • Electrical Engineering
Replies
7
Views
3K
  • Electrical Engineering
Replies
8
Views
16K
Back
Top