B.RAMAMURTHY Arduino and Automotive Embedded Systems July 27, 2014 CSE651C, B. Ramamurthy 1.

Slides:



Advertisements
Similar presentations
Lab7: Introduction to Arduino
Advertisements

Getting your Arduino to Work: Microsoft Windows 1.Install Arduino programming environment 2.Install Arduino Uno driver 3.Make sure you can download a program.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Embedded Programming and Robotics
Welcome to Workshop 88’s Tiny85 Class Please download Tiny core libs from: (for Arduino 1.0, not 1.5!) Unzip and.
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
System Resources INFO1119 (Fall 2012).
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
DPNM Lab., POSTECH 1/29 CS490K - Internet of Things (IoT) Jonghwan Hyun DPNM Lab. Department of Computer Science and Engineering, POSTECH
2.0 EMBEDDED CONTROLLER Engr. Hj. Mohamad Fauzi bin Zakaria Department of Mechatronics and Robotics Engineering Faculty of Electrical and Electronic Engineering.
Ballooning Bundle. What is a Microcontroller? Small computer with a processor core, memory and programmable input/output Continuously repeats software.
Daniel Pickem and Rowland O’Flaherty 12/04/2012 Mechatronics (ME 6405) Student Lecture On Arduinos *Some slides courtesy of Eoin Brazil
The New FTC Platform (Connecting your legacy hardware)
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.
Franz Duran INTRODUCTION TO A RDUINO PROGRAMMING & INTERFACING Engr. Franz Duran, MEP-ECE RapidSignal Electronics.
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
Arduino A free development system based on Atmel AVR 8 bit microcontrollers. LB8X Tom.
Microcontrollers, Microcomputers, and Microprocessors
Intro to Arduino Basic Arduino John Wolf (WolfDenElectronics.com)
Embedded C- Language Lets Learn fundamentals !!. An Embedded system is combination of computer hardware and software, and perhaps additional mechanical.
Programming and Debugging with the Dragon and JTAG Many thanks to Dr. James Hawthorne for evaluating the Dragon system and providing the core content for.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Arduino Board SHUBHAM PANCHAL: What is an Arduino? A microcontroller board + programming IDE Microcontrollers & Robotics.
Having fun with code, using Arduino in a middle school CS classroom
Arduino.
After Construction Name: Per #:.
Microcontrollers A microcontroller is a small computer which interacts with its environment, e.g switches, sensors, lights, motors It does not have.
Lets Learn fundamentals !!
Arduino Part 1 Topics: Microcontrollers
Embedded Systems Intro to the Arduino
European Robotic LABoratory
By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot
Obstacle avoiding robot { pixel }
Scrolling LCD using Arduino.
Dr. Kyung Eun Park Summer 2017
Home automation using Arduino & ‘PIR sensor’
Downloading Arduino FOR WINDOWS.
Arduino is an open-source platform for building electronics projects
Automatic human detector garbage can.
Arduino and Automotive Embedded Systems
Arduino Development for Beginners
‘SONAR’ using Arduino & ultrasonic distance sensor
Introduction to Arduino Microcontrollers
Arduino and Design of Embedded Applications
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 Arduino? By James Tedder.
Arduino 101 Credit(s):
"You don't need anyone's permission to make something great
Arduino Board.
Snowman pcb design workshop – Breadboarding / Programming ATTiny85
Arduino Leonardo Setup
Introduction to Arduino
Lab #1: Getting Started.
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:

B.RAMAMURTHY Arduino and Automotive Embedded Systems July 27, 2014 CSE651C, B. Ramamurthy 1

References M. McRoberts. Beginning Arduino. Apress, telemetry-platform telemetry-platform Many Arduino tutorial videos mega html -mega html July 27, 2014 CSE651C, B. Ramamurthy 2

What is an Arduino? “A single-board microcontroller and a software suite for programming it.” Arduino Uno:  The hardware consists of a simple, open design for the controller with an Atmel AVR processor and on-board I/O support.  The software consists of a standard programming language and the boot loader that runs on the board. Arduino is a tiny embedded system that you can program to process between the device and the external components you connect to it. Example1: connect a led to the output, switch to input, when a switch is pressed, the light is turned on, processor counts and turns it off after 30 seconds Example2: Replace the switch with PIR (Passive InfraRed ) sensor that will trigger the light... A car dome light? An intruder alarm? Simply put: An Arduino can be connected to LEDs, dot matrix displays, buttons, switches, motors, temperature sensors, distance sensors, GPS receivers, Ethernet modules, or just about any device…it can then convert it proper form (Analog to digital and vice versa) and activate response(s) July 27, 2014 CSE651C, B. Ramamurthy 3

