ME456: Mechatronics. Prof. Clark Radcliffe. Do you have the knack? Joonho Lee, TA. What s Mechatronics? Mechatronics

Similar documents
Thursday, September 15, electronic components

BASIC Stamp 1 Project Board (#27112) Development / Education Platform for the BASIC Stamp 1

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

Light Sensors. Measuring Light. The Phototransistor. Discharge Times. Measuring Light. Chapter 7: Measuring Light

AXE Stack 18. BASIC-Programmable Microcontroller Kit. An inexpensive introduction to microcontroller technology for all ability levels

Propeller Proto Board (#32212) Propeller Proto Board USB (#32812) Proto Board Accessory Kit (# )

Micro-Controllers. Module 2: Outputs Control and Inputs Monitoring. IAT Curriculum Unit PREPARED BY. August 2008

Laboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 1.

Experiment #1: What s a Microcontroller?

Bolt 18F2550 System Hardware Manual

RBT-225 Lab #2 Basic Stamp Relays August 14, 2016

MICROPROCESSORS A (17.383) Fall Lecture Outline

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

Stamp Stack II. BASIC Programmable Microcontroller Kit. A great way to get started with microcontrollers for beginners.

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. FA3800: Paul Stout Department of Art and Art History.

Logistics. Embedded Systems. Kinetic Art. This Class. Embedded Systems and Kinetic Art. Kinetic Art

LCD Prototype Circuit on Solderless Breadboard. 840 Pin Solderless Breadboard ( # ND)

Lab #2: Building the System

Stamp Stack II-SX. BASIC Programmable Microcontroller Kit Quick and easy project prototyping for the Basic Stamp

PAK-XI PS/2 Coprocessor Data Sheet by AWC

MICROPROCESSORS B (17.384) Spring Lecture Outline

Prop-SX Controller PN: 31103

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

Serial Port Complete

Alessandra de Vitis. Arduino

Web Site: Forums: forums.parallax.com Sales: Technical:

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

MICROPROCESSORS B (17.384) Spring Lecture Outline

CS61C Machine Structures. Lecture 1 Introduction. 8/27/2006 John Wawrzynek (Warzneck)

Lab 01 Arduino 程式設計實驗. Essential Arduino Programming and Digital Signal Process

CSE 466 Exam 1 Winter, 2010

Board Of Education USB (#28850)

Lab 2.2 Ohm s Law and Introduction to Arduinos

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

A Programmer for the 68HC705C8 MicroController Figure 1 PROG05 As Built PROG05 User Guide Version C1 Page 1 of 14

Lecture (02) PIC16F84 (I)

Web Site: Forums: forums.parallax.com Sales: Technical:

Prop-2 Controller PN: 31102

Dwarf Boards. DB057 : 40-pin controller board

Microcontrollers. What is a Microcontroller. Setting up. Sample First Programs ASCII. Characteristics Basic Stamp 2 the controller in the Boe Bot

MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

Welcome to Solving Problems with Computers I

Outline for Today. Lab Equipment & Procedures. Teaching Assistants. Announcements

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

Mercury System SB310

Mechatronics and Measurement. Lecturer:Dung-An Wang Lecture 6

LED Knight Rider. Yanbu College of Applied Technology. Project Description

Communicating with the BOE-BOT

Introduction to the SX Microcontroller

RS-232 Adapter Board

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives:

Physics 430 Laboratory Manual Rev.: 2004 Sept. 29

About the Presentations

Manual of Board ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22

Experiment #0. PC Hardware and Operating Systems

Microprocessors B Lab 3 Spring PIC24/24LC515 EEPROM Interface Using I 2 C

KPIC-0818P (V050919) Devices Included in this Data sheet: KPIC-0818P

Modtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs

INTERFACING HARDWARE WITH MICROCONTROLLER

Gigatechnology.com Pty Ltd

SBC65EC. Ethernet enabled Single Board Computer

EE251: Thursday September 20

Section 3 Board Experiments

Table of Contents. Introductory Material

PAK-VIa PS/2 Coprocessor Data Sheet by AWC

Lost Item Pager. Project Description. Russ Kinley

PICAXE EXPERIMENTER BOARD (AXE090)

Welcome to COMPSCI111/111G!

1/Build a Mintronics: MintDuino

MECE336 Microprocessors I

DIRRS+ Digital Infra-Red Ranging System Ideal for robotics projects. Singles (SKU # Pack (SKU #35100)

Digital Pins and Constants

CAUTION: TTL Only, Do Not Use ± 12 V RS-232

TMC428 Evaluation Kit V2.0 Manual English

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

C and Embedded Systems. So Why Learn Assembly Language? C Compilation. PICC Lite C Compiler. PICC Lite C Optimization Results (Lab #13)

275 to 550 MHz Frequency Synthesizer

Keywords Digital IC tester, Microcontroller AT89S52

keyestudio Keyestudio MEGA 2560 R3 Board

RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd.

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

IME-100 ECE. Lab 4. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

USER'S MANUAL PICEBS2. Hes-so//Valais / ISI / sap - version 1.0 PICEBS2-1/10

CSE 466 Software for Embedded Systems. CSE 466 Software for Embedded Systems

Images Scientific OWI Robotic Arm Interface Kit (PC serial) Article

INFORMATION COMUNICATION TECHNOLOGY SKS Lecture Two

EasyPIC5 Development System

SBC - Single Board Computer

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

EK307 Lab: Microcontrollers

Prop-1 Controller PN: 31101

Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC

Physical Computing Self-Quiz

Amarjeet Singh. January 30, 2012

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Pre-Lab: Part 1 Using The Development Environment. Purpose: Minimum Parts Required: References: Handouts:

USB2PPM. User s Guide. Version 2.00 dated 09/23/15. Gregor Schlechtriem

Laboratory 10. Programming a PIC Microcontroller - Part II

The Freescale MC908JL16 Microcontroller

Transcription:

ME456: Mechatronics Prof. Clark J. Radcliffe Mechanical Engineering Michigan State University Prof. Clark Radcliffe Office: 2445 Engineering Phone: 355-5198 Email: radcliff@egr.msu.edu Web: http://www.egr.msu.edu/classes/me456/radcliff/ Office Hours: WF 11:10-12:00 (after class..) OR by appointment http://www.egr.msu.edu/classes/me456/radcliff Joonho Lee, TA Do you have the knack? email: leejoon8@egr.msu.edu Office Hours: In 2200EB Lab Tuesday: Wednesday: Thursday: Friday: 2:00pm - 4:00pm It is our intent to provide lots of office hours Please use them What s Mechatronics? The integrated design of products and processes that include mechanical and electrical components under intelligent control. The underlying products are physical in nature (electromechanical, hydraulic, magnetic, etc). There are sensors and actuators for interfacing with them. There is "intelligence" through imbedded computing capability. All these processes are highly integrated into sophisticated products and processes. Reference: National Science Foundation Mechatronics The study of systems with Mechanical Engineering Components Electronic Sensors and Electrical Actuators Computer Controls Each necessary to successful performance of the whole 1

Syllabus Grading What s a microcontroller The BASIC Stamp microcontroller Small Design Project (individual) Robotics A typical mechanical interface BIG Design Project (Group) Learn by doing Virtual Laboratory 30% Written + Check-off Biweekly Quiz 30% 5 minutes each on Lab 1 st Design Project 15% After WAM book Final Project 25% 100% Course Operation Two lectures per week (2 hr) Come prepared to ask questions Demonstrations of lab material Two lab exercises per week (6 hr) Each has write-up & check-off Use 2200EB terminals any time TA scheduled in lab 1st Assignment Find the Webpage www.egr.msu.edu/classes/me456/radcliff Download a check-off sheet What s a Microcontroller? v3.0 Do Chapter 1 (everything you can) Attach all code to the check-off sheet Demo action to a classmate Turn in next Friday Homework Schedule http://www.egr.msu.edu/classes/me456/radcliff/me456_schedule.html ME456: Mechatronics Fall 2012 C. Radcliffe (Assignments Due 1 week after assigned) Typical Computers CPU Monitor Computers Keyboard & Mouse High Speed Random Access Memory (RAM) Long Term Memory (HDD, Tape, CD, ) Other peripheral devices (modem, printers, ) 2

Microcontrollers All around us without human interfaces Cars (as many as 20-30 today) Toys Phones Appliances (your microwave and VCR) Small for control of machines For connection to machines not people Inexpensive ($2.00 - $5.00 or less) An integrated microcontroller system Programmed in BASIC, Postage Stamp Size 2k byte EEPROM Serial Interface 5 volt Regulator I/O Pins 0-7 I/O Pins 8-15 20 MHz Resonator Interpreter Chip PIC16C57 w/ 26 bytes RAM Specifications 4000 BASIC Statements per second 16 Digital I/O pins Source 20 ma, Sink 25 ma Special purpose control routines 5v power supply (50 ma) Low power (8 ma, sleep at 0.1mA) RS232-USB serial programming interface 2k bytes program token storage Board of Education Allows easy prototyping with BSII 9 volt Battery Connector USB Interface To PC Microcontroller Socket Wall Transformer Connection Reset Button 5 volt 1.5A Regulator Digital I/O Connector RC Servo Connections 5v Power Supply Connection Circuit Prototyping Area BOE Breadboard Application Kits BoeBot connections: +5v (Vdd) & Ground (Vss) (5) pin groups connected 3

Board of Education Design Flashing Lights Vdd 5 volt power Demonstration Let s Make Flashing Lights P0 P1 Light Emitting Diodes (LED) Current Limiting Resistors Digital I/O pins (0 or 5 volts) Circuit Model and Analysis How big should resistors be? Limit current to 10 ma R P0 R Vdd P1 Assume: a) no voltage drop across LED b) P0 and P1 - go to ground - have zero input impedance R = V I = 5v 0.010A = 500! " 470! Create Flashing Lights Hardware connection to +5v (Vdd) Note Polarity Of LED s (2) 470 Ohm Resistors (yellow, violet, brown, ) Create Flashing Lights Software Flashing Lights Solution 'Program Demo Listing written by C. Radcliffe! 'Define Variables and Constants! left_led! con 0!'left LED drive pin! right_led con 1!!'right LED drive pin! blink! con 100!'blink time (msec)! 'Main Program! flash:!!!'start of Program! high left_led!!'turns left led off! low right_led!!'turns right led on! pause blink!!'wait for <blink> ms! low left_led!! turns left led on! high right_led!'turns right led off! pause blink!!'wait for <blink> ms! goto flash!! repeat the blink! Circuit Hardware Plus Control Software 4

Tonight at 7:30pm MSU vs. Youngstown State 5