Posts

Showing posts from December, 2025
Image
Program 1: Develop a program to blink 5 LEDs back and forth. Aim: To develop an Arduino program that makes 5 LEDs blink sequentially back and forth, creating a back-and-forth running light effect. Component: Circuit: Procedure: Step 1: Open Tinkercad 1.        Go to https:/ /www.tinkercad.com 2.        Click “Circuits” → “Create new Circuit”   Step 2: Add Components ·         Drag and drop: o    1 Arduino Uno o    5 LEDs o    5 Resistors o    (Optional) 1 Breadboard Step 3: Wiring the LEDs For each LED: ·         Anode (long leg) → connect to a digital pin via a resistor (220 Ω) : o    LED1 → Pin 2 o    LED2 → Pin 3 o    LED3 → Pin 4 o ...