EXPERIMENT 2: Elementary Input Output Programming

Size: px
Start display at page:

Download "EXPERIMENT 2: Elementary Input Output Programming"

Transcription

1 EXPERIMENT 2: Elementary Input Output Programming Objectives Introduction to the Parallel Input/Output (I/O) Familiarization to Interfacing with digital inputs and outputs such as switches, LEDs and 7-segment. Introduction Overview of the PIC18F4550 Parallel Ports. A PIC18F4550 microcontroller has 5 I/O ports known as port A, B, C, D and E. The pins of an I/O port are often multifunctional with one or more peripheral functions e.g. interrupt, timer, analog to digital and etc. In general, when a peripheral function is enabled, that pin may not be used as an I/O pin. Note: Please refer to PIC18F4550 datasheet in moodle appendix for detailed functions of each port and its pins. Each I/O port has three register for its operation. These register are: TRIS register (data direction register) PORT register (reads the voltage levels on the pins device) LAT register (output latch) The register names for each port can be derived by adding the port name to these general register names. For example, port A has TRISA, PORTA and LATA registers. Reading and Writing the I/O Ports Data direction needs to be set before the I/O operation. In order to configure an I/O pin for input, set the associated bit in the TRIS register to 1. To configure an I/O pin for output, set the associated bit in the TRIS register to 0. Digital Switch Input Switch is a commonly used component to give digital signal. PTK40A offers 4 commonly used push buttons; one is designated for Reset purpose and other 3 as programmable digital pin. It is being connected in pulled high configuration; the input signal is initially set to 5V (high). When the switch is pressed, the input signal becomes 0V (low). The opposite condition happened to the pulled low configuration. Microcontroller can be programmed to read the status of input pin and determine action based on the status. Besides switches, digital sensors also provide digital signal to microcontroller which serve the same function as switches. EEEB371 E2-1

2 Figure 2.1 Connection of push buttons on PTK40A Training Kit From Figure 2.1, SW1, SW2 and SW3 are being shared with KC1, KC2 and KC3 pins of keypad respectively. Please do not press any key on the keypad while using the push button switches. Switches is being pull-up to 5V through resistor, thus if pressed, the corresponding pin is pulled to Gnd. In program, please check for logic low (0V) if a press is needed. Digital LED Output LED is the most basic and commonly used output device in electronic circuit board. It is an indicator to display the logic status (High or Low) of a specific pin. Like any other output devices, LED can be active-high or active-low as shown in Figure 2.2 below. In PTK40A, most output pins of PIC are connected to an LED as indicator and connected in active high configuration. EEEB371 E2-2

3 Figure 2.2 Connection of LEDs on PTK40A Training Kit Digital Buzzer Output Similar to LED, buzzer is a simple output component that can be used as sound indicator. The buzzer will buzz continuously when power is provided (5V) and will turn off when the power is being cut off (0V). In other words, this is an active high configuration. Refer to Figure 2.3 for the connection of buzzer with PIC Microcontroller. Figure 2.3 Connection of Buzzer to RC2 on PTK40A Training Kit EEEB371 E2-3

4 For hardware configuration, set mini jumper on JP10 to activate buzzer as per Figure 2.4. Figure 2.4 Hardware configuration for Buzzer 7-Segment Display 7-segment is a component that consists seven segments of lights which would display the number from 0 to 9. For normal application, it can be connected as shown at figure 2.4 PTK40A uses common cathode 7-segment. Microcontroller can display any number (0-9) by activating the correct segment via providing 5V similar to the LED in previous section; of course the resistor is needed in between. For example, microcontroller can switch on the segment a, b, c, d, g and switch off segment f, e to display the number 3. However, to save the usage of the I/O pins of MCU and to simplify the control commands the 7-segment is connected with a decoder unit. In PTK40A, 2 CD4511 (BCD decoder) are used to decode 2 units of 7-segment. With that we are able to control 2 units of 7-segment with 6 output pins from microcontroller. Note that RE0 is used to enable (low enable) the first 7-Segment and RE1 is used to enable (low enable) the second 7-Segment. Both BCD decoders are sharing pins RD0-RD3. Figure 2.5 Connection of 7-Segment on PTK40A Training Kit EEEB371 E2-4

5 Procedure 1. For this experiment, you are required to complete a program to fulfill your given task. TASK 1: The task is to control the LEDs using SW1 (RB0) and SW2 (RB1). When SW1 is pressed, LEDs RD0-RD7 should rotate from left to right with 1 second interval and when SW2 is pressed, LEDs RD0-RD7 should blink with 1 second interval. The LEDs should perform the specified tasks as long as each one of those switches is pressed. 2. Write and complete the program below using MPLAB ;Put ID No and name of students #include<p18f4550.inc> ;include assembler directives here ;include makro here org 0x00 goto start org 0x08 org 0x18 ;main program start SETF TRISB,A ;configure portb as input CLRF TRISD,A ;configure portd as output CLRF PORTD,A ;initialize portd to turn OFF AGAIN BTFSS PORTB,0 ;check SW1 condition BRA FIRST BTFSC PORTB,1 ;check SW2 condition SETF PORTD,A ;execute if SW2 is pressed CLRF PORTD,A FIRST BSF PORTD,7,A ;execute if SW1 is pressed MOVLW 0x07 MOVWF PRODL,A LOOP RRNCF PORTD,F,A DECFSZ PRODL,F,A BRA LOOP CLRF PORTD,A NOP DELAY1S ;1sec delay for 20Mhz RETURN END 3. Execute and test your program on the board. Press the switches randomly. Write your observation in the worksheet. EEEB371 E2-5

