Introduction to arduino

Slides:



Advertisements
Similar presentations
ECE 480 Design Team 3 Technical Lecture
Advertisements

Lab7: Introduction to Arduino
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
How to use Arduino By: Andrew Hoffmaster.
Intro to the Arduino Topics: The Arduino Digital IO Analog IO Serial Communication.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
Introduction.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Embedded Programming and Robotics
Colorado Space Grant Consortium Gateway To Space ASEN 1400 / ASTR 2500 Class #12 Gateway To Space ASEN 1400 / ASTR 2500 Class #12 T-58.
2.0 EMBEDDED CONTROLLER Engr. Hj. Mohamad Fauzi bin Zakaria Department of Mechatronics and Robotics Engineering Faculty of Electrical and Electronic Engineering.
Intro to the Arduino Topics: The Arduino Digital IO
Ballooning Bundle. What is a Microcontroller? Small computer with a processor core, memory and programmable input/output Continuously repeats software.
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.
Arduino 101 Instructors: Ted Markson / Jim Sweeney.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Microprocessors Tutorial 1: Arduino Basics
Getting Started With the Arduino Uno
智慧電子應用設計導論(1/3) Arduino MEGA 2560
SAMI MAKERSPACE MAKE: AN ELECTRONICS WORKSHOP. ARDUINO BASICS Credit to: Sparkfun and Linz Craig, Nick Poole, Prashanta Aryal, Theo Simpson, Tai Johnson,
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Having fun with code, using Arduino in a middle school CS classroom
Arduino - Introduction
Arduino.
Embedded Systems Intro to the Arduino
Getting Started: Building & Programming
Michael Rahaim, PhD Candidate Multimedia Communications Lab
Welcome to Arduino A Microcontroller.
European Robotic LABoratory
By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot
Scrolling LCD using Arduino.
Prototyping with Microcontrollers and Sensors
Microcontroller basics
Microprocessors Tutorial 1: Arduino Basics
Intro to the Arduino Created by
Arduino & its hardware interfacing
UTA010 : Engineering Design – II
An Arduino Workshop A Microcontroller.
Arduino Development for Beginners
UCD ElecSoc Robotics Club 2017/2018
Arduino Part 1 Topics: Microcontrollers Programming Basics
Arduino - Introduction
Introduction to Arduino Microcontrollers
Analog Input through POT
Arduino and Design of Embedded Applications
Arduino and Grove LET’S START.
Introduction to Arduinos
Roller Coaster Design Project
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
What is an Arduino ? Open Source electronic prototyping platform based on flexible easy to use hardware and software.
Intro to the Arduino Topics: The Arduino Digital IO
Arduino Board.
Blind Stick भाग १.
"You don't need anyone's permission to make something great
Banyule Coding Club: Learn Arduino Richard Counsel Malcolm Macleod Watsonia Library - June 2018 Reference materials here ->
Arduino Board.
Intro to the Arduino by Someet Singh
Manual Robotics ..
Aeroponic Engineering and Vertical Farming
Arduino Leonardo Setup
Introduction to Arduino
Lab #1: Getting Started.
Arduino Board.
Arduino म्हणजे काय?.
Arduino and Grove LET’S START.
Introduction to Arduinos
Introduction to Arduino IDE and Software
Presented By,  Mamata Yadav (BE Elex & Comm.) Vice R&D Coordinator(HW), PCRT  Payal Shah (BE Elex & Comm.)  Ananta Das (BE Elex & Comm.) R&D Team,PCRT.
Presentation transcript:

Introduction to arduino

Arduino Arduino is the go-to gear for artists, hobbyists, students, and anyone with a gadgetry dream. Arduino rose out of another formidable challenge: how to teach students to create electronics, fast.  With Arduino, you can control almost everything around you be it simple LED or giant Robots. Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Arduino Basically Arduino is Microcontroller. Microcontroller is microprocessor with memory, RAM and some other peripheral connected with it. The Arduino Uno is a microcontroller board based on the ATmega328 . The ATmega328 has Flash memory of 32 KB (with 0.5 KB used for the bootloader). It also has 2 KB of SRAM and 1 KB of EEPROM Flash- Where program is stored. SRAM-Static Random Access Memory ( sketch creates and manipulates variables when it runs ) EEPROM- Electrically Erasable Programmable Read-Only Memory ( memory whose values are kept when the board is turned off ) Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Different types of Arduino Boarduino Kit Arduino LilyPad DIY Arduino Arduino Uno  Arduino Mega 2560  Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Arduino uno What does it have? 14 Digital In/Out pins (6 can be used as PWM) 6 Analog Inputs A USB Connection A Power Jack Reset Button On-board LED SCL/SDA pins (Serial Clock/ Serial Data pins) In short, it contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. Pune Makers ( http://www.meetup.com/Pune-Makers/ )

USB (to Computer) PWR IN RESET SCL\SDA POWER Digital I\O Analog INPUTS (I2C Bus) POWER 5V / 3.3V / GND Digital I\O PWM(3, 5, 6, 9, 10, 11) Analog INPUTS Pune Makers ( http://www.meetup.com/Pune-Makers/ )

How to code in arduino You need to download Arduino IDE (Integrated Development Environment). Arduino IDE is available for all Mac, Windows.and Linux. Pune Makers ( http://www.meetup.com/Pune-Makers/ )

error & status messages How to code in arduino Once you have downloaded and installed/extracted the folder, you can directly run Arduino.exe, which will take you to its IDE. The IDE will look like the shown screenshot. error & status messages Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Program your arduino Before you start programming, double check that correct board is selected under Tools  Board. Now, you can start playing with Arduino. Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Program your arduino The Arduino Uno can be programmed with the Arduino software. Select "Arduino Uno from the Tools > Board menu (according to the microcontroller on your board). All the peripheral connected with Computers are using Serial Port. You can check port for Arduino Uno in Device Manger. Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Input vs output Pune Makers ( http://www.meetup.com/Pune-Makers/ ) Image from Theory and Practice of Tangible User Interfaces at UC Berkley

6 Major concepts digitalWrite() analogWrite() digitalRead() If (statements) / Boolean analogRead Serial Communication Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Analog vs digital Microcontrollers are digital devices – ON or OFF. Also called – discrete. Analog signals are anything that can be a full range of values. 5 V 0 V Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Analog vs digital Sensors Variables Mic soundVolume Photoresistor Analog Sensors Digital Sensors Digital sensors are more straight forward than Analog. No matter what the sensor there are only two settings: On and Off Example, Push button, Switch Sensors Variables Mic soundVolume Photoresistor lightLevel Potentiometer dialPosition Temp Sensor temperature Flex Sensor bend Accelerometer tilt/acceleration Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Serial communication “Serial” because data is broken into bits, each sent one after another in a single wire. Compiling turns your program into binary data (ones and zeros) Uploading sends the bits through USB cable to the Arduino The two LEDs near the USB connector blink when data is transmitted. RX blinks when the Arduino is receiving data. TX blinks when the Arduino is transmitting data Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Let’s start coding

Project #1 led blink digitalWrite() Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Upload Compile Status Message Pune Makers ( http://www.meetup.com/Pune-Makers/ )

Thank you Pune Makers 16th May 2015