DPNM Lab., POSTECH 1/29 CS490K - Internet of Things (IoT) Jonghwan Hyun DPNM Lab. Department of Computer Science and Engineering, POSTECH

Slides:



Advertisements
Similar presentations
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Advertisements

Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
B.RAMAMURTHY Arduino and Automotive Embedded Systems July 27, 2014 CSE651C, B. Ramamurthy 1.
Systems Programming Course Gustavo Rodriguez-Rivera.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
Seminars at RSSC.org Sergei Grichine
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
Microcontroller: Introduction
Introduction to Arduino Microcontrollers
Embedded Programming and Robotics
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2012.
Little arduino microcontrollers Meghan Jimenez 12 February 2014.
DPNM Lab., POSTECH 1/25 CS490K - Internet of Things (IoT) Jonghwan Hyun DPNM Lab. Department of Computer Science and Engineering, POSTECH
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
Getting started with interactive projects using the Arduino, Max and Processing.
Applied Control Systems Technology. © t 4 Galway Education Centre 2 Applied Control Systems Inputs Push switches L.D.R. Microphone Tilt switch Infrared.
ARDUINO EXPLAINED. What is Arduino?  The Arduino is frankly anything that can be considered fun while learning is a truly revolutionary device in our.
Daniel Pickem and Rowland O’Flaherty 12/04/2012 Mechatronics (ME 6405) Student Lecture On Arduinos *Some slides courtesy of Eoin Brazil
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.
Unconventional User Interface // // Mood Based Navigation Sheo // 1Haring, Naderer, Zachhuber Arduino  Open Source Project (HW u. SW)  Analog.
Introduction to Arduino Microcontrollers. What is a Microcontroller ? What is a Microprocessor ? A Microcontroller (8 bit) does one task very fast and.
WELCOME TO ARDUINO E-DAY CAR PROJECT MEETING – ITALY MARCH.
Getting Started With the Arduino Uno
智慧電子應用設計導論(1/3) Arduino MEGA 2560
DPNM Lab., POSTECH 1/44 CS490K - Internet of Things (IoT) Jonghwan Hyun DPNM Lab. Department of Computer Science and Engineering, POSTECH
Who Are You, Arduino? Er. Sahil Khanna
Lecture 7: Overview Microprocessors / microcontrollers.
Arduino A free development system based on Atmel AVR 8 bit microcontrollers. LB8X Tom.
Microcontrollers, Microcomputers, and Microprocessors
Slides created by: Professor Ian G. Harris Embedded Systems  Embedded systems are computer-based systems which are embedded inside another device (car,
ARDUINO OVERVIEW Bob Wilton – KF5TPQ. ARDUINO UNO.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
BATCH MEMBERS R.ABHISHEK-08N41A0401 K.DHEERAJ REDDY-08N41A0412 S.RAJENDRA REDDY-08N41A0458 JYOTHISHMATHI COLLEGE OF ENGINEERING AND TECHNOLOGY,TURKAPALLY.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Introduction to Arduino Microcontrollers (Death by Powerpoint)
Arduino.
IF I ONLY HAD A BRAIN THE MICROCONTROLLER
IoT Milos Hampl.
By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot
Overview What is Arduino? What is it used for? How to get started
Obstacle avoiding robot { pixel }
Popular Microcontrollers and their Selection by Lachit Dutta
Scrolling LCD using Arduino.
Introducing the Arduino boards & some supporting modules
Home automation using Arduino & ‘PIR sensor’
Automatic human detector garbage can.
Arduino and Automotive Embedded Systems
Overview What is Arduino? What is it used for? How to get started
Arduino Development for Beginners
‘SONAR’ using Arduino & ultrasonic distance sensor
Analog Input through POT
Arduino and Design of Embedded Applications
What is Arduino? By James Tedder.
"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 ->
Intro to the Arduino by Someet Singh
Manual Robotics ..
Single Board Computers and Dev Boards
Introduction to Arduino
Arduino Board.
Arduino म्हणजे काय?.
Introduction to arduino
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:

DPNM Lab., POSTECH 1/29 CS490K - Internet of Things (IoT) Jonghwan Hyun DPNM Lab. Department of Computer Science and Engineering, POSTECH Oct. 14, 2014 Introduction to Arduino

DPNM Lab., POSTECH 2/29 CS490K - Internet of Things (IoT) Microcontroller (  c, MCU)  A small computer on a single chip Containing a processor, memory, and input/output  Typically "embedded" inside some device that they control  Often small and low cost

DPNM Lab., POSTECH 3/29 CS490K - Internet of Things (IoT) Microcontroller (  c, MCU)  Computer on a single integrated chip Processor (CPU) Memory (RAM / ROM / Flash) I/O ports (USB, I2C, SPI, ADC)  Common microcontroller families Intel: 4004, 8008, etc. Atmel: AT and AVR Microchip: PIC ARM: multiple manufacturers  Used in Cellphones Toys Household appliances Cars Cameras …

DPNM Lab., POSTECH 4/29 CS490K - Internet of Things (IoT) What is Arduino?  Open-source hardware platform  Open source development environment Easy-to learn language and libraries Integrated development environment Available for Windows / Mac / Linux  A programmable micro controller for prototyping electromechanical devices  Able to connect Digital and Analog electronic signals Sensors (Gyroscopes, GPS Locators, accelerometers) Actuators (LEDS or electrical motors)

DPNM Lab., POSTECH 5/29 CS490K - Internet of Things (IoT) What is Arduino?  Taken from the official web site (arduino.cc) “Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.”

DPNM Lab., POSTECH 6/29 CS490K - Internet of Things (IoT) Why use Arduino?  Easy to use platform  Ease of programming Arduino C is a greatly simplified version of C++  Simple USB interface  Simple IDE  Many shields available  Inexpensive $35 retail

DPNM Lab., POSTECH 7/29 CS490K - Internet of Things (IoT) Arduino - Uno  Electrical Inputs and Outputs Input voltage: 7-12 V (USB, DC plug, or Vin) Max output current per pin: 40 mA  Hardware I/O 13 Digital I/O bits 2 = serial TxD/RxD 4 LEDs 6 “Analog” outputs Pulse-width modulated Choose digital or PWM 8-bit resolution 6 Analog inputs 10-bit resolution at best

DPNM Lab., POSTECH 8/29 CS490K - Internet of Things (IoT) Arduino - Uno  The ATmega328P Microcontroller Used by the Arduino UNO AVR 8-bit RISC architecture Up to 20 MHz clock 32kB flash memory 30 kB available for user code 2 kB for bootloader 2 kB RAM Volatile data memory Variables + stack + heap + … 23 programmable I/O channels Six 10-bit ADC inputs Three timers/counters Six PWM outputs

DPNM Lab., POSTECH 9/29 CS490K - Internet of Things (IoT) Many Flavors of Arduino  Many different version Number of I/O channels Form factor Processor  Uno  Leonardo  Due  Micro / Mini / Nano  LilyPad  Esplora  Mega

DPNM Lab., POSTECH 10/29 CS490K - Internet of Things (IoT) Many Flavors of Arduino  Leonardo Compared to the Uno, a slight upgrade Built in USB compatibility Presents to PC as a mouse or keyboard  Due Much faster processor, many more pins Operates on 3.3 volts Similar to the Mega

DPNM Lab., POSTECH 11/29 CS490K - Internet of Things (IoT) Many Flavors of Arduino  Micro When size matters: Micro, Nano, Mini Includes all functionality of the Leonardo Easily usable on a breadboard  LilyPad Popular for clothing-based projects

DPNM Lab., POSTECH 12/29 CS490K - Internet of Things (IoT) Many Flavors of Arduino  Esplora Game controller Includes joystick, four buttons, linear potentiometer (slider), microphone, light sensor, temperature sensor, three-axis accelerometer Not the standard set of IO pins  Mega Compared to the Uno: Many more communication pins More memory

DPNM Lab., POSTECH 13/29 CS490K - Internet of Things (IoT) Arduino-like Systems  Cortino (ARM)  Xduino (ARM)  LeafLabs Maple (ARM)  BeagleBoard (Linux)  Wiring Board (Arduino predecessor)

DPNM Lab., POSTECH 14/29 CS490K - Internet of Things (IoT) Arduino Add-ons (Shields) (Connects to a computer power supply)

DPNM Lab., POSTECH 15/29 CS490K - Internet of Things (IoT) Arduino Add-ons (Shields)

DPNM Lab., POSTECH 16/29 CS490K - Internet of Things (IoT) Arduino Add-ons (Shields)  Communication Shields

DPNM Lab., POSTECH 17/29 CS490K - Internet of Things (IoT)  Modules send serial data strings to the Arduino Arduino Add-ons (Modules)

DPNM Lab., POSTECH 18/29 CS490K - Internet of Things (IoT) Arduino Add-ons (Sensors)

DPNM Lab., POSTECH 19/29 CS490K - Internet of Things (IoT) Arduino Add-ons (Sensors)  Photoresistor, infrared, force sensitive resistor, Hall effect, Piezo, tilt sensor…

DPNM Lab., POSTECH 20/29 CS490K - Internet of Things (IoT) Setting up Arduino 1.Download & install the Arduino environment (IDE) 2.Connect the board to your computer via the USB cable 3.If needed, install the drivers 4.Launch the Arduino IDE 5.Select your board 6.Select your serial port 7.Write codes 8.Upload the program Reference:

DPNM Lab., POSTECH 21/29 CS490K - Internet of Things (IoT) Getting to know the Arduino  Arduino IDE Yet Another IDE Very few features Simple programs Exactly the use case Written in Java Click to upload

DPNM Lab., POSTECH 22/29 CS490K - Internet of Things (IoT) Getting to know the Arduino  Programming Model Small projects Single-threaded loop() Plus IRQ handlers... Not much I/O No Bus SPI & I2C gadgets Not much data Not enough RAM  Development Cycle Write some code Compile & upload it USB/serial link Find errors Where? How? Iterate Hidden errors...

DPNM Lab., POSTECH 23/29 CS490K - Internet of Things (IoT) Getting to know the Arduino  Programming Language C like syntax, but simplified Abstracts the pin naming to numbers Trades efficience for ease of use Easy to learn, yet powerful Lots of example code Easy to reuse C-code from other projects Libraries can be written in C++ Lots of libraries available

DPNM Lab., POSTECH 24/29 CS490K - Internet of Things (IoT) Two methods of using the Arduino  Working with the Arduino to solve a problem Temporary solution One time only  Prototyping with the Arduino to solve a need Preparing a product for market Mass production

DPNM Lab., POSTECH 25/29 CS490K - Internet of Things (IoT) Projects  OWI535 Robotic Arm To Rover Arm

DPNM Lab., POSTECH 26/29 CS490K - Internet of Things (IoT) Projects  chlonos An open source talking multimedia clock gadget Using a 126 LED display, temperature and light sensors

DPNM Lab., POSTECH 27/29 CS490K - Internet of Things (IoT) Projects  RearEye - A wearable additional eye Simple Lilypad project to get additional distance senses By putting it in pocket or backpack in order to sense someone / something approaching Consists of a Lilypad, a LilyPad Vibe Board and a SRF05 Ultrasonic Ranger

DPNM Lab., POSTECH 28/29 CS490K - Internet of Things (IoT) Projects  LED Matrix from processing  Arduino Flash Control  Google Earthwalk  Ultrasonic grass  Piezo pong  Accelerometer and Flash  Lots of interesting projects you can find in

DPNM Lab., POSTECH 29/29 CS490K - Internet of Things (IoT) References  Official homepage with Playground & forums  Great Arduino tutorials  Various movies, hacks, tutorials on Arduino  Index of Arduino knowledge  Arduino starter kits, Boarduino Arduino clone, lots of cool kits  Sells Arduino boards and lots of neat sensors & stuff