6 4. TASK 2: The next task is to turn ON and OFF the buzzer 5 times with 1 second interval when SW3 is pressed. Write, complete and execute the program below. Write your observation. ;Put ID No and name of students #include<p18f4550.inc> ;include assembler directives here ;include makro here org 0x00 goto start org 0x08 org 0x18 ;main program start SETF TRISB,A ;configure portb as input BCF TRISC,2,A ;configure RC2 as output BCF PORTC,2,A ;initialize RC2 to turn OFF AGAIN BTFSC PORTB,2 ;check SW3 condition ;to turn ON & OFF ;the buzzer 5 times ;when SW3 is pressed NOP DELAY1S ;1sec delay for 20Mhz RETURN END 5. Draw the flowchart of the program for the program above. EEEB371 E2-6

7 6. TASK 3: The subsequent task is to display number 1 until 9 on the 7-Segment with 1 second interval between each number display when SW1 is pressed. Write, complete and execute the program below. Write your observation. ;Put ID No and name of students #include<p18f4550.inc> ;include assembler directives here ;include makro here org 0x00 goto start org 0x08 org 0x18 ;main program start SETF TRISB,A ;configure portb as input CLRF TRISE,A ;configure porte as output CLRF TRISD,A ;configure portd as output CLRF PORTD,A ;initialize portd to turn OFF CLRF PRODH,A ;initialize PRODH to hold the value of number to be displayed BSF PORTE,0,A ;disable first 7 segment and enable the second 7 segment AGAIN BTFSC PORTB,0 ;check SW1 condition MOVLW 0x0A ;execute task when SW1 is pressed MOVWF PRODL,A LOOP MOVFF PRODH,PORTD INCF PRODH,F,A DECFSZ PRODL,F,A BRA LOOP CLRF PRODH,A CLRF PORTD,A NOP DELAY1S ;1sec delay for 20Mhz RETURN END 7. TASK 4: The final task to write a complete program which will display number 0 until 9 with 1 second interval between each number display when SW2 is pressed and upon reaching number 9, the buzzer will ON and OFF 3 times with 1 second interval between each beep. Write your observation. Copy and Paste LST file to Word Doc and print. Make sure that the LST file is properly commented. 8. Turn off the PTK40A power supply, and rearrange the USB cable back into the Training Kit. Exit from MPLAB and PICKit 2 programmer. Shutdown your PC and rearrange your workstation before you leave. EEEB371 E2-7

Embedded Systems. Interfacing PIC with external devices 7-Segment display. Eng. Anis Nazer Second Semester

Embedded Systems. Interfacing PIC with external devices 7-Segment display. Eng. Anis Nazer Second Semester Embedded Systems Interfacing PIC with external devices 7-Segment display Eng. Anis Nazer Second Semester 2017-2018 PIC interfacing In any embedded system, the microcontroller should be connected to other

More information

Embedded Systems. Interfacing PIC with external devices 7-Segment display. Eng. Anis Nazer Second Semester

Embedded Systems. Interfacing PIC with external devices 7-Segment display. Eng. Anis Nazer Second Semester Embedded Systems Interfacing PIC with external devices 7-Segment display Eng. Anis Nazer Second Semester 2016-2017 PIC interfacing The PIC needs to be connected to other devices such as: LEDs Switches

More information

Experiment 3: Basic Embedded System Analysis and Design

Experiment 3: Basic Embedded System Analysis and Design University of Jordan Faculty of Engineering and Technology Department of Computer Engineering Embedded Systems Laboratory 0907334 3 Experiment 3: Basic Embedded System Analysis and Design Objectives Empowering

More information

Model Solution and marking scheme for Examination Paper EEE305J1: Microcontroller Systems 2004/5 General Observations

Model Solution and marking scheme for Examination Paper EEE305J1: Microcontroller Systems 2004/5 General Observations Model Solution and marking scheme for Examination Paper EEE305J1: Microcontroller Systems 2004/5 General Observations Design questions like A1 below are extremely difficult to mark, not least because there

More information

ECE 372 Microcontroller Design

ECE 372 Microcontroller Design E.g. Port A, Port B Used to interface with many devices Switches LEDs LCD Keypads Relays Stepper Motors Interface with digital IO requires us to connect the devices correctly and write code to interface

More information

Chapter 11 Sections 1 3 Dr. Iyad Jafar

Chapter 11 Sections 1 3 Dr. Iyad Jafar Data Acquisition and Manipulation Chapter 11 Sections 1 3 Dr. Iyad Jafar Outline Analog and Digital Quantities The Analog to Digital Converter Features of Analog to Digital Converter The Data Acquisition

More information

Distance, Velocity and Acceleration Detection

Distance, Velocity and Acceleration Detection Distance, Velocity and Acceleration Detection Andrew Walma and Scott Duong Abstract For this project we constructed a device that will measure the distance of an object using a high frequency transmitter

More information

Introduction to PIC Programming

Introduction to PIC Programming Introduction to PIC Programming Baseline Architecture and Assembly Language by David Meiklejohn, Gooligum Electronics Lesson 10: Analog-to-Digital Conversion We saw in the last lesson how a comparator

More information

Part (A) Controlling 7-Segment Displays with Pushbuttons. Part (B) Controlling 7-Segment Displays with the PIC

Part (A) Controlling 7-Segment Displays with Pushbuttons. Part (B) Controlling 7-Segment Displays with the PIC Name Name ME430 Mechatronic Systems: Lab 6: Preparing for the Line Following Robot The lab team has demonstrated the following tasks: Part (A) Controlling 7-Segment Displays with Pushbuttons Part (B) Controlling

