11
3.
When the potentiometer is used as a rheostat, connect the middle pin and one of the
other 2 pins in the circuit. Thus you can get a smoothly and continuously changed
resistance value within the travel of the moving contact.
4.
Serving as a current controller
When the potentiometer acts as a current controller, the sliding contact terminal must be
connected as one of the output terminals.
LED
Semiconductor light-emitting diode is a type of component which can turn electric energy
into light energy via PN junctions. By wavelength, it can be categorized into laser diode,
infrared light-emitting diode and visible light-emitting diode which is usually known as light-
emitting diode (LED).
(k) (l)
See LED in figure (k). Figure (l) is the circuit symbol. Diode has unidirectional conductivity, so
the current flow will be as the arrow indicates in figure (l). You can only provide the anode
with a positive power and the cathode with a negative. Thus the LED will light up.
In this kit, LEDs of red, green, yellow and white are provided. An LED has two pins. The longer
one is the anode, and shorter one, the cathode. Pay attention not to connect them inversely.
There is fixed forward voltage drop in the LED, so it cannot be connected with the circuit
directly because the supply voltage can outweigh this drop and cause the LED to be burnt.
The forward voltage of the red, yellow, and green LED is 1.8 V and that of the white one is
2.6 V. Most LEDs can withstand a maximum current of 20 mA, so we need to connect a
current limiting resistor in series.
The formula of the resistance value is as follows:
R = (V
supply
– V
D
)/I
R
stands for the resistance value of the current limiting resistor,
Vsupply
for voltage supply,
VD
for voltage drop and I for the working current of the LED.
If we provide 5 voltage for the red LED, the minimum resistance of the current limiting resistor
should be: (5V-1.8v)/20mA = 160Ω. Therefore, you need a 160Ω or larger resistor to protect
the LED. You are recommended to use the 220Ω resistor offered in the kit.
Содержание Super Kit 3.0
Страница 7: ...4 22 RGB LED 1 23 LED red 8 24 LED white 4 25 LED green 4 26 LED yellow 4 27 NPN Transistor S8050 2 ...
Страница 30: ...27 Also we have drawn a table of the corresponding BCM wiringPi and Name of each pins ...
Страница 78: ...75 Now pull the slide and you can see the two LEDs light up alternately ...