Arduino Uno Basic Setup

Channel:
Subscribers:
12,900
Published on ● Video Link: https://www.youtube.com/watch?v=ABIojjadYko



Duration: 24:39
28 views
1


█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█
[Synopsis]

This video shows you how to setup and use the Arduino electronic controller. A Arduino is not a computer, it is simply a programmable electronic controller to do very simple tasks with. It can be used as a sensor, it can be used to control motors, servos, and do repetitive tasks. It has about 32 KB (Kilobytes) of flash memory or storage memory, and 2 KB (Kilobytes) of SD memory. Thus it is very limited in what you can do with it. Your laptop or desktop computer has components which have electronic controllers in it, like the hard drive, the network card, etc.

I can think of some concrete applications I can use around the home, like using it to turn the sprinkler system on at a specific time, or turn on the lights at a specific time. In a industrial or commercial application, it can be used for a conveyor belt to run in a specific sequence, like move for 20 seconds, and stop. Then, start again for 20 seconds, and stop, etc. It can be used as a controller for all kinds of industrial machinery.

Since an Arduino is not a computer, you need a computer to program it with. You need to download and install a compiler for it. Once you write the code, and run it. It will be stored in the micro controllers memory and keep running it. You can turn it off or unplug it, and plug in a power supply, and it will run the same program you programmed on the computer. That is basically how it works.

In this video, you will just learn the basics of it. How to set it up, how to connect it from the controller to the bread board, and how to write a simple program to get it to do what you want.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Code Used
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[Example 1]

void setup () {
// put your setup code here, to run once:
pinMode(12,OUTPUT);
pinMode(11,OUTPUT);
}

void loop() {
// put your main code here, to run repeatedly:

digitalWrite(12,HIGH);
delay(5000);
digitalWrite(12,LOW);
delay(2000);
digitalWrite(11,HIGH);
delay(3000);
digitalWrite(11,LOW);
delay(500);

}
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[Last Example]

int RLED=12;
int GLED=11;

void setup () {
// put your setup code here, to run once:
pinMode(RLED,OUTPUT);
pinMode(GLED,OUTPUT);
}

void loop() {
// put your main code here, to run repeatedly:

digitalWrite(RLED,HIGH);
delay(5000);
digitalWrite(RLED,LOW);
delay(2000);
digitalWrite(GLED,HIGH);
delay(3000);
digitalWrite(GLED,LOW);
delay(500);
digitalWrite(RLED,HIGH);
delay(1000);
digitalWrite(RLED,LOW);
delay(3000);
digitalWrite(GLED,LOW);
delay(8000);
}
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[Links]
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[Where to Download the Complier]

♠ Ardunio Uno Complier @
https://www.arduino.cc/en/main/software
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[Where to buy the kit, case, and power supply]

♦ ELEGOO UNO Project Super Starter Kit @ Amazon
https://amzn.to/2S513zC
♦ 9V 1A Arduino Power Supply Adapter 110V AC @ Amazon (Optional: If you want to run the
controller independently)
https://amzn.to/2UwVUDF
♦ DAOKI Uno R3 Case Enclosure New Transparent Gloss Acrylic Computer @ Amazon
https://amzn.to/37UnC0B
(Video on how to assemble it)
https://www.youtube.com/watch?v=S3R5tZ-4oTA&feature=youtu.be
♦ 6 feet USB 2.0 Printer Cable (If you want a longer USB cable that connects to your Arduino)
█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█