More information

Data Conversion and Lab (17.368) Fall Lecture Outline

Data Conversion and Lab (17.368) Fall Lecture Outline Data Conversion and Lab (17.368) Fall 2013 Lecture Outline Class # 11 November 14, 2013 Dohn Bowden 1 Today s Lecture Outline Administrative Detailed Technical Discussions Lab Microcontroller and Sensors

More information

Combo Board.

Combo Board. Combo Board www.matrixtsl.com EB083 Contents About This Document 2 General Information 3 Board Layout 4 Testing This Product 5 Circuit Diagram 6 Liquid Crystal Display 7 Sensors 9 Circuit Diagram 10 About

More information

An Enhanced MM MHz Generator

An Enhanced MM MHz Generator An Enhanced MM5369-60 MHz Generator Author: OVERVIEW Jim Nagy London Ontario email: nagy@wwdc.com I call my idea an 'MM5369E' as it represents the equivalent of a 5369 IC plus all the 'glue' necessary

More information

Embedded System Training Module ABLab Solutions

Embedded System Training Module ABLab Solutions Embedded System Training Module ABLab Solutions www.ablab.in Table of Contents Course Outline... 4 1. Introduction to Embedded Systems... 4 2. Overview of Basic Electronics... 4 3. Overview of Digital

More information

Lecture (04) Arduino Microcontroller Programming and interfacing. By: Dr. Ahmed ElShafee

Lecture (04) Arduino Microcontroller Programming and interfacing. By: Dr. Ahmed ElShafee Lecture (04) Arduino Microcontroller Programming and interfacing By: Dr. Ahmed ElShafee 1 Dr. Ahmed ElShafee, ACU : Spring 2019 EEP02 Practical Applications in Electrical Arduino Board Strong Friend Created

More information

EKT 222 MICROPRESSOR SYSTEM. LAB 4 Extra : INTERFACING WITH OTHER I/O DEVICES

EKT 222 MICROPRESSOR SYSTEM. LAB 4 Extra : INTERFACING WITH OTHER I/O DEVICES EKT 222 MICROPRESSOR SYSTEM LAB 4 Extra : INTERFACING WITH OTHER I/O DEVICES LAB 4 Extra: Interfacing with Other IO devices Objectives: 1) Ability to create advance program instructions 2) Ability to use

More information

MECE336 Microprocessors I

MECE336 Microprocessors I MECE336 Microprocessors I Lecture 9 Subtraction and Lookup Tables Associate Prof. Dr. Klaus Werner Schmidt of Mechatronics Engineering Çankaya University Compulsory Course in Mechatronics Engineering Credits

More information

ET-REMOTE DISTANCE. Manual of ET-REMOTE DISTANCE

ET-REMOTE DISTANCE. Manual of ET-REMOTE DISTANCE ET-REMOTE DISTANCE ET-REMOTE DISTANCE is Distance Measurement Module by Ultrasonic Waves; it consists of 2 important parts. Firstly, it is the part of Board Ultrasonic (HC-SR04) that includes sender and

More information

Discrete Logic Replacement Melody Player

Discrete Logic Replacement Melody Player Melody Player Author: Slav Slavov Sliven email: ell@sliven.osf.acad.bg Flow Chart: begin APPLICATION OPERATION : This application generates a melody. It was a little bit difficult to place the tables because

More information

International Islamic University Chittagong (IIUC) Department of Electrical and Electronic Engineering (EEE)

International Islamic University Chittagong (IIUC) Department of Electrical and Electronic Engineering (EEE) International Islamic University Chittagong (IIUC) Department of Electrical and Electronic Engineering (EEE) Course Code: EEE 3518 Course Title: Embedded System Sessional EXPERIMENT NO. 8 Name of the Experiment:

More information

Alice EduPad Board. User s Guide Version /11/2017

Alice EduPad Board. User s Guide Version /11/2017 Alice EduPad Board User s Guide Version 1.02 08/11/2017 1 Table OF Contents Chapter 1. Overview... 3 1.1 Welcome... 3 1.2 Launchpad features... 4 1.3 Alice EduPad hardware features... 4 Chapter 2. Software

More information

Radio Clock with DCF77

Radio Clock with DCF77 Radio Clock with DCF77 by Nicolas L. F. September 2011 Abstract Since the 1980s radio clocks have been popular, and in this article Nicolas guides us through the creation of his own radio clock using the

More information

Keyboard Controlled Scoreboard

Keyboard Controlled Scoreboard Universities Research Journal 2011, Vol. 4, No. 4 Keyboard Controlled Scoreboard Kyaw Hlaing 1 and Win Swe 2 Abstract The objective of this research work is to design a keyboard controlled scoreboard that

More information

ELCT706 MicroLab Session #3 7-segment LEDs and Analog to Digital Conversion. Eng. Salma Hesham

ELCT706 MicroLab Session #3 7-segment LEDs and Analog to Digital Conversion. Eng. Salma Hesham ELCT706 MicroLab Session #3 7-segment LEDs and Analog to Digital Conversion 7-Segment LED Display g f com a b e d com c P 7-Segment LED Display Common Cathode - Com Pin = Gnd - Active high inputs - Example

More information

Step What to do Expected result What to do if test fails Component tested 1 Visual inspection. Board is accurately assembled

Step What to do Expected result What to do if test fails Component tested 1 Visual inspection. Board is accurately assembled Fox Delta Amateur Radio Projects & Kits AAZ-0914A 50MHZ Antenna Analyzer Testing Guide by Tony / I2TZK SWR Analyzer 4 steps for a quick test Step What to do Expected result What to do if test fails Component