Why Arduino? Is a convenient-sized unit for prototyping embedded system applications Ardunio’s processor chip Atmel, Atmega are commonly used in automotive applications Arduino+ Android + CAN (Controller Area Network) constitute the OpenXC platform promoted by Ford and other automotive companies Multi-national involvement in chip design and manufacturing and in board design (Sweden: Chip, Italy: Board, USA: IDE, use: all over, across application domains) Completely open source: both hardware and software (you can build your own Arduino board but cannot call it Arduino, that’s all) July 27, 2014 CSE651C, B. Ramamurthy 4

Arduino Board Arduino board has an Atmel AVR (Alf Vegard RISC) processor In the latest Arduino Uno version has Atmega8U2 a serial-usb converter, so can connect to game controller or a mouse too. What else? Arduino UNO R3 board, original Manufacturer in Italy, ATmega328P Includes new pin configuration (SCL, SDA, IOREF) Lets look at the board and understand its processor and IO capabilities. July 27, 2014 CSE651C, B. Ramamurthy 5

Memory There are three pools of memory in the microcontroller used on avr-based Arduino boards :  Flash memory (program space), is where the Arduino sketch is stored.  SRAM (static random access memory) is where the sketch creates and manipulates variables when it runs.  EEPROM is memory space that programmers can use to store long- term information. The ATmega328 chip found on the Uno has the following amounts of memory:  Flash 32k bytes (of which.5k is used for the bootloader)  SRAM 2k bytes  EEPROM 1k byte July 27, 2014 CSE651C, B. Ramamurthy 6

Programming Arduino You will use an Arduino IDE You will write code in C The step by step program can be developed in the IDE and downloaded the board through serial connector Arduino IDE is a “Processing” application (We will discuss the Processing Java library next week) The programs are called sketches There are so many ways you can program an Arduino: from Processing-based IDE on your computer, burn it into it, transfer from another Arduino… July 27, 2014 CSE651C, B. Ramamurthy 7

Shields The Arduino can also be extended with the use of “shields” Shields are circuit boards containing other devices (e.g. GPS receivers, LCD displays, Ethernet modules etc.) These can simply plugged onto the top of the Arduino basic boards Shields can plug-in on top of each other (connecting the I/O pins) thus providing extended functionality. (You don’t have to use the shields, you can make you own external circuitry on a breadboard or PCB.) July 27, 2014 CSE651C, B. Ramamurthy 8

Types of Arduino There are many types of Arduino: Uno, Due, Mini, Nano, Mega, etc. There are many third party Arduino-compatible boards with different names: OBduino (on-board diagnostics), Roboduino etc. Most popular and versatile is Uno ( we have also used Due, for better timing response) You prototype on the Uno, when you are satisfied with the application operation, just pop the 28-pin processor into an automobile host board or other hosts like Robots etc. July 27, 2014 CSE651C, B. Ramamurthy 9

Getting Started with Arduino Download the latest IDE, unzip and double click on the unzipped folder to open it You will see Arduino files and folders inside Next plug-in your Arduino using the USB cable and ensure that the green power LED (PWR) turns on. Windows will try to install the drivers for Arduino Uno and fail, don’t get upset.. Click on the Windows start button  control panel  System  Device manager  Arduino will appear with yellow exclamation mark  right click and update software July 27, 2014 CSE651C, B. Ramamurthy 10

Updating the drivers (contd. From last slide) Choose “Browse my computer for driver software” Click Browse button Navigate to the Arduino folder, Drivers folder and click OK Windows will start installing the driver… when the security pops up a security message, click “Install this driver software anyway” You should now see a message for successful installation.. Click Close Now to open the IDE double click the Arduino icon. We are all set to get started programming the device. Lets write some simple programs and make sure our Arduino works. Also look at you will need the understanding of these concepts for your project. In general spend some time understanding the various aspects of the Arduino… read every document. July 27, 2014 CSE651C, B. Ramamurthy 11

Lets understand Arduino July 27, 2014 CSE651C, B. Ramamurthy 12 The tabs to look at are: Products, Learning, Reference, Blogs You can submit your original projects for the world to see/use.