Back to Parent

Outcome


The document below demonstrates the execution of LED function using the Argon IoT starter kit. Initially it was difficult to understand how connection with the school internet works, but it didn't require any further processing once I linked to CMU-DEVICE with the allocated ID.  

The concept of Ground(GND) is intriguing to me. It is important to ensure that all the inputs, sensors, outputs are well connected to GND. I was wondering about whether this GND form applies to every electronic circuit board or if there are alternative ways to facilitate electron flow. 

Exercise 1 :  Modify the program to Blink on and off every 3 seconds.

As my first IoT attempt,  I connected a red LED to D2 pin wired with a 1kΩ register and named this D2-led pin as led1. The led 1 blinks every second. (1000 milliseconds) The demonstration is shown below. 

Show Advanced Options
Show Advanced Options

From the initial demonstration above, I extend the blink interval to three seconds. 

Show Advanced Options
Show Advanced Options

Exercise 2 : 

Following the first exercise, I made it paused between the five times of blinks. I use a for loop for Java as below. 

Show Advanced Options
Show Advanced Options

Exercise 3: 

I added a blue LED as a second one at D3 and named it as led2. This one also wired to the ground. 

The red LED is off(LOW) while the blue one is on (HIGH) as follows.


Show Advanced Options
Show Advanced Options
Drop files here or click to select

You can upload files of up to 20MB using this form.