More information

DX-10 tm Digital Interface User s Guide

DX-10 tm Digital Interface User s Guide DX-10 tm Digital Interface User s Guide GPIO Communications Revision B Copyright Component Engineering, All Rights Reserved Table of Contents Foreword... 2 Introduction... 3 What s in the Box... 3 What

More information

Experiment 7 Fall 2012

Experiment 7 Fall 2012 10/30/12 Experiment 7 Fall 2012 Experiment 7 Fall 2012 Count UP/DOWN Timer Using The SPI Subsystem Due: Week 9 lab Sessions (10/23/2012) Design and implement a one second interval (and high speed 0.05

More information

CoLinkEx JTAG/SWD adapter USER MANUAL

CoLinkEx JTAG/SWD adapter USER MANUAL CoLinkEx JTAG/SWD adapter USER MANUAL rev. A Website: www.bravekit.com Contents Introduction... 3 1. Features of CoLinkEX adapter:... 3 2. Elements of CoLinkEx programmer... 3 2.1. LEDs description....

More information

The Micropython Microcontroller

The Micropython Microcontroller Please do not remove this manual from the lab. It is available via Canvas Electronics Aims of this experiment Explore the capabilities of a modern microcontroller and some peripheral devices. Understand

More information

VikiLABS. a g. c dp. Working with 7-segment displays. 1 Single digit displays. July 14, 2017

VikiLABS. a g. c dp. Working with 7-segment displays. 1 Single digit displays.  July 14, 2017 VikiLABS Working with 7-segment displays www.vikipedialabs.com July 14, 2017 Seven segment displays are made up of LEDs combined such that they can be used to display numbers and letters. As their name

More information

USER'S MANUAL. Getting started with ALEXAN ATMEL AT89C2051/AT89C4051 Training Module - 1

USER'S MANUAL. Getting started with ALEXAN ATMEL AT89C2051/AT89C4051 Training Module - 1 USER'S MANUAL Getting started with ALEXAN ATMEL AT89C05/AT89C405 Training Module - Version.0 Copyright 006 Ace Electronic Technology Inc. All Rights Reserved Alexan 05/405 TM- v..0 Page of 7 About This

More information

Lesson Sequence: S4A (Scratch for Arduino)

Lesson Sequence: S4A (Scratch for Arduino) Lesson Sequence: S4A (Scratch for Arduino) Rationale: STE(A)M education (STEM with the added Arts element) brings together strands of curriculum with a logical integration. The inclusion of CODING in STE(A)M

More information

TV Synchronism Generation with PIC Microcontroller

TV Synchronism Generation with PIC Microcontroller TV Synchronism Generation with PIC Microcontroller With the widespread conversion of the TV transmission and coding standards, from the early analog (NTSC, PAL, SECAM) systems to the modern digital formats

More information

Digital IC Tester by Using PIC18F4550

Digital IC Tester by Using PIC18F4550 Digital IC Tester by Using PIC18F4550 Mrs. Amruta S. Dixit 1, Mrs. Aditi A. Prabhune 2 Department of Electronics & Telecommunication Pune Institute of Computer Technology, Pune, Maharashtra, India Corresponding

More information

MyFlyDream TeleFlyPro V1.04

MyFlyDream TeleFlyPro V1.04 MyFlyDream TeleFlyPro V1.04 www.myflydream.com Notes Thank you for purchasing the MyFlyDream TeleFlyPro (hereinafter referred to as TFPro). Please follow this manual to get familiar with the TFPro and

More information

EECS145M 2000 Midterm #1 Page 1 Derenzo

EECS145M 2000 Midterm #1 Page 1 Derenzo UNIVERSITY OF CALIFORNIA College of Engineering Electrical Engineering and Computer Sciences Department EECS 145M: Microcomputer Interfacing Laboratory Spring Midterm #1 (Closed book- calculators OK) Wednesday,

More information

APPLICATION NOTE 4312 Getting Started with DeepCover Secure Microcontroller (MAXQ1850) EV KIT and the CrossWorks Compiler for the MAXQ30

APPLICATION NOTE 4312 Getting Started with DeepCover Secure Microcontroller (MAXQ1850) EV KIT and the CrossWorks Compiler for the MAXQ30 Maxim > Design Support > Technical Documents > Application Notes > Microcontrollers > APP 4312 Keywords: MAXQ1850, MAXQ1103, DS5250, DS5002, microcontroller, secure microcontroller, uc, DES, 3DES, RSA,

More information

RF4432 wireless transceiver module

RF4432 wireless transceiver module RF4432 wireless transceiver module 1. Description RF4432 adopts Silicon Lab Si4432 RF chip, which is a highly integrated wireless ISM band transceiver. The features of high sensitivity (-121 dbm), +20

More information

Digital Clock. Perry Andrews. A Project By. Based on the PIC16F84A Micro controller. Revision C

Digital Clock. Perry Andrews. A Project By. Based on the PIC16F84A Micro controller. Revision C Digital Clock A Project By Perry Andrews Based on the PIC16F84A Micro controller. Revision C 23 rd January 2011 Contents Contents... 2 Introduction... 2 Design and Development... 3 Construction... 7 Conclusion...

More information

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore)

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore) Laboratory 11 Digital Displays and Logic (modified from lab text by Alciatore) Required Components: 2x lk resistors 1x 10M resistor 3x 0.1 F capacitor 1x 555 timer 1x 7490 decade counter 1x 7447 BCD to

