Narayan Skill Dev I: Blinking LED

Made by Narayan Ashanahalli

The main goal of this project is to introduce working with breadboards, circuits, and the Photon Particle board. The first assignment involves creating a basic, functional blinking LED with a delay. This project also marks the first experience in writing code for the Particle board.

Created: November 11th, 2024

0

Intention

The goal of this project is to explore fundamental electronics and programming concepts using the Photon Particle board. Motivated by a desire to understand hardware prototyping, this project aims to build confidence with breadboards, circuits, and basic coding through hands-on experimentation.

0

Process

The project involved connecting LEDs on a breadboard and programming them to blink with a delay. Challenges included wiring issues and troubleshooting code syntax errors, which were resolved through testing and refinement. Iterative trials led to a functional setup and improved circuit stability.

0

Outcome

The outcome is a circuit with two LEDs that blink alternately, controlled by the Photon Particle board. The setup involved configuring each LED to turn on and off in succession, creating an alternating blinking effect. The tools included LEDs, a breadboard, and the Particle board, with code iteratively adjusted to achieve the desired blinking pattern.

0

Reflection

This project deepened my understanding of circuit basics and coding for microcontrollers. I learned the importance of clear wiring and debugging techniques. I

0
// Define LED pins
int led1 = D10;  // External LED connected to D10
int led2 = D3;   // Onboard LED on D7

void setup() {
  // Set both pins as outputs
  pinMode(led1, OUTPUT);
  pinMode(led2, OUTPUT);
}

void loop() {
  // Turn on led1 and turn off led2
  digitalWrite(led1, HIGH);
  digitalWrite(led2, LOW);
  delay(300);  // Wait for 1 second

  // Turn off led1 and turn on led2
  digitalWrite(led1, LOW);
  digitalWrite(led2, HIGH);
  delay(300);  // Wait for 1 second
}
Click to Expand
0
x
Share this Project


About

The main goal of this project is to introduce working with breadboards, circuits, and the Photon Particle board. The first assignment involves creating a basic, functional blinking LED with a delay. This project also marks the first experience in writing code for the Particle board.