![]() 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. Raspberry Pi 3 setup with monitor and USB Mouse & Keyboard.We will need the following tools to complete the project: This tutorial will guide you through setting up the circuit, connecting it to the Raspberry Pi and how to write the Python script that makes the LED blink. A great way to get started with electronics and the Raspberry Pi is hooking up a red LED and making it blink using a Python script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |