A Simple Internet Appliance

Made by Yujin Wu

Created: November 2nd, 2023

0

Intention

The intention is to explore how can we use particle build online console to control the argon board.

0

Process

During the process, I mainly change the loop() function to update the logic.

0

Ex. 1

0
int led1 = D3;

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

}

// EX 1
void loop() {

    digitalWrite(led1, HIGH);
    delay(3000);
    digitalWrite(led1, LOW);
    delay(3000);
}
Click to Expand
0
0

Ex. 2

0
int led1 = D3;

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

}


// EX 2
void loop() {
    
    for (int i = 0; i < 5; i++) {
        digitalWrite(led1, HIGH);
        delay(500);
        digitalWrite(led1, LOW);
        delay(500);
    }
    
    delay(3000);

}
Click to Expand
0
0

Ex. 3

0

EX3 requires us to add another LED as an output. I was not sure if a small transparent component is an LED (I believe it is not). Also, I spend sometime to figure out how could I connect the two LED in parallel (instead of in sequence). 

0
int led1 = D3;
int led2 = D2;

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

}


// EX 3
void loop() {

    digitalWrite(led1, HIGH);
    digitalWrite(led2, LOW);
    delay(3000);
    digitalWrite(led1, LOW);
    digitalWrite(led2, HIGH);
    delay(3000);

}
Click to Expand
0
0

Reflection

I found my difficulty mainly lies on getting familiar with the hardware parts. I feel as the circuit gets complicated, i may risk getting confused by my own network design. I also need to spend more time to learn what are the names of different electronic components.

x
Share this Project

Courses

48-675 Designing for the Internet of Things 24

· 11 members

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


About

~