Robocon 2007, Hong Kong University of Science & Technology Robocon 2007 Electronics Quickstart! Session 1 Hello! Microcontroller. Prepared by KI Chi Keung.

Slides:



Advertisements
Similar presentations
CS1102 Lec04 Hardware – Inside the Box Computer Science Department City University of Hong Kong.
Advertisements

EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
Engr. M.K.Debnath1 Microcontroller and PLC Eng. ISRAFIL KHAN. DIPLOMA IN ELECTRONIC.
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
Mohammed Yousef Abd El ghany, Faculty of Eng., Comm. Dep., 3rd year. Digital Signal Processor The Heart of Modern Real-Time Control Systems.
Embedded Computer ( Sisteme incorporate ) MPU vs. CPU / Alternative Texas Instrument, Freescale, ARM RISC and CISC approaches Single Chip Design System.
The Solar Tracker. Solar Tracking Project Team Members: –Cristian Ruvalcaba –Ken Seal –David Clark –Mark McKinley –Richard DeJarnatt.
Read Chapter 3 (David E. Simon, An Embedded Software Primer)
1-1 Embedded Software Development Tools and Processes Hardware & Software Hardware – Host development system Software – Compilers, simulators etc. Target.
Seminars at RSSC.org Sergei Grichine
ASPPRATECH.
GUJARAT TECHNOLOGICAL UNIVERSITY COURSEWARE FOR EVEN TERM SEMESTER POWER ELECTRONICS DEPARTMENT(024) L.E.COLLEGE, MORBI (031) 1.
Microcontroller based system design
Microcontroller: Introduction
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Fundamental of Microcontrollers
2 Lines Electronics I 2 C Analyzer Ching-Yen Beh Robert S. Stookey Advisor: Dr. J. W. Bruce.
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
Introduction to Arduino Chris Meyer Enlight Tech Talk
©2008 The McGraw-Hill Companies, Inc. All rights reserved. Digital Electronics Principles & Applications Seventh Edition Chapter 13 Computer Systems Roger.
Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
Introduction to PIC-C. Required Software PIC-C Compiler Firmware Downloader Driver for the USB->Serial Adapter.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Robocon 2007, Hong Kong University of Science & Technology Robocon 2007 Electronics Quickstart! Session 2 Prelude Logic Prepared by KI Chi Keung [chikeung.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Chap 1 Introduction. What is OS? OS is a program that interfaces users and computer hardware. Purpose: Provides an environment for users to execute programs.
Computer Organization & Assembly Language © by DR. M. Amer.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
What is a computer? Its an electronic machine which can accept data in certain form, process the data, and give the result.
MICROOCESSORS AND MICROCONTROLLER:
Welcome to the world of ARM. COURSE CONTENT Module 1: Introduction  Introduction of ARM Processors  Evolution of ARM  32 - bit Programming Module 2:
Lecture 7: Overview Microprocessors / microcontrollers.
EMBEDDED SYSTEM & ROBOTICS. Introduction to robotics Robots are machines capable of carrying out a complex series of actions automatically. Robotics is.
The Principle and Application of Microcontrollers
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
Modified Harvard architecture 8-bit RISC single chip microcontroller Complete System-on-a-chip On Board Memory (FLASH, SRAM & EEPROM) On Board Peripherals.
Seminar on "PLC” (Programmable Logic Controller)
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.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
10- Lock Bits, Fuse Bits and Boot Loader. Boot Loader Support – Read-While-Write Self- Programming: The Boot Loader Support provides a real Read-While-Write.
Javelin Stamp TM Andrew Prunicki Nov. 8, Overview ● Hardware – Microcontrollers – Robot Demo – Javelin Stamp Capabilities ● Software – Javelin Stamp.
Obstacle avoiding robot { pixel }
SHRI S’AD VIDYA MANDAL INSTITUTE OF TECHNOLOGY
Scrolling LCD using Arduino.
Programming and Debugging with the Dragon and JTAG
REMOTE CONTROL OF A MECHATRONICS SYSTEM WITH WIRELESS COMMUNICATIONS
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
SUBMITTED BY EDGEFX TEAM
Home automation using Arduino & ‘PIR sensor’
Automatic human detector garbage can.
微算機原理/ 微算機實習 Chin-Shiuh Shieh
Modified Harvard Architectures
IPCOWALA INSTITUTE OF ENGINEERING & TECHNOLOGY-DHARMAJ
Introduction to Microcontrollers and the Board of Education
Principles & Applications
Project Title EVM IN PIC Under the Guidance of Submitted by.
AVR Microcontrollers Prepared By: Disha Ruparelia ( )
میکرو کنترلر های AVR مدرس: مسعود بهمن پور
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
Robocon 2007 Electronics Quickstart!
Robocon 2007 Electronics Quickstart!
Introduction to Arduino
Function of Operating Systems
Robocon 2007 Electronics Quickstart!
Presentation transcript:

Robocon 2007, Hong Kong University of Science & Technology Robocon 2007 Electronics Quickstart! Session 1 Hello! Microcontroller. Prepared by KI Chi Keung [chikeung @ ust.hk] WONG Long Sing (Sam) [sam @ hellosam.net]

Robocon 2007, HKUST Today ’ s Timeline 1.Game Introduction 2.Microcontroller 3.Training Board 4.Development Tools 5.LED, Buzzer and Button

Robocon 2007, HKUST Game Introduction Manual Machine Auto Machine

Robocon 2007, HKUST Game Introduction Output Device –RC Servo Motor –DC Motor –Valve Control –LCD Input Device –Joypad (Playstation Controller) –Button –Sensor

Robocon 2007, HKUST Microcontroller The brain of the machine. Why not PC? Efficiency –Space –Weight –Energy Direct Control –Discrete Logic –Timing

Robocon 2007, HKUST Microcontroller MCU is CPU + Memory (RAM) + Storage (Flash & EEPROM) + Handy hardware module for –Communication –Common but hard to code function like Timer

Robocon 2007, HKUST Microcontroller We mainly use ATMega128 (Model Number), which is a 8-bit AVR MCU (Architecture), By Atmel (Manufacturer) But then how to use? Read the specification!

Robocon 2007, HKUST Microcontroller Basic about CPU Run instructions in discrete time defined in the spec. Run sequentially, non-stop, 24x7…if working condition is met. It does not know about time. The ultimate time source is the Crystal Oscillator. (Basically apply to all IC)

Robocon 2007, HKUST Microcontroller Every CPU runs machine code Machine code can be generated from assembly code Assembly code can be generated from high level language We use C to code our MCU

Robocon 2007, HKUST Microcontroller Your program will be the only program running on the chip. There is no OS. No OS means there is no hardware driver. Which basically implies printf is not available. How debug is done?

Robocon 2007, HKUST Training Board IO and Peripherals MCU Power

Robocon 2007, HKUST Software Development Loading the first program. C Compiler Flashing a new program

Robocon 2007, HKUST LED, Buzzer and Button