Seminars at RSSC.org Sergei Grichine

Slides:



Advertisements
Similar presentations
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Advertisements

Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
B.RAMAMURTHY Arduino and Automotive Embedded Systems July 27, 2014 CSE651C, B. Ramamurthy 1.
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
Hardware Meets Software CPSC 120 Principles of Computer Science February 15, 2012.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
Seminars at RSSC.org Sergei Grichine
Introduction.
Cookie Board Designed by Officially sold on. Agenda Cookie Overview Product Differentiation Cooperative Marketing Arduino-compatible ARM Prototyping Platform.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Welcome to Workshop 88’s Tiny85 Class Please download Tiny core libs from: (for Arduino 1.0, not 1.5!) Unzip and.
Camera Interfacing using ARM7
Resources: Hardware and Software Senior Design – Fall 2011.
AVR  Modern RISC architecture: Compact and FAST.  Tuned for high level languages.  Consistent architecture across entire line.  Small AVR are subsets.
Little arduino microcontrollers Meghan Jimenez 12 February 2014.
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
328eForth for Arduino Uno C. H. Ting February 16, 2012 SVFIG.
2.0 EMBEDDED CONTROLLER Engr. Hj. Mohamad Fauzi bin Zakaria Department of Mechatronics and Robotics Engineering Faculty of Electrical and Electronic Engineering.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
Administrative Introduction Our goals for this project is for the two robots to work together intelligently using wireless communication Not only did.
LVTech / / IRC #makelv on freenode.net Jared Steckel AN INTRODUCTION.
1 Microcontrollers you should know about Thomas Edwards
Embedded Bluetooth Stack Dean Camera Project Supervisor: John Devlin.
Daniel Pickem and Rowland O’Flaherty 12/04/2012 Mechatronics (ME 6405) Student Lecture On Arduinos *Some slides courtesy of Eoin Brazil
Typical Microcontroller Purposes
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.
Unconventional User Interface // // Mood Based Navigation Sheo // 1Haring, Naderer, Zachhuber Arduino  Open Source Project (HW u. SW)  Analog.
Unconventional User Interface // // Mood Based Navigation Sheo // 1Haring, Naderer, Zachhuber Mood Based Navigation Shoe Roland Haring Otto.
Introduction to Arduino Microcontrollers. What is a Microcontroller ? What is a Microprocessor ? A Microcontroller (8 bit) does one task very fast and.
Getting Started With the Arduino Uno
Welcome to the world of ARM. COURSE CONTENT Module 1: Introduction  Introduction of ARM Processors  Evolution of ARM  32 - bit Programming Module 2:
智慧電子應用設計導論(1/3) Arduino MEGA 2560
Minds and Computers 2.1 The RCX l Hitachi H8/3297 series processor l 3 inputs/sensors (1, 2, 3) l 3 outputs/motors (A, B, C) l 32k RAM/ 16k ROM ä 12 kB.
The “Drink Mixer” Design Constraints. Project Success Criteria An ability to digitally mix audio and adjust individual levels An ability to digitally.
Lecture 7: Overview Microprocessors / microcontrollers.
Arduino A free development system based on Atmel AVR 8 bit microcontrollers. LB8X Tom.
Robocon 2007, Hong Kong University of Science & Technology Robocon 2007 Electronics Quickstart! Session 1 Hello! Microcontroller. Prepared by KI Chi Keung.
Software Toolchains. Instructor: G. Rudolph, Summer Motivation Desktop Programmers typically write code on the same kind of machine on which it.
ARDUINO OVERVIEW Bob Wilton – KF5TPQ. ARDUINO UNO.
Software Toolchains. Motivation 2 Write Run Edit, compile, link, run, debug same platform Desktop Write Run Edit, compile, link, debug on host; run on.
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.
HW & SW Overview  What’s UNO  Hardware  Specification  Installing IDE  Programming  Compiling.
Arduino.
Introduction to the ARM mbed Platform– A Hands-on Course
IoT Milos Hampl.
By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot
Scrolling LCD using Arduino.
Introducing the Arduino boards & some supporting modules
Automatic human detector garbage can.
Arduino Development for Beginners
Arduino and Design of Embedded Applications
AVR Hardware Connections and Flash Loading
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.
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
Arduino Board.
Blind Stick भाग १.
Arduino Board.
CSCI1600: Embedded and Real Time Software
CSCI1600: Embedded and Real Time Software
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:

Seminars at RSSC.org Sergei Grichine

Agenda Why Arduino Common boards – Uno, Mega, Mini, Leonardo and just a chip Precautions – power, loads Tools – IDE, logic analyzer, USB/Serial, Arduino in Robot Architecture Code: Highlights of functions Making a library Using interrupts to read encoders Driving a motor via an H-Bridge Multitasking Serial communication to a PC I2C communication

Why Arduino Well designed cheap hardware Insanely simple programming at the beginning Friendly IDE – “keep it simple-stupid!” Exceptional documentation Community support, samples, forums, experts Have a question? Just google it!

Common boards: Uno

Common boards: Mega 2560

Common boards: Mini v05

A no-board solution – just an ATmega328 chip

Diavolino - also just-a-chip

Precautions – power, loads Vin: UNO – 7 to 10V Mega – maybe to 12V 2.1mm power plug (Fry’s has it) the plug must be "centre positive", that is, the middle pin of the plug has to be the + connection. 250ma or more rated power adapter Direct feed – 5V stabilized - can’t be used when Vin connected

Precautions – loads 40ma per pin, total up to 200ma Be Nice to your Arduino – divide the above by 2… or 4 For a LED, use 100 Ohm or larger resistor in series No recent (well over 2 years now) Arduino has a built-in resistor on Pin 13. Google “Arduino pin current”

Precautions A must read: Google “10 Ways to Destroy An Arduino”

Tools –

Tools – ICSP programmer download bootloader to EEPROM debug using Eclipse and other tools Google: “arduino icsp debugging”

Tools: Logic Analyzer saleae.com Designed & Manufactured in beautiful San Francisco

saleae.com Designed & Manufactured in beautiful San Francisco

Arduino in Robot Architecture Not much power – 16 MHz crystal, close to 16 MIPS 8-bit AVR instruction set Uno / ATmega328 Flash Memory: 32 KB of which 0.5 KB used by bootloader SRAM: 2 KB (a.k.a. RAM) EEPROM: 1 KB(persistent storage for settings) Mega: Flash Memory: 256 KB of which 8 KB used by bootloader SRAM: 8 KB EEPROM: 4 KB

Roles Single controller for a small robot

Roles Functional controller – servo, drive, sensors, lights, animation, display High Level Controller (PC, Beaglebone, Android) Sensor Controller Tank Drive Controller Arm Controller Head Animation Controller USB to Serial

Role - Communication controller High Level Controller (PC, Beaglebone, Android) Sensor Controller Tank Drive Controller Arm Controller Head Animation Controller I2C Communication Controller USB to Serial I2C

Code tips Not C++, Not quite Java – but close Google “arduino reference” Functions -

Code tour Code: Highlights of functions Making a library Using interrupts to read encoders Serial communication to a PC Driving a motor via an H-Bridge Multitasking I2C communication

Making a Library Explore existing Think of a good interface Make your own

Seminars at RSSC.org Sergei Grichine