A regular red LED has a forward voltage (VF) of 1.7V and forward current of 20mA (IF). Specifically we need to find the forward voltage (VF) and the forward current (IF). To calculate the resistor value we need to examine the specifications of the LED. Without the resistor the LED would run at too high of a voltage, resulting in too much current being drawn which in turn would instantly burn the LED, and likely also the GPIO port on the Raspberry Pi. The resistor is used to limit the current that is being drawn and is called a current limiting resistor. The first step in this project is to design a simple LED circuit. Then we will make the LED circuit controllable from the Raspberry Pi by connecting the circuit to the general purpose input/output (GPIO) pins on the Raspberry Pi.Ī simple LED circuit consists of a LED and resistor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |