[ Log In ]
USB 2.0 Cable 10 Foot Type A Male to Type B Male

USB 2.0 Cable Type A Male to Type B Male - 10 FT

$4.80
Qty:
Multimeter Security Banana Plug To Test Hook Clip Probe Lead Cable 500V

Multimeter Security Banana Plug To Test Hook Clip Probe Lead Cable 500V

$8.99
Qty:
3 Foot USB Cable Type A to USB Cable Type A

USB Cable Type A Male to USB Type A Male - 3 FT

$2.65
Qty:
84 oz-in NEMA 17 Stepping motors (also called stepper motor)
Image of the Atmega324p

Atmega324P

$8.50
Qty:

10K timmer potentiometer

10K Trimmer Potentiometer (Through Hole)

$0.85
Qty:
16x2 LCD (Liquid Crystal Display)

16x2 LCD (Liquid Crystal Display)

$12.50
Qty:
White prototyping breadboard with 30 tie strips and two power rails on each side.

White Prototyping Breadboard (2x30 columns of tie strips and 2x2 rows of power strips)

$7.95
Qty:
Clear Semi Transparent Breadboard

Clear Prototyping Breadboard (2x30 columns of tie strips and 2x2 rows of power strips)

$8.50
Qty:

Description of a Transistor and Schematic Symbol

A transistor is a device that can allow a high current to pass with a small current signal. A transistor can work two ways, either as an amplifier, or a switch. In this case, it will be used as a switch to apply current to a relay.

The transistor has three leads. The lead that serves as an input of a small current is called the base lead. When the base lead gets a small current, current can pass through the collector and emitter leads.
To determine if the transistor has a high enough current rating:

I = CircuitVoltage/(LoadResistance)

Next, the current gain rating (Hfe) for the transistor needs to be determined:

Hfe must be 5 times the load current divided by the current from the microcontroller pin. The microcontroller can output 40 mA from the port pin (found in the microcontroller datasheet).

Hfe = 5 x (loadCurrent/PinCurrent)

The final consideration is to determine the resistance value that must be added between the pin and the base pin of the transistor. We can use a special formula since the voltage from the pin will be the same as the voltage going through the collector and emitter.

Resistance = CurrentOfCircuit x ResistanceOfRelayCoil x HfeOfTransistor

Comments and Additional Information

Have some code to share? Or additional information? Respond here:

You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.

Description:

Code (optional):