Skill Dev 1

Made by Tyler White

Work with LEDs

Created: December 15th, 2023

0

Process

Describe the process you underwent to reach the outcome (problems encountered, how you resolved them, as well as, experiments, hacks, tests, refinments, iterations, failures)

Setting up the first LED was pretty straight forward and didnt prove that difficult. I was a bit confused on getting the second step where you make the light flash 5 times, but after some guessing and testing and talking to a couple students I was able to figure it out. Adding the second LED was a little weird in the begging because I thought I'd set my whole board up wrong for a little while, but I was eventually able to get it hooked up correctly. After getting it hooked up correctly the code wasn't that big of a deal to set up.

0

Reflection

Reflect on the process of making this project. What did you learn? What would you do differently?

Kind of wild that it's this easy to build an IoT device. Obviously this device doesn't do much of anything but still pretty cool it's such a low lift. I think this would be really cool content for more k-12 students to learn so they could get more hands on experience with building technology.

0
int led1 = D2;
void setup() {
pinMode(led1, OUTPUT);
}

void loop() {
digitalWrite(led1, HIGH);
delay(3000);
digitalWrite(led1, LOW);
delay(3000);
}
Click to Expand
0
int led1 = D2;
void setup() {
pinMode(led1, OUTPUT);
}

void loop() {
for(int i=0; i<5; i++) {
    //loop 5 times 
    
        digitalWrite( led1, HIGH );
        delay( 500 );
       //Delay .5 sec
    
        digitalWrite( led1, LOW );
        delay( 500 );
}


    digitalWrite( led1, LOW);
    delay( 3000);
//stop 3 sec
}
Click to Expand
0
int led1 = D2;
int led2 = D3;

void setup() {
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);

}

void loop() {
digitalWrite(led1, HIGH);
digitalWrite(led2, LOW);
delay(500);
digitalWrite(led1, LOW);
digitalWrite(led2, HIGH);
delay(500);
}
Click to Expand
0
Skill Dev 1 - Part 1
Tyler White - https://youtube.com/shorts/tlnpjo2Y9xY?feature=share
0
Skill Dev 1 - Part 2
Tyler White - https://youtube.com/shorts/8P5aTYafK1o?feature=share
0
Skill Dev 1 - Part 3
Tyler White - https://youtube.com/shorts/Bgk5lRoAlDE?feature=share
x
Share this Project

Courses

48-675 Designing for the Internet of Things

· 11 members

A hands-on introductory course exploring the Internet of Things and connected product experiences.


About

Work with LEDs