PIC Microcontrollers: Principles and Applications (Advanced Higher)

Similar documents
Special Lecture. Basic Stamp 2 Programming. (Presented on popular demand)

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Designing an efficient Programmable Logic Controller using Programmable System On Chip

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

MICROCONTROLLER INTERFACING CIRCUITS

TRILOGI 5.3 PLC Ladder Diagram Programmer and Simulator. A tutorial prepared for IE 575 by Dr. T.C. Chang. Use On-Line Help

Computer and Set of Robots

Introduction to Electronic Signals

Programming A PLC. Standard Instructions

8051 MICROCONTROLLER COURSE

Microcontrollers Figure 26-1 Objectives Key Words and Terms 26.1 OVERVIEW OF THE MICROCONTROLLER microcontroller

MICROPROCESSOR AND MICROCOMPUTER BASICS

Industrial Automation Training Academy. PLC, HMI & Drives Training Programs Duration: 6 Months (180 ~ 240 Hours)

MECE 102 Mechatronics Engineering Orientation

CHAPTER 11: Flip Flops

Microcontroller-based experiments for a control systems course in electrical engineering technology

CSE2102 Digital Design II - Topics CSE Digital Design II

Higher National Unit Specification. General information for centres. Transmission of Measurement Signals. Unit code: DX4T 35

Measuring Resistance Using Digital I/O

FlowKit in-circuit debug system

Conversion Between Analog and Digital Signals

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

An Introduction to MPLAB Integrated Development Environment

revolution Contents: Introduction Power 28-pin Project Board with input/output cables

Contents. revolution MICROCONTROLLER INTERFACING CIRCUITS. 1 Section 3

An overview of Computerised Numeric Control (C.N.C.) and Programmable Logic Control (P.L.C.) in machine automation

2.0 Command and Data Handling Subsystem

Lab Experiment 1: The LPC 2148 Education Board

A Digital Timer Implementation using 7 Segment Displays

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Massachusetts Institute of Technology

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

Unit title: Computing: Applications Development (SCQF level 5)

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Chapter 13. PIC Family Microcontroller

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

This Unit is a mandatory Unit of the Business Management (Intermediate 2) Course and is also available as a free standing Unit.

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

Programming Logic controllers

Analog Inputs and Outputs

Microcontrollers A Brief History of Microprocessors

How to design and implement firmware for embedded systems

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence :

DS1104 R&D Controller Board

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

isppac-powr1220at8 I 2 C Hardware Verification Utility User s Guide

Example Connection between USB Host and Android

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Microtronics technologies Mobile:

ezsystem elab16m Project 1F: Alarm System (Full Project description)

EasyPIC4 User s Manual

1 Higher National Unit credit at SCQF level 8: (8 SCQF credit points at SCQF level 8)

How to design an insulin pump

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

PART B QUESTIONS AND ANSWERS UNIT I

ECIO40P ECIO28P ECRM40. Page 1. USB programmable microcontrollers. 0.6 DIP footprint. Supplied with a free version of Flowcode. E-blocks compatible

This Unit is aimed at candidates who have no previous experience of computer programming.

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II

Chapter 2 Logic Gates and Introduction to Computer Architecture

User Manual. AS-Interface Programmer

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15

PROGRAMMABLE LOGIC CONTROL

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

Technical Training Module ( 30 Days)

ET-BASE AVR ATmega64/128

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

USING I2C WITH PICAXE

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands

USB I/O CONTROL BOX 8 relays, 8 digital I/O lines and 8 HV inputs

AC : PRACTICAL DESIGN PROJECTS UTILIZING COMPLEX PROGRAMMABLE LOGIC DEVICES (CPLD)

Design of an Insulin Pump. Purpose of an Insulin Pump:

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Software engineering for real-time systems

Substation Automation Systems. Nicholas Honeth

USER GUIDE Programming Adapter Cable for Fujitsu Flash Microcontroller- F²MC-16LX/FR Family Fujitsu Microelectronics America, Inc.

Digital To Analog Converter with Sine Wave Output

DS1821 Programmable Digital Thermostat and Thermometer

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Industrial Process Controllers

Development of a Microcontroller Based Robotic Arm

AXE114S BINARY CLOCK. revolution Revolution Education Ltd. Web: Version /09/08 AXE114.PMD.

A N. O N Output/Input-output connection

SHORT TRAINING COURSES

... Electronic Softstarter...

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

DESIGN OF 6 DOF ROBOTIC ARM CONTROLLED OVER THE INTERNET

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

