Arduino Basics Connect Arduino to USB port

Slides:



Advertisements
Similar presentations
Lab7: Introduction to Arduino
Advertisements

Embedded Sumo 1T4 – 1T5 UTRA.
Using the Arduino to Make an LED Flash Work in teams of two! living with the lab digital I/O pins (I/O = input / output) USB cable plug power pins.
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
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
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.
ARDUINO PROGRAMMING Working with the Arduino microcontroller.
Arduino Part 2 Topics: Serial Communication Programming Constructs: functions, loops and conditionals Digital Input.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Cascade switching of an LED EAS 199B Winter 2013.
Microprocessors Tutorial 1: Arduino Basics
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
MAKE: AN ELECTRONICS WORKSHOP
Microcontrollers, Microcomputers, and Microprocessors
Arduino libraries Datatekniker Udvidet hardware/software.
1 Introduction to Haptics Introduction to the Hapkit board Allison M. Okamura Stanford University.
Programming in Arduino Materials:Arduino Board Casperelectronics Pre Pres. Notes Photos from workshop?
Bdps 2 Lecture 2. Circuits and Ohm's Law For resistive circuits.
Introduction to Arduino A very basic intro to Arduino, the IDE and the Servos class.
Arduino + Bluetooth TYWu. Connection Arduino + Bluetooth Module.
:Blink Blink: Er. Sahil Khanna
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
ME 120: Arduino Programming Arduino Programming Part 1 ME 120 Mechanical and Materials Engineering Portland State University
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
Arduino Programming. THE ARDUINO IS A MICROCONTROLLER – A LOW COST, LOW PERFORMANCE COMPUTER.
What is Arduino? It's an open source electronics prototyping platform: Open source: resources that can be used, redistributed or rewritten free of charge,
Having fun with code, using Arduino in a middle school CS classroom
Arduino.
Arduino Setup & Flexing the ExBow
Microcontroller basics
If you want to swing an robot arm or …
Downloading Arduino FOR WINDOWS.
Microcontroller basics
connect a DC-Motor with an arduino
UTA010 : Engineering Design – II
An Arduino Workshop A Microcontroller.
Cascade switching of an LED
Welcome to Arduino A Microcontroller.
Get Your Project Started with Arduino
Lab02 :Logic Gate Fundamentals:
Scoutbotics Robot Testing
Arduino Part 1 Topics: Microcontrollers Programming Basics
INC 161 , CPE 100 Computer Programming
Arduino.
Introduction to Arduino Microcontrollers
Introduction to Arduino Microcontrollers
Roller Coaster Design Project
Roller Coaster Design Project
مقدمة في الاردنيو د فضل الاكوع.
Create a paper craft for any object that makes a sound
Arduino 101 Credit(s):
using the Arduino to make LEDs flash
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Chapter 1 Introduction of Arduino
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Multiplexing seven-segment displays
Aeroponic Engineering and Vertical Farming
Arduino Leonardo Setup
Lab #1: Getting Started.
Arduino Uno circuit basics
Setting up a basic program with Arduino
SAURABH GINGADE.
Model Blimp Design Competition Programming Workshop by Youth College (International) / VTC May
Arduino程式範例.
Introduction to Arduino IDE and Software
Interrupts.
ECE 3567 Microcontrollers Lab
Presentation transcript:

Arduino Basics Connect Arduino to USB port Open the Arduino folder on the desktop Run arduino.exe Tools/Port/select the one that says (Arduino) File/Examples/01.Basics/Blink Ctrl-U (Upload) and wait... Watch the LED blink :)

What does this code do? /*.....*/ or //...... are comments (ignored by the Arduino) void setup() { // initialize digital pin LED_BUILTIN as an output. pinMode(LED_BUILTIN, OUTPUT); }

Main Loop void loop() { digitalWrite(LED_BUILTIN, HIGH); // LED on delay(1000); // wait for a second digitalWrite(LED_BUILTIN, LOW); // LED off }

Preparing to Control the HexBug File/Examples/12.HexBug/Init Ctrl-U Connect the HexBug remote to the Arduino

Preparing to Control the HexBug File/Examples/12.HexBug/Init Ctrl-U Connect the HexBug remote to the Arduino Slide the HexBug's power switch to 1 or 2, depending on the number on the back of the remote control Note that the HexBug times-out after a while, so it it's not responding, try turnint it off and on again

First HexBug Program File/Examples/12.HexBug/KBTest Ctrl-U Tools/Serial Monitor Type f b l or r (forward backward left or right) and hit ENTER The HexBug should respond accordingly

Other Programs Try other examples in 12.HexBug (Code1-Code7 are described in the handout)