ICP1 Wiki Report - s0720bae/IoT GitHub Wiki

Welcome to the IoT wiki!

ICP 1

Github:

Github.com/AnthonyYos

github.com/aaackc

github.com/s0720bae

github.com/Alshaikh1abbas

Introduction:

In our first ICP our goal was to imitate a traffic light by using Arduino. After downloading Arduino IDE we uploaded the provided code that was given by our instructor and made adjustments for it.

Objectives:

Imitate a traffic light using LEDs, cables, and Arduino.

Approaches/ Methods:

1)Following given guidelines to achieve the main objective.

2)We changed the order in which LEDs will light first and then the pattern of the lighting.

3)Increase the delay time up to 500 instead 250.

Workflow:

Initially, we got the cable connections wrong. After we pushed the code to troubleshoot the connection, we found out that the connection wasn’t connected in the correct way. Next, we changed the connection and adjusted the code to work as traffic light.

Circuit Diagram:

Parameters:

We changed the code and added a pattern to the lights and increased the delay time.

Evaluation & Discussion:

First, we faced electrical connection issue and after help from the instructor the connection worked. We learned how to connect Arduino and circuit board and how to upload code to it. Also, we learned how power is distributed throughout the board. Finally, we understand how adjust the code to imitate the traffic light.

Conclusion:

In conclusion, we struggled with some electrical connection experience and code adjustment. However, we learned how the power was distributed through the Arduino board and how the pin nodes’ codes could give the orders to the LED lights to be working as a traffic light. We got all of the connections and code right at the end and succeeded in reaching our objective.

Video Link:

https://youtu.be/RpRlGUME7IE