PICAXE X2 Product Briefing (updated Dec 10).

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

UPiS - Uninterruptible Power intelligent Supply

c0003 A Simple PIC Application CHAPTER 3

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

Unit title: Computing: Applications Development (SCQF level 6)

ABACOM - netpio.

Transcription:

National Unit Specification: general information NUMBER D8XR 13 COURSE Mechatronics SUMMARY The candidate will develop an understanding of PIC microcontrollers and their applications. OUTCOMES 1 Describe PIC microcontroller types and architectures. 2 Describe microcontroller interfacing principles. 3 Describe digital and analogue input devices. 4 Create a simple control program. RECOMMENDED ENTRY While entry is at the discretion of the centre, candidates would normally be expected to have attained one of the following: Higher Grade in Mechatronics or Technological Studies A Scottish Group Award at Higher level in an appropriate area An appropriate grouping of national units or an NC Group Award. CREDIT VALUE 1 credit at Advanced Higher. Administrative Information Superclass: XL Publication date: June 2003 Source: Scottish Qualifications Authority Version: 01 Scottish Qualifications Authority 2003 This publication may be reproduced in whole or in part for educational purposes provided that no profit is derived from reproduction and that, if reproduced in part, the source is acknowledged. Additional copies of this unit specification can be purchased from the Scottish Qualifications Authority. The cost for each unit specification is 2.50 (minimum order 5). 1

National Unit Specification: general information (cont) CORE SKILLS There is no automatic certification of core skills or core skills components in this unit. Additional information about core skills is published in the Catalogue of Core Skills in National Qualifications (SQA, 2001). Unit Specification (D8XR 13): PIC Microcontrollers: Principles and Applications 2

National Unit Specification: statement of standards Acceptable performance in this unit will be the satisfactory achievement of the standards set out in this part of the unit specification. All sections of the statement of standards are mandatory and cannot be altered without reference to the Scottish Qualifications Authority. OUTCOME 1 Describe PIC microcontroller types and architectures. Performance Criteria a) Explanation of the program and data bus implementation in microcontroller hardware is correct. b) Completion of the internal block diagram of a specified PIC microcontroller is correct. c) Identification of the different functions related to the pin-out diagram of a PIC microcontroller is correct in terms of manufacturers data sheets. d) Description of PIC microcontroller features and memory types that could influence a programmer are correct. Note on Range for the Outcome Microcontroller hardware: Harvard architecture, program bus, data bus, Arithmetic and Logic Unit (ALU), Working register, RAM, ROM. Block diagram: ALU, Working (W) register, program counter, stack, clock circuit, reset interrupt circuits, RAM, ROM, bus structure, decoding and timing controller, input/output (I/O)ports, Analogue to Digital Converter (ADC). Pin-out diagrams: control pins and input/output pins. Types: PROM (OTP), EPROM, EEPROM. Evidence Requirements Written and graphical evidence that the candidate can describe the bus implementation on a PIC microcontroller. Blank diagram where the student has to correctly identify and label the correct component parts or pin functions. Written and graphical evidence that the candidate can describe five of the following features of a typical microcontroller; size of ROM, size of RAM, program instructions available, number of I/O pins available, external or watchdog interrupts, using digital and/or analogue inputs. Written evidence that the candidate can describe the features and types of PIC microcontrollers. OUTCOME 2 Describe microcontroller interfacing principles. Performance Criteria a) Description of digital input interfacing principles is correct. b) Description of analogue input interfacing principles is correct. c) Description of digital output interfacing principles is correct. d) Description of interfacing a microcontroller with an analogue controlled actuator is correct. Unit Specification (D8XR 13): PIC Microcontrollers: Principles and Applications 3

National Unit Specification: statement of standards (cont) Note on Range for the Outcome Digital input: input voltage requirements, pull up resistor, pull down resistor. Analogue input: Analogue to Digital Conversion (ADC), signal amplication (op-amp), signal attenuation (voltage divider), bridge circuit. Digital output: darlington driver, electro-mechanical relay, solid state relay. Analogue output interfacing: Pulse Width Modulation (PWM), Digital to Analogue Conversion (DAC). Evidence Requirements Written and graphical evidence that the candidate understands the interfacing requirements of a microcontroller that uses digital and analogue inputs, digital outputs and digital outputs controlling an analogue device. OUTCOME 3 Describe digital and analogue input devices. Performance Criteria a) Description of the operating principles and signal conditioning of digital input devices is correct. b) Description of the operating principles and signal conditioning of analogue input devices is correct. Note on Range for the Outcome Digital input devices: microswitch, infra red proximity sensor, Hall effect sensor, shaft encoder, turbine/vane flow sensor. Analogue input devices: strain gauge, light dependant resistor (LDR), resistance thermometer, piezo electric pressure sensor. Evidence Requirements Written and graphical evidence that the candidate understands the principles of the digital and analogue input devices. OUTCOME 4 Create a simple control program. Performance Criteria a) Production of the program using digital I/O signals is correct in terms of a given specification. b) Execution of the program is in accordance with set test procedures. c) Production of the program documentation is correct in terms of given specification. Unit Specification (D8XR 13): PIC Microcontrollers: Principles and Applications 4

