Author Topic: transistor activation  (Read 1459 times)

0 Members and 1 Guest are viewing this topic.

Offline Jak24Topic starter

  • Full Member
  • ***
  • Posts: 96
  • Helpful? 0
transistor activation
« on: June 19, 2010, 07:50:47 PM »
HI

my  circuit is attached!
how much ohm should resistor 2 be?.....i tried 500 - 1000 ohm but i didn't work :P

here are the datasheets of the:
transistor http://www.fairchildsemi.com/ds/2N%2F2N3904.pdf
and relay: http://www.quazerel.com/datascheet_pdf/12522.pdf   mine is(10 A 12dc ,
coil resistance  = 400 ohm)
please reply ASAP.
thanks

regards

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
    • RazorConcepts
Re: transistor activation
« Reply #1 on: June 19, 2010, 08:52:19 PM »
Try 100 ohm

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: transistor activation
« Reply #2 on: June 20, 2010, 10:35:35 AM »
Hi,

how much ohm should resistor 2 be?.....i tried 500 - 1000 ohm but i didn't work :P
If the transistor is OK, then you probably have wired something wrong or shunted something.

Assuming 12V on the relay the collector current amounts to 12/400 = 30mA
The transistor will have a gain of at least 100, so the base current should be 30m/100 = 300µA

Assuming the digital pin is 5V logic, the base resistor should then be (5-0.7)/300µ = 14.3 kOhm
Selecting 10k you have a bit of overhead (which you need due to the other resistor).

Anything lower should work as well, as long as it doesn't get low enough to load the pin down - you can get the output capability in the datasheet for the mysterious "digital device" having the pin.

1kOhm should work, else go upwards towards 10kOhm (don't go lower).
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline gamefreak

  • Supreme Robot
  • *****
  • Posts: 543
  • Helpful? 2
  • Robo-Enthusiast
Re: transistor activation
« Reply #3 on: June 23, 2010, 06:18:42 AM »
I am curious as to why you have a 10k Ohm resistor between the base and ground. Since transistors are current devices shouldn't it shut off naturally without the need to be pulled down?
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,944
  • Helpful? 99
Re: transistor activation
« Reply #4 on: June 23, 2010, 07:12:59 AM »
I am curious as to why you have a 10k Ohm resistor between the base and ground. Since transistors are current devices shouldn't it shut off naturally without the need to be pulled down?

Leakage from the collector to the base can pull the base high enough for the transistor is start conducting. Sometimes this doesn't happen but many times it does. Therefore its good practice to ensure that the base stays off especially when driven from a processor output pin as most processors pins are inputs, hi-Z, after a power on reset until the code sets the pin to output.

 


data_list