Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw 5.9.2014.

Slides:



Advertisements
Similar presentations
Wireless Cue Light Project
Advertisements

Khaled A. Al-Utaibi Interfacing an LED The Light Emitting Diode (LED) Applications DC Characteristics & Operation Interfacing to.
EMS1EP Lecture 6 Digital Inputs
ARDUINO CLUB What we’re really doing. BASICS The setup() and loop() functions.
Electrical team Arduino tutorial I BY: JOSHUA arduini
Lab7: Introduction to Arduino
Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
Embedded Sumo 1T4 – 1T5 UTRA.
Re-programming the Simon Says with Arduino Linz Craig, Brian Huang.
Living with the Lab Using Your Arduino, Breadboard and Multimeter EAS 199A Fall 2011 Work in teams of two!
ELCT 201 week 13 Analog ON/OFF control system conversion to Digital ON/OFF control system.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Embedded Programming and Robotics
ARDUINO PROGRAMMING Working with the Arduino microcontroller.
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
chipKit Sense Switch & Control LED
1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.
Microprocessors Tutorial 1: Arduino Basics
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Introduction to the Arduino
Khaled A. Al-Utaibi  The Push Button  Interfacing Push Buttons to Arduino  Programming Digital Inputs  Working with “Bouncy”
Cascade switching of an LED EAS 199B Winter 2013.
Franz Duran INTRODUCTION TO A RDUINO PROGRAMMING & INTERFACING Engr. Franz Duran, MEP-ECE RapidSignal Electronics.
Good LED Circuit 5V0 GND. What Voltage Does Meter See? Answer: 5 V.
Microprocessors Tutorial 1: Arduino Basics
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
Microcontroller Hands-on Workshop #2 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers October 31, 2009.
Microcontrollers, Microcomputers, and Microprocessors
Arduino libraries Datatekniker Udvidet hardware/software.
Servo Motor Control Using Arduino Instructor: Dr Matthew Khin Yi Kyaw.
Trying Arduinos or Arduinos Trying Our Patience. Clinic Rules and Housekeeping 1. NO SMOKING 2. Restrooms are out in the hallway. Take a break when you.
Programming in Arduino Materials:Arduino Board Casperelectronics Pre Pres. Notes Photos from workshop?
Arduino DC Motor Motion Control Instructor: Dr Matthew Khin Yi Kyaw.
:Blink Blink: Er. Sahil Khanna
ME 120: Arduino Programming Arduino Programming Part 1 ME 120 Mechanical and Materials Engineering Portland State University
Infrared Proximity Sensors & Liquid Crystal Display Instructor Dr Matthew Khin Yi Kyaw.
Pulse Width Modulation Instructor Dr Matthew Khi Yi Kyaw.
Having fun with code, using Arduino in a middle school CS classroom
Arduino.
Microcontroller basics
Microcontroller basics
Microprocessors Tutorial 1: Arduino Basics
UTA010 : Engineering Design – II
Cascade switching of an LED
Welcome to Arduino A Microcontroller.
Get Your Project Started with Arduino
UCD ElecSoc Robotics Club 2017/2018
Arduino Part 1 Topics: Microcontrollers Programming Basics
INC 161 , CPE 100 Computer Programming
3.0 ARDUINO WORKSHOP PRESENTATION FOR STUDENTS IN 4º DEGREE OF COMPULSORY SECONDARY EDUCATION 3.0.
Arduino.
Въведение в Arduino.
Introduction to Arduino Microcontrollers
Introduction to Arduino Microcontrollers
مقدمة في الاردنيو د فضل الاكوع.
What is Arduino? By James Tedder.
Arduino 101 Credit(s):
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Welcome to Digital Electronics using the Arduino Board
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Aeroponic Engineering and Vertical Farming
Lab #1: Getting Started.
Arduino Uno circuit basics
SAURABH GINGADE.
Arduino程式範例.
Introduction to Arduino IDE and Software
Interrupts.
Presentation transcript:

Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw

Microcontroller

Video FileFile

8 STEPS to start with Arduino on Windows 1.Get an Arduino Board and USB cable 2.Download the Arduino Environment ( 3. Connect the board 4. Install the drivers 5.Launch the Arduino application 6. Open the blink example 7. Select your board 8.Select your serial port 9.Upload the program

1.1.

6.

7.7.

Hello World Hardware 1. Arduino UNO R3 2. Bread-board 3. Jumper (connecting wires) 4. Light emitting diode (LED) 5. Resistor

Circuit Diagram

Software Syntax PinMode(pin,Mode) digitalWrite(pin,Value) digitalRead(pin)

/* Blink Turns on an LED on for one second, then off for one second, repeatedly. This example code is in the public domain. */ // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 13; // the setup routine runs once when you press reset: void setup() { // initialize the digital pin as an output. pinMode(led, OUTPUT); } // the loop routine runs over and over again forever: void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }

Exercise(1) Now, the next assignment is to implement a digital switch using the board. We need 1 digital on-off switch and resistor and some more connecting wires. We will also make use of the 5V input pin of the board and pin-2 as digital input pin. Connect the circuit as shown in figure. Use the function pinMode() to declare the mode of pin-2. Use the if statement to check the condition of the digital switch or if the digital input is HIGH. If the input is HIGH then "Blink" the LED, otherwise, the LED should not blink. Use digitalRead() function to check the condition of the pin-2.

References "Arduino Programming Notebook" by - by Brian W. Evans.. Beginning Android ADK with Arduino by Mario Bohmer.