Skill Dev 1: A Simple Internet Appliance

Made by Tobi Aina

Created: December 8th, 2023

0

Reflection:

This is the first skill dev exercise, which helped me acclimate to the particle platform and the argon microcontroller. Overall this was a very simple exercise and the most difficult aspect was getting the particle board to connect to the internet. However, after some troubleshooting, this first exercise was pretty seamless.

Process:

Most of the workflow consisted of following the instructions on the course website and tinkering with the code and the board a bit until I found my desired solution. 

0

Getting Started:

First, I connected the LED and got it to flash every second.

0
int led1 = D2;

void setup() {

  

  pinMode(led1, OUTPUT);

}


void loop() {
  
  digitalWrite(led1, HIGH);
  
  delay(1000);

 
  digitalWrite(led1, LOW);

  delay(1000);


}
Click to Expand
0
0

Exercise 1:

For the first exercise, I made the LED blink every three seconds.

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
0

Exercise 2:

Next, I made the LED blink 5 times then stop for 3 seconds.

0
int led1 = D2;

void setup() {

pinMode(led1, OUTPUT);

}


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

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

}
Click to Expand
0
0

Exercise 3:

I added a second LED and switched the blinking between the two. 

0
int led1 = D2;

int led2 = D3;

void setup() {

pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);

}

void loop() {
    
  digitalWrite(led1, HIGH);
  
  delay(1000);
  
  digitalWrite(led1, LOW);

  delay(1000);


  digitalWrite(led2, HIGH);
  
  delay(1000);

 
  digitalWrite(led2, LOW);

  delay(1000);


}
Click to Expand
0
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

~