![]() An example of wire wrapping a 220Ohm resistor leg (or lead) directly around the anode of an LED Step 2: Connect components to Arduino To wire wrap your components, simply twist the legs together like this: (Remember, a current limiting resistor can go on either side of an LED, see our LED lesson). If you want to follow my example exactly, connect the resistor to the LED’s anode (long leg) but either leg will work. Grab a 220Ω resistor (or any resistor 220Ω or greater) and twist one leg around an LED leg. Hook up LED to Arduino’s 5V supply pin Step 1: Wrap resistor around LED leg Each of these boards have the same pin layout and general specifications. We’ll be using the Arduino Leonardo for these introductory microcontroller lessons but any 5V board will work, including the Arduino Uno, Adafruit’s METRO 328, Sparkfun’s RedBoard, etc. For those students enrolled in our courses, please document your creation journeys in your prototyping journals and attempt to answer and reflection on posed questions. Please build with us to advance your understanding and skillset-the best way to learn is by doing!. Materialsįor this lesson, you will need the following materials. See our Introduction to Electronics series, specifically the lesson on Voltage, Current, and Resistance. A more accurate visualization would show that electrons are already distributed throughout a wire before a voltage is applied. This visualization is a coarse abstraction designed to emphasize the direction of current flow. Instead, our goal is to build some initial familiarity with Arduino hardware and connecting components to Arduino pins before we introduce programming, which we do in the next lesson.įigure The movement of current in the circuit is illustrated by the animated yellow circles. Hooking up the LED to the 3.3V supply pinįor our first learning activity, we are going to use Arduino to turn on an LED.Step 2: Solve for voltage drop across the resistor.Step 1: Identify nodes and what we know.Lesson 1: Turning on an LED Table of Contents L4: Feature Selection and Hyperparameter Tuning.
0 Comments
Leave a Reply. |