National Unit Specification: statement of standards (cont) Note on Range for the Outcome Program: I/O port setup, Inputs, read/test/process inputs, Output to devices. Test procedures: draw up test strategy, download source code to a microcontroller, test in system, record results. Documentation: program brief, problem analysis, program listing (including program documentation), test strategy, test results, analysis of results and conclusions. Evidence Requirements Performance and written evidence of the candidate s ability to develop, verify and document programs as specified in PCs (a) to (c). Unit Specification (D8XR 13): PIC Microcontrollers: Principles and Applications 5

National Unit Specification: support notes This part of the unit specification is offered as guidance. None of the sections of the support notes is mandatory. While the time allocated to this unit is at the discretion of the centre, the notional design length is 40 hours. GUIDANCE ON CONTENT AND CONTEXT FOR THIS The candidate should achieve the level of competence of someone who may be expected to program, install or test a microcontroller-based system, involving the following: Outcome 1 The candidate should be aware of the architectures used, the types of PICs available and the influences PIC microcontrollers characteristics have on a programmer. Outcome 2 Interfacing to microcontroller should be introduced and developed. Candidates should know how to interface with input signals from eg a micro switch or hall effect sensor and analogue signals from a strain gauge or temperature sensor. Interfacing outputs from the microcontroller could include using a relay or darlington driver to drive on/off actuators as well as D/A conversion and Pulse Width Modulation (PWM) techniques to control analogue actuators. Outcome 3 Input devices should be examined and their principles taught using written, graphical or software modelling techniques. Their input/outputs should be measured using multimeters, logic probes and/or oscilloscopes to give the candidates a better understanding of how the output signals react to changes of input. Outcome 4 Sample programs using a range of instructions should be used to develop the candidate s knowledge and understanding of the microcontroller being studied. Initially the candidate should be encouraged to expand or modify given programs when developing their own software skills. Basic programming would be best suited to this outcome, it has a range of commands which will aid the programmer in creating control programs. A modeller s servo motor can be used in a position control program, they can also be modified for use in a speed and direction control program. Unit Specification (D8XR 13): PIC Microcontrollers: Principles and Applications 6

National Unit Specification: support notes Instructions set for Advanced Higher Mechatronics PIC Microcontrollers: Principles and Applications Debug End For.next Gosub Goto Halt High If then Input Low Output Pause Pulsin Pulsout Return Switch on Switch off Symbol Toggle Wait Unit Specification (D8XR 13): PIC Microcontrollers: Principles and Applications 7

National Unit Specification: support notes (cont) GUIDANCE ON LEARNING AND TEACHING APPROACHES FOR THIS The unit should be delivered in the order in which the outcomes are listed. This enables the basic theory to be dealt with prior to consideration of the practical aspects. Outcome 1 could use animated (eg. Power Point) programs to build up the architecture of the microcontroller. Outcomes 2 and 3 should be approached using worksheets to suit the laboratory activities. References to theory notes and small group discussions should be encouraged at this time. Outcome 4 could be approached by introducing the candidates to written programs and then editing them to change the input and outputs of the system. The candidates could then write and test small programs before progressing on to more difficult programming techniques. Flowcode programming may be an option for introducing this outcome. Candidates can quickly and easily program PIC microcontrollers before moving on to text programming. GUIDANCE ON APPROACHES TO ASSESSMENT FOR THIS It is recommended that centres use National Assessment Bank material for this unit. SPECIAL NEEDS This unit specification is intended to ensure that there are no artificial barriers to learning or assessment. Special needs of individual candidates should be taken into account when planning learning experiences, selecting assessment instruments or considering alternative outcomes for units. For information on these, please refer to the SQA document Guidance on Special Assessment Arrangements (SQA, 2001). Unit Specification (D8XR 13): PIC Microcontrollers: Principles and Applications 8