From this week you will start working with Arduino Uno. This Module is introductory. Follow the video instructions and install the Arduino IDE on your computers and then write the “Hello World” Example.
What you need to do is:
1- Install the IDE
2- Upload your first program to your Arduino board.
3- Explain everything you have done in steps:
from the installation of IDE to write your program. And discuss how you write the code and explain your code line by line and what is your program output.
Arduino Workshop\
Workshop Goals:
- Understand what an Arduino is and how it works
- Learn how to use an Arduino safely
- Program your Arduino using code that you’ve written in the Arduino IDE (Integrated Development Environment)
- Learn programming concepts using C and C++ along with Arduino-specific programming
- Understand best practice concepts for programming and prototyping
- Use a wide variety of hardware and components and prototype your projects using a breadboard
- Build your own innovative project with Arduino
https://www.youtube.com/watch?v=mIfKYc2c4wM&list=PLZuVsIEA15j7ugiVgxCk_4luY0TdlE9NALinks to an external site.
Chapter 1: Introduction to Arduino
1.0 CHAPTER OVERVIEW
In this chapter you’ll learn about:
- What is Arduino
- Different types of Arduino boards
- How does the Arduino Uno board work and why it’s so popular
- What is a microcontroller
- How to use the Arduino IDE (Integrated Development Environment)
- Powering and connecting your Arduino to your computer
- Uploading programs to your Arduino board
By the end of this chapter, you will have uploaded your first program to your Arduino board to control an LED.
(435) Arduino Workshop – Chapter One – Introduction – YouTubeLinks to an external site.
1.1 WHAT IS ARDUINO?
In this section, we look at what is Arduino, what it’s good for makers, and some of the different types of Arduino boards available.
(435) Arduino Workshop – Chapter One – What is Arduino? – YouTubeLinks to an external site.
1.2 WHAT IS A MICROCONTROLLER?
In this section, we’ll be looking at what is a microcontroller (the chip at the heart of any Arduino board), an overview of how they work, and how it integrates with the Arduino environment.
(435) Arduino Workshop – Chapter One – What is a Microcontroller? – YouTubeLinks to an external site.
1.3 THE ARDUINO UNO
In this section, you’ll learn about the features and capabilities of the Arduino Uno board, how the layout of the board can affect your project, and why the Uno is such a great all-rounder.
(435) Arduino Workshop – Chapter One – The Arduino Uno – YouTubeLinks to an external site.
1.4 ARDUINO IDE AND THE LANGUAGE
In this section, we’ll take a look at the Arduino IDE, which is where you write the code for your Arduino, upload it, and communicate with your board. We’ll also cover the programming language that Arduino IDE uses, and where to download it.
(435) Arduino Workshop – Chapter One – Arduino IDE and the Language – YouTubeLinks to an external site.
1.5 POWERING AND CONNECTING YOUR ARDUINO
In this section, you’ll be learning about the various ways to power your Arduino, and how to connect it up to your computer for uploading your programs, and communicating to the computer using the serial port.
(435) Arduino Workshop – Chapter One – Powering and Connecting Your Arduino – YouTubeLinks to an external site.
Arduino Power Layout
1.6 HELLO WORLD EXAMPLE
In the final section of this chapter, we’ll talk about using the Arduino IDE to upload your first program to your Arduino board.
void setup() { pinMode(13, OUTPUT); //setup pin 13 as an output } void loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH outputs 5V) delay(500); // wait for 500 milliseconds digitalWrite(13, LOW); // turn the LED off (LOW outputs 0V) delay(500); // wait for 500 milliseconds }
(435) Arduino Workshop – Chapter One – Hello World Example – YouTubeLinks to an external site.