More information

ATA8520D Production and EOL Testing. Features. Description ATAN0136 APPLICATION NOTE

ATA8520D Production and EOL Testing. Features. Description ATAN0136 APPLICATION NOTE ATAN0136 ATA8520D Production and EOL Testing APPLICATION NOTE Features Test application for production and EOL testing of ATA8520-EK1-E/ EK2-E/ EK3-E evaluation kits PCB component tests, i.e., MCU, temperature

More information

UNIT V 8051 Microcontroller based Systems Design

UNIT V 8051 Microcontroller based Systems Design UNIT V 8051 Microcontroller based Systems Design INTERFACING TO ALPHANUMERIC DISPLAYS Many microprocessor-controlled instruments and machines need to display letters of the alphabet and numbers. Light

More information

IS01BFRGB LCD SmartDisplay from NKK Switches Simple implementation featuring the ATmega88PA from Atmel Complete software solution

IS01BFRGB LCD SmartDisplay from NKK Switches Simple implementation featuring the ATmega88PA from Atmel Complete software solution DKAN0003A Controlling the SmartDisplay with a SPI Peripheral 09 June 009 Features IS01BFRGB LCD SmartDisplay from NKK Switches Simple implementation featuring the ATmega88PA from Atmel Complete software

More information

I/O Interfacing. What we are going to learn in this session:

I/O Interfacing. What we are going to learn in this session: I/O Interfacing ECE 5: Digital System & Microprocessor What we are going to learn in this session: M6823 Parallel Interface Timer. egisters in the M6823. Port initialization method. How M6823 interfaces

More information

IS01BFRGB LCD SmartDisplay from NKK Switches Low cost implementation featuring the ATtiny13A from Atmel Complete software solution

IS01BFRGB LCD SmartDisplay from NKK Switches Low cost implementation featuring the ATtiny13A from Atmel Complete software solution DKAN0002A Bit-banging the SmartDisplay 09 June 2009 Features IS01BFRGB LCD SmartDisplay from NKK Switches Low cost implementation featuring the ATtiny13A from Atmel Complete software solution Introduction

More information

Laboratory Exercise 4

Laboratory Exercise 4 Laboratory Exercise 4 Polling and Interrupts The purpose of this exercise is to learn how to send and receive data to/from I/O devices. There are two methods used to indicate whether or not data can be

More information

Digital (5hz to 500 Khz) Frequency-Meter

Digital (5hz to 500 Khz) Frequency-Meter Digital (5hz to 500 Khz) Frequency-Meter Posted on April 4, 2008, by Ibrahim KAMAL, in Sensor & Measurement, tagged Based on the famous AT89C52 microcontroller, this 500 Khz frequency-meter will be enough

More information

Reaction Game Kit MitchElectronics 2019

Reaction Game Kit MitchElectronics 2019 Reaction Game Kit MitchElectronics 2019 www.mitchelectronics.co.uk CONTENTS Schematic 3 How It Works 4 Materials 6 Construction 8 Important Information 9 Page 2 SCHEMATIC Page 3 SCHEMATIC EXPLANATION The

More information

CHAPTER 3 EXPERIMENTAL SETUP

CHAPTER 3 EXPERIMENTAL SETUP CHAPTER 3 EXPERIMENTAL SETUP In this project, the experimental setup comprised of both hardware and software. Hardware components comprised of Altera Education Kit, capacitor and speaker. While software

More information

ECB DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER

ECB DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER ECB2212 - DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER SUBMITTED BY ASHRAF HUSSAIN (160051601105) S SAMIULLAH (160051601059) CONTENTS >AIM >INTRODUCTION

More information

DESIGN AND DEVELOPMENT OF A MICROCONTROLLER BASED PORTABLE ECG MONITOR

DESIGN AND DEVELOPMENT OF A MICROCONTROLLER BASED PORTABLE ECG MONITOR Bangladesh Journal of Medical Physics Vol. 4, No.1, 2011 DESIGN AND DEVELOPMENT OF A MICROCONTROLLER BASED PORTABLE ECG MONITOR Nahian Rahman 1, A K M Bodiuzzaman, A Raihan Abir, K Siddique-e Rabbani Department

More information

The Haply Development Kit

The Haply Development Kit The Haply Development Kit Introduction The Haply development kit is a robust and adaptable open-source hardware development platform for haptic applications. Designed to be accessible to novices and experts

More information

Entry Level Tool II. Reference Manual. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408) Version : 1.0.

Entry Level Tool II. Reference Manual. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408) Version : 1.0. Entry Level Tool II Reference Manual, Inc. (USA) 14100 Murphy Avenue San Martin, CA 95046 (408) 852-0067 http://www.slscorp.com Version : 1.0.3 Date : October 7, 2005 Copyright 2005-2006,, Inc. (SLS) All

More information

Design and Implementation of Timer, GPIO, and 7-segment Peripherals

Design and Implementation of Timer, GPIO, and 7-segment Peripherals Design and Implementation of Timer, GPIO, and 7-segment Peripherals 1 Module Overview Learn about timers, GPIO and 7-segment display; Design and implement an AHB timer, a GPIO peripheral, and a 7-segment

More information

TRIMBLE GPS / 10MHz REFERENCE MONITOR DISPLAY V January 2015

TRIMBLE GPS / 10MHz REFERENCE MONITOR DISPLAY V January 2015 TRIMBLE GPS / 10MHz REFERENCE MONITOR DISPLAY V1.2-1.4 January 2015 A display and command module for the Trimble Thunderbolt GPS with 10MHz reference oscillator. by Hubbatech Software Revision Notes: 1.2-2014

More information

Four Channel Digital Voltmeter with Display and Keyboard. Hardware RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 RA0 RA1 RA2 RA3 PIC16C71

Four Channel Digital Voltmeter with Display and Keyboard. Hardware RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 RA0 RA1 RA2 RA3 PIC16C71 M AN557 Four Channel Digital Voltmeter with Display and Keyboard Author: INTRODUCTION Stan D Souza Microchip Technology Inc. The PIC16C71 is a member of the mid-range family of 8-bit, high-speed microcontrollers,

More information

o The 9S12 has a 16-bit free-running counter to determine the time and event happens, and to make an event happen at a particular time

o The 9S12 has a 16-bit free-running counter to determine the time and event happens, and to make an event happen at a particular time More on Programming the 9S12 in C Huang Sections 5.2 through 5.4 Introduction to the 9S12 Hardware Subsystems Huang Sections 8.2-8.6 ECT_16B8C Block User Guide A summary of 9S12 hardware subsystems Introduction

More information

o The 9S12 has a 16-bit free-running counter to determine the time and event happens, and to make an event happen at a particular time

o The 9S12 has a 16-bit free-running counter to determine the time and event happens, and to make an event happen at a particular time More on Programming the 9S12 in C Huang Sections 5.2 through 5.4 Introduction to the 9S12 Hardware Subsystems Huang Sections 8.2-8.6 ECT_16B8C Block User Guide A summary of 9S12 hardware subsystems Introduction

More information

Alice EduPad for Tiva or MSP432 TI ARM Launchpad. User s Guide Version /23/2017

Alice EduPad for Tiva or MSP432 TI ARM Launchpad. User s Guide Version /23/2017 Alice EduPad for Tiva or MSP432 TI ARM Launchpad User s Guide Version 1.02 08/23/2017 1 Table OF Contents Chapter 1. Overview... 3 1.1 Welcome... 3 1.2 Tiva Launchpad features... 4 1.3 Alice EduPad hardware

More information

8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT BOARD)

8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT BOARD) ESSENTIAL INFORMATION BUILD INSTRUCTIONS CHECKING YOUR PCB & FAULT-FINDING MECHANICAL DETAILS HOW THE KIT WORKS LEARN ABOUT PROGRAMMING WITH THIS 8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT

More information

Preliminary Design Report. Remote Fencing Scoreboard Gator FenceBox

Preliminary Design Report. Remote Fencing Scoreboard Gator FenceBox EEL 4924 Electrical Engineering Design (Senior Design) Preliminary Design Report 2 February 2012 Remote Fencing Scoreboard Gator FenceBox Team Members: Adrian Montero Team Antero Alexander Quintero Project

More information

Laboratory 8. Digital Circuits - Counter and LED Display

Laboratory 8. Digital Circuits - Counter and LED Display Laboratory 8 Digital Circuits - Counter and Display Required Components: 2 1k resistors 1 10M resistor 3 0.1 F capacitor 1 555 timer 1 7490 decade counter 1 7447 BCD to decoder 1 MAN 6910 or LTD-482EC

More information

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil ADC Peripheral in s Petr Cesak, Jan Fischer, Jaroslav Roztocil Czech Technical University in Prague, Faculty of Electrical Engineering Technicka 2, CZ-16627 Prague 6, Czech Republic Phone: +420-224 352

More information

Design and implementation (in VHDL) of a VGA Display and Light Sensor to run on the Nexys4DDR board Report and Signoff due Week 6 (October 4)

Design and implementation (in VHDL) of a VGA Display and Light Sensor to run on the Nexys4DDR board Report and Signoff due Week 6 (October 4) ECE 574: Modeling and synthesis of digital systems using Verilog and VHDL Fall Semester 2017 Design and implementation (in VHDL) of a VGA Display and Light Sensor to run on the Nexys4DDR board Report and

More information

This module senses temperature and humidity. Output: Temperature and humidity display on serial monitor.

This module senses temperature and humidity. Output: Temperature and humidity display on serial monitor. Elegoo 37 Sensor Kit v2.0 Elegoo provides tutorials for each of the sensors in the kit provided by Maryland MESA. Each tutorial focuses on a single sensor and includes basic information about the sensor,

More information

FPGA-BASED EDUCATIONAL LAB PLATFORM

FPGA-BASED EDUCATIONAL LAB PLATFORM FPGA-BASED EDUCATIONAL LAB PLATFORM Mircea Alexandru DABÂCAN, Clint COLE Mircea Dabâcan is with Technical University of Cluj-Napoca, Electronics and Telecommunications Faculty, Applied Electronics Department,

More information

External Hardware Trigger Settings for RICOH Stereo Cameras

External Hardware Trigger Settings for RICOH Stereo Cameras External Hardware Trigger Settings for RICOH Stereo Cameras User s Guide RICOH Industrial Solutions Inc. 1/10 Contents 1. FUNCTIONAL OVERVIEW... 3 [Timing Diagram]... 3 2. POWER CONNECTOR... 4 [Connector

More information

The Serial Port is Dead! Long Live the Serial Port! USB Serial Port Breadboard Experiments with the FTDI FT232R

The Serial Port is Dead! Long Live the Serial Port! USB Serial Port Breadboard Experiments with the FTDI FT232R The Serial Port is Dead! Long Live the Serial Port! USB Serial Port Breadboard Experiments with the FTDI FT232R Copyright Joe Pardue 2008. This material was previously published in the June 2008 issue

More information

Dynamic Animation Cube Group 1 Joseph Clark Michael Alberts Isaiah Walker Arnold Li

Dynamic Animation Cube Group 1 Joseph Clark Michael Alberts Isaiah Walker Arnold Li Dynamic Animation Cube Group 1 Joseph Clark Michael Alberts Isaiah Walker Arnold Li Sponsored by: Department of Electrical Engineering & Computer Science at UCF What is the DAC? The DAC is an array of

More information

Experiment 0: Hello, micro:bit!

Experiment 0: Hello, micro:bit! Experiment 0: Hello, micro:bit! Introduction Hello World is the term we use to define that first program you write in a programming language or on a new piece of hardware. Essentially it is a simple piece

More information

Keymaker for MB trucks.

Keymaker for MB trucks. Keymaker for MB trucks. user s manual.. Introduction. The Keymaker for MB trucks designed for: - new key programming using ECU EEPROM; - cloning of original key. Supported car models: Mercedes Benz Actros,

More information

Memec Spartan-II LC User s Guide

Memec Spartan-II LC User s Guide Memec LC User s Guide July 21, 2003 Version 1.0 1 Table of Contents Overview... 4 LC Development Board... 4 LC Development Board Block Diagram... 6 Device... 6 Clock Generation... 7 User Interfaces...

More information

L, LTC, LTM, LT are registered trademarks of Linear Technology Corporation. Other product

L, LTC, LTM, LT are registered trademarks of Linear Technology Corporation. Other product DESCRIPTION WARNING! Do not look directly at operating LED. This circuit produces light that can damage eyes. Demo Circuit 1265 QUICK START GUIDE LTC3220/LTC3220-1 360mA Universal 18-Channel LED Driver

More information

RF4432F27 wireless transceiver module

RF4432F27 wireless transceiver module RF4432F27 wireless transceiver module 1. Description RF4432F27 is 500mW RF module embedded with amplifier and LNA circuit. High quality of component, tightened inspection and long term test make this module

More information

Simple PICTIC Commands

Simple PICTIC Commands The Simple PICTIC Are you an amateur bit by the Time-Nut bug but can t afford a commercial time interval counter with sub nanosecond resolution and a GPIB interface? Did you find a universal counter on

More information

AD9884A Evaluation Kit Documentation

AD9884A Evaluation Kit Documentation a (centimeters) AD9884A Evaluation Kit Documentation Includes Documentation for: - AD9884A Evaluation Board - SXGA Panel Driver Board Rev 0 1/4/2000 Evaluation Board Documentation For the AD9884A Purpose

More information

Section 24. Programming and Diagnostics

Section 24. Programming and Diagnostics Section. and Diagnostics HIGHLIGHTS This section of the manual contains the following topics:.1 Introduction... -2.2 In-Circuit Serial... -2.3 Enhanced In-Circuit Serial... -5.4 JTAG Boundary Scan... -6.5

More information

Embedded Systems Lab. Dynamic Traffic and Street Lights Controller with Non-Motorized User Detection

Embedded Systems Lab. Dynamic Traffic and Street Lights Controller with Non-Motorized User Detection UNIVERSITY OF JORDAN Embedded Systems Lab Dynamic Traffic and Street Lights Controller with Non-Motorized User Detection Preferred Group Size Grading Project Due Date (2) Two is the allowed group size.

More information

DMC550 Technical Reference

DMC550 Technical Reference DMC550 Technical Reference 2002 DSP Development Systems DMC550 Technical Reference 504815-0001 Rev. B September 2002 SPECTRUM DIGITAL, INC. 12502 Exchange Drive, Suite 440 Stafford, TX. 77477 Tel: 281.494.4505

More information

Point System (for instructor and TA use only)

Point System (for instructor and TA use only) EEL 4744C - Drs. George and Gugel Spring Semester 2002 Final Exam NAME SS# Closed book and closed notes examination to be done in pencil. Calculators are permitted. All work and solutions are to be written

More information

LED Array Board.

LED Array Board. LED Array Board www.matrixtsl.com EB087 Contents About This Document 2 General Information 3 Board Layout 4 Testing This Product 5 Circuit Description 6 Circuit Diagram 7 About This Document This document

More information

ECE Design Team 3 Madi Kassymbekov How to use MSP 430 Peripheral Sensors and use of LEDs as sensors

ECE Design Team 3 Madi Kassymbekov How to use MSP 430 Peripheral Sensors and use of LEDs as sensors ECE 480 - Design Team 3 Madi Kassymbekov How to use MSP 430 Peripheral Sensors and use of LEDs as sensors 1 Table of Contents LED definition and structure.3 LED setup as a receiver.4 MSP 430 Peripheral

More information

Module 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8

Module 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8 Name: Class: Module 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8 Background Traffic signals are used to control traffic that flows in opposing

More information

Serial Peripheral Interface

Serial Peripheral Interface Serial Peripheral Interface ECE 362 https://engineering.purdue.edu/ee362/ Rick Reading Assignment Textbook, Chapter 22, Serial Communication Protocols, pp. 527 598 It s a long chapter. Let s first look

More information

Hardware Guide BrightSign, LLC Version:.1 Los Gatos, CA, USA. MODELS: XD Product Line

Hardware Guide BrightSign, LLC Version:.1 Los Gatos, CA, USA. MODELS: XD Product Line Hardware Guide BrightSign, LLC Version:.1 Los Gatos, CA, USA MODELS: XD Product Line Contents Overview... 1 Block Diagram... 2 Ports... 2 XD230... 2 XD1030... 2 XD1230... 3 Power Connector... 3 Ethernet...

More information

SAPLING WIRED SYSTEM

SAPLING WIRED SYSTEM SAPLING WIRED SYSTEM Sapling 2-Wire System DESCRIPTION The Sapling 2-Wire System is one of the most innovative and advanced wired systems in the synchronized time industry. It starts with the SMA Series

More information

DT9834 Series High-Performance Multifunction USB Data Acquisition Modules

DT9834 Series High-Performance Multifunction USB Data Acquisition Modules DT9834 Series High-Performance Multifunction USB Data Acquisition Modules DT9834 Series High Performance, Multifunction USB DAQ Key Features: Simultaneous subsystem operation on up to 32 analog input channels,

More information

IT-100 INSTRUCTION MANUAL

IT-100 INSTRUCTION MANUAL IT-00 INSTRUCTION MANUAL I CONTENTS Ⅰ. INTRODUCTION... 日本語 Ⅱ. SETTING... 2. INITIAL SETTING... 2 -. Machine head settings...2-2. Adjusting the machine head angle (direct-drive motor type sewing machine

More information

16-CH Color Full Duplex Multiplexer Instruction Manual

16-CH Color Full Duplex Multiplexer Instruction Manual 16-CH Color Full Duplex Multiplexer Instruction Manual 707-V1.5(S) Index: 1. Safety Warning 3 2. Introduction 3 3. Features 4 4. Specification 5 5. Front Panel Keypad 6 6. Back Panel Connection 10 7. Menu

More information

Marks and Grades Project

Marks and Grades Project Marks and Grades Project This project uses the HCS12 to allow for user input of class grades to determine the letter grade and overall GPA for all classes. Interface: The left-most DIP switch (SW1) is

More information

Technology Control Technology

Technology Control Technology L e a v i n g C e r t i f i c a t e Technology Control Technology P I C A X E 1 8 X Prog. 1.SOUND Output Prog. 3 OUTPUT & WAIT Prog. 6 LOOP Prog. 7...Seven Segment Display Prog. 8...Single Traffic Light

More information

Data Acquisition Using LabVIEW

Data Acquisition Using LabVIEW Experiment-0 Data Acquisition Using LabVIEW Introduction The objectives of this experiment are to become acquainted with using computer-conrolled instrumentation for data acquisition. LabVIEW, a program

More information

Manual Version Ver 1.0

Manual Version Ver 1.0 The BG-3 & The BG-7 Multiple Test Pattern Generator with Field Programmable ID Option Manual Version Ver 1.0 BURST ELECTRONICS INC CORRALES, NM 87048 USA (505) 898-1455 VOICE (505) 890-8926 Tech Support

More information

Step 1 - shaft decoder to generate clockwise/anticlockwise signals

Step 1 - shaft decoder to generate clockwise/anticlockwise signals Workshop Two Shaft Position Encoder Introduction Some industrial automation applications require control systems which know the rotational position of a shaft. Similar devices are also used for digital

More information

Section 24. Programming and Diagnostics

Section 24. Programming and Diagnostics Section. Programming and Diagnostics HIGHLIGHTS This section of the manual contains the following topics:.1 Introduction... -2.2 In-Circuit Serial Programming... -3.3 Enhanced In-Circuit Serial Programming...

More information

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 65 MSPS DUAL ADC

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 65 MSPS DUAL ADC LTC2286, LTC2287, LTC2288, LTC2290, LTC2291, LTC2292, LTC2293, LTC2294, LTC2295, LTC2296, LTC2297, LTC2298 or LTC2299 DESCRIPTION Demonstration circuit 816 supports a family of s. Each assembly features

More information

AL330B-DMB-A0 Digital LCD Display SOC Demo Board

AL330B-DMB-A0 Digital LCD Display SOC Demo Board AL330B-DMB-A0 Digital LCD Display SOC Demo Board User Manual Version 1.2 INFORMATION FURNISHED BY AVERLOGIC IS BELIEVED TO BE ACCURATE AND RELIABLE. HOWEVER, NO RESPONSIBILITY IS ASSUMED BY AVERLOGIC FOR

More information

Theory Lecture Day Topic Practical Day. Week. number systems and their inter-conversion Decimal, Binary. 3rd. 1st. 1st

Theory Lecture Day Topic Practical Day. Week. number systems and their inter-conversion Decimal, Binary. 3rd. 1st. 1st Lesson Plan Name of the Faculty : Priyanka Nain Discipline: Electronics & Communication Engg. Semester:5th Subject:DEMP Lesson Plan Duration: 15 Weeks Work Load(Lecture/Practical) per week (In Hours):

More information

2070 PROFINET MODULE

2070 PROFINET MODULE Kokkedal Industripark 4 DK-2980 Kokkedal Denmark info@eilersen.com Tel +45 49 180 100 Fax +45 49 180 200 2070 PROFINET MODULE Status and weight transfer using PROFINET Applies for: Software: CONCTR_4.160530.1v0

More information

SWITCH: Microcontroller Touch-switch Design & Test (Part 2)

SWITCH: Microcontroller Touch-switch Design & Test (Part 2) SWITCH: Microcontroller Touch-switch Design & Test (Part 2) 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON v2.09 Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Timetable... 2

More information

NS8050U MICROWIRE PLUSTM Interface

NS8050U MICROWIRE PLUSTM Interface NS8050U MICROWIRE PLUSTM Interface National Semiconductor Application Note 358 Rao Gobburu James Murashige April 1984 FIGURE 1 Microwire Mode Functional Configuration TRI-STATE is a registered trademark

More information