Arduino UNO Activity: An Application & Tutorial in Using Arduino to Eight LED Lights | Part 1 – “ Four LED Lights Off While the other Four LED Lights On “
Good day to all the readers! ^_^
Modern engineering life became quite more advance leading most of engineering activities involve with technology. There is no doubt that Arduino is one of the invented software and/or hardware which has been used by engineers and programmers nowadays. Arduino is an open source computer hardware and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices and interactive objects that can sense and control objects in the physical world. The project's products are distributed as open-source hardware and software, which are licensed under the GNU Lesser General Public License(LGPL) or the GNU General Public License (GPL), permitting the manufacture of Arduino boards and software distribution by anyone. Arduino boards are available commercially in preassembled form, or as do-it-yourself (DIY) kits.
For more information about Arduino, just click here.
Today is the first day in which I am able to use the Arduino Application and somehow I realized its importance to engineering life nowadays. Using the said application sounds fun and challenging since if you are going to use it, you must have to analyze well the codes that should be used in order for the program to work well (brainstorming is a must) though it’s not that difficult to use.
Activity Name:
Four LED Lights Off while the other Four LED Lights On (Continuous Rotation)
Equipment Used:
- Eight Resistors
- One Breadboard
- Eight LED Lights
- Connecting Wires
- Analog Multitester
- Arduino UNO with USB Cable
- Laptop with Arduino Application
Summarized Activity Instructions:
- Prepare the equipment needed for the activity.
- Use eight (8) LED lights and eight (8) resistors only for the activity. Use the Analog Multitester to test if the LED lights are operational. (Note: Operational LED lights will produce light when the terminals are connected properly)
- With the breadboard provided, make a circuit involving the said eight (8) LED Lights and resistors which are connected to each other and corresponds to the objective of the activity.
- Make a program of the activity using the Arduino Application on the laptop and verify if the created program is working or ready for uploading to Arduino UNO.
Additional Information: Arduino Application has a verification/test button of the created program before running and using it to the circuit created in the breadboard. This is to make sure if the program works well to avoid errors or malfunctions of the system. - Connect the created circuit to Arduino UNO using the connecting wires. After which, connect the Arduino UNO to the laptop using the USB Cable.
- In the Arduino Application on the laptop, upload the created program to Arduino UNO and run the system.
Activity Codes
{
pinMode (13,OUTPUT);
pinMode (12,OUTPUT);
pinMode (11,OUTPUT);
pinMode (10,OUTPUT);
pinMode (9,OUTPUT);
pinMode (8,OUTPUT);
pinMode (7,OUTPUT);
pinMode (6,OUTPUT);
}
void loop()
{
digitalWrite (13,HIGH);
digitalWrite (12,HIGH);
digitalWrite (11,HIGH);
digitalWrite (10,HIGH);
delay (500);
digitalWrite (10,LOW);
digitalWrite (11,LOW);
digitalWrite (12,LOW);
digitalWrite (13,LOW);
delay (500);
digitalWrite (9,HIGH);
digitalWrite (8,HIGH);
digitalWrite (7,HIGH);
digitalWrite (6,HIGH);
delay (500);
digitalWrite (6,LOW);
digitalWrite (7,LOW);
digitalWrite (8,LOW);
digitalWrite (9,LOW);
delay (500);
}
THE CIRCUIT
THE PROGRAM
Thank you visiting and reading the context ^_^
Posted on Utopian.io - Rewarding Open Source Contributors
Hey @rejzons I am @utopian-io. I have just upvoted you at 7% Power!
Achievements
Suggestions
Human Curation
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
thank you @utopian-io :)
Thank you for the contribution. It has been approved.
Some points for future parts:
You can contact us on Discord.
[utopian-moderator]
thank you for the approval @favcau @utopian-io ... copy! thanks for the reminders :)
Future Engineer @rezons
thanks sir ^_^ hoping to be one :)