Microcontroller Code Example Explanation and Words of Wisdom For Senior Design
|
|
- Jeffrey Briggs
- 7 years ago
- Views:
Transcription
1 Microcontroller Code Example Explanation and Words of Wisdom For Senior Design For use with the following equipment: PIC16F877 QikStart Development Board ICD2 Debugger MPLAB Environment examplemain.c and examplelcd.c Project Build Instructions: To get this example program working with MPLAB take the following steps: 1. Create a new folder in your Z: drive titled Example Code. 2. Copy the examplemain.c and examplelcd.c files into the folder. 3. Open MPLAB and select Project -> Project Wizard. 4. Follow the wizard selecting the PIC16F Select the HI-TECH Universal ToolSuite and click NEXT. 6. Browse to select your Example Code folder and name your project. 7. Click NEXT and add the two.c files to the list. 8. Click the A next to each of the added files and make sure they change to a U. 9. Finish the wizard. 10. If nothing appears automatically select View-> Project and double-click the.c files in the window that appears. Project Run Instructions: 1. Make sure your board is powered and connected to the computer through the ICD2 debugger. 2. Select Debugger-> Select Tool-> MPLAB ICD Click the black Build icon on the toolbar to build the code. 4. Once the build is finished click the Program Target Device icon on the toolbar. 5. Wait for the device to be programmed (this takes some time) and then click the Run button on the toolbar. 6. The program should be running on the QikStart board now. Using the Program: This program does a number of things that can be seen and interacted with on the QikStart board. Upon running the program you should notice the array of LEDs on the right blinking on and off every 0.5 seconds. The LCD screen should also read BLINK on the first line and PRESS ENTER on the second line.
2 Follow the directions on the LCD screen by pressing and holding the ENTER button on the board. Notice that the program does not change until you release the button. Once the button is release the lights will stop blinking and the LCD will display A/D CONVERT on the first line and TURN RP1 on the second line. Again, follow the directions and turn the RP1 potentiometer back and forth. Notice that now, instead of blinking, the LEDs turn on or off in sequence with the turning of the potentiometer. Pressing the ENTER button again brings the program back to the original LCD message and the blinking LEDs. The program that runs the board this way is relatively simple, but demonstrates a number of useful embedded programming techniques and tools. Look at the code in the examplemain.c file in MPLAB. You will notice that it is broken down into functions. Each function serves a specific purpose and fulfills a need of the overall program. The functions will all be broken down to their components by this paper, but it is important to note that understanding them will require considerable cross-reference to both the PIC16F877 datasheet and the QikStart board schematic. A serviceable amount of C programming language competency is required to follow what is going on and it is strongly recommended that you read up on C code if you are unfamiliar with the language. Top of the Code: Look at the examplemain.c from the top. The first part is commented instructions and should be read, but have no effect on the program. Next comes the #include statements. These are standard and should be in every program you right for PICs. They specify the library of terms the microcontroller will recognize. The CONFIG() function serves to setup some of the basic components of the PIC. The only one that might be changed by programs you write is the XT. This refers to the type of oscillator input and should be changed to RC if a 555 timer circuit is used instead of a crystal oscillator. The #define that comes next demonstrates how this functionality of the C language can be used to assign useful names to heavily used registers. This can make it easier to remember what your program is doing during debugging. The top of the code is rounded out by function and global variable declarations, which should be familiar to you. Initialization Code: Skip down to where the comments say Initial Subroutine. This is the initialization function. This is run once after the microcontroller is reset. The initialization routine defines starting parameters for the A/D converter, the input/output state of almost every pin on the PIC, the on-board timers, interrupts, and initial values of variables. The initialization routine is extremely important to the program. When writing code make sure all of your important registers are initialized correctly. Many problems can be solved by taking care that your registers are setup correctly! The following registers are very important to get right in the initialization:
3 ADCON1 This register is responsible for setting up which pins can do A/D conversion. Use the information about this register in the datasheet to set the appropriate binary number for the number of analog signals. ADCS0 This bit finishes the initialization of the oscillator for A/D conversion. TRISA-E These registers define whether a pin is an input or an output. Use the pinout diagram in the datasheet to determine which pins need to be inputs/outputs. Set an 8 digit binary number for each of these, where the each bit of the number correspond to their respective pin in of the port. Set a 1 for an input and a 0 for an output. PR2/T2CON This sets up TIMER2 and the TIMER2 interrupt, which is beyond the scope of these instructions (read the datasheet). INTCON This sets up interrupts on the PIC. The default for this program is to have them enabled, but only timing interrupts are used. The Main Program Loop: Skip down to the bottom of the program and find the main function. This function is where everything starts and eventually returns to. It calls the Initial function the first time it runs, and then enters a continuous FOR loop. This FOR loop runs through its function calls until the PIC is reset. Using this technique the PIC is able to continuously monitor the various inputs and output of the peripheral functions and service events as they occur. The Button Push Function: This is the first function called in the FOR loop of the main function. It serves to monitor the state of the ENTER button. The first IF statement is satisfied when the button is pressed. ENTER_BUTTON becomes equal to 0 and the code sets the ChangState flag to remember the event. The function then returns to main. The function will continue to do this every time it is called, until the button is released. Once the button is released the first IF statement is no longer satisfied, so it moves onto the next one. This IF statement is satisfied when it sees that the ChangeState flag is set. The body of this IF statement resets the ChangeState flag and increments the mode counter. It also resets the mode counter if the final mode is active at the time. Try to figure out which parts of the IF statement are accomplishing this. The Blink Function: This is a simple function designed to turn the array of LEDs on/off on a specific time interval. When it is called it uses the bit toggle assignment operator (^=) to change all of the bits of PORTD to the opposite of whatever their current state is. The function then waits for 0.5 seconds by calling the 10 ms LoopTime routine 50 times. This makes the LEDs blink just about every 0.5 seconds. This is not exact, because the program actually runs through another cycle, but this takes very little time compared to the 0.5 second wait.
4 The LCD Function: This function uses the DisplayC function from the examplelcd.c file to write strings to the LCD screen. The first IF statement determines whether there needs to be a change in the LCD display, based on what the program wants displayed. If no change is needed the function returns to main to save time. If a change is needed it first clears the resetlcd flag that signals that need for change. It then calls the clear_display function from the examplelcd.c file, which makes the LCD blank to avoid residual characters. The function then checks the DispMode variable to decide what to display. The DisplayC function is used to write to the LCD. It takes a position parameter and a string parameter. The position parameter to start writing at the top left is 0x80 and the bottom left is 0xC0. The ADConvert Function: This function takes an analog voltage level coming in from one of the pins and converts it to a digital level in A/D counts. This description assumes the reader has previous experience with A/D conversion and only explains the microcontroller implementation. The converter on the PIC16F877 is a 10-bit on board converter. More information is available in the datasheet. The assignments to CHS0-2 at the beginning of the function sets the analog input that will be converted. The ADON bit is part of the ADCON0 register and setting it to 1 turns the A/D converter on for conversion. The FOR loop is required to allow time for the converter to settle after being turned on. It takes roughly 30 us. Setting ADGO to 1 begins the A/D conversions and while(adgo) waits until the conversion is finished before moving on. The assignment following takes the two A/D conversion results registers and combines them into one 10-bit value. Read the datasheet regarding how the results of the A/D converter are stored for more information. The final assignment of the ADON bit is to turn off the A/D converter, which saves power. The ShowAD Function: This function is intended to display the level of the analog signal acquired by the A/D converter. The structure of this function is a long IF statement with a number of possible cases. The statement runs through and checks whether the advalue is less than a particular threshold. If the advalue is below the threshold it sets the appropriate number of LEDs to on. If the advalue is above the threshold it moves on to check the next threshold. Wrap Up: This document describes the basic function of this relatively simple program. The techniques covered are important to know for programming microcontrollers. Now that you know basically what is going on
5 take time to go through and thoroughly find the connections between what is happening in the code, and how it uses the circuit shown in the schematic. Use this code as a jumping off point for developing your own programs. Some of the routines can be cut and pasted and expanded into much more complex functions. This microcontroller can be programmed to do much more than has been shown and the datasheet has information for all of it. Combine knowledge of the circuit you are using with knowledge about how the microcontroller works and your programs will work. Use your imagination and do not feel constrained to using only what has been demonstrated. Note: This document did not cover specifics of the examplelcd program, but you are definitely encouraged to take a look and try to figure out what is happening.
An Introduction to MPLAB Integrated Development Environment
An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to
More informationETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation
ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation Program Definition: Write a program to control the speed of a dc motor using pulse width modulation. Discussion: The speed of a dc motor is
More informationSKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.
SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance
More informationHow To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (
dspic / PIC24 Multiprogrammer datasheet EB064-00 00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix
More informationGetting Started with PIC24F/PIC24H Programming and Interfacing in C
Getting Started with PIC24F/PIC24H Programming and Interfacing in C This series of short articles covers the basics of programming a PIC24FJ32GA002/PIC24H 16-bit microcontroller, using Microchip s free
More informationAVR Butterfly Training. Atmel Norway, AVR Applications Group
AVR Butterfly Training Atmel Norway, AVR Applications Group 1 Table of Contents INTRODUCTION...3 GETTING STARTED...4 REQUIRED SOFTWARE AND HARDWARE...4 SETTING UP THE HARDWARE...4 SETTING UP THE SOFTWARE...5
More informationPIC Programming in Assembly. (http://www.mstracey.btinternet.co.uk/index.htm)
PIC Programming in Assembly (http://www.mstracey.btinternet.co.uk/index.htm) Tutorial 1 Good Programming Techniques. Before we get to the nitty gritty of programming the PIC, I think now is a good time
More informationCreating a Project with PSoC Designer
Creating a Project with PSoC Designer PSoC Designer is two tools in one. It combines a full featured integrated development environment (IDE) with a powerful visual programming interface. The two tools
More informationEXERCISE 3: String Variables and ASCII Code
EXERCISE 3: String Variables and ASCII Code EXERCISE OBJECTIVE When you have completed this exercise, you will be able to describe the use of string variable and ASCII code. You will use Flowcode and the
More informationSPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI
SPI Overview and Use of the PICmicro Serial Peripheral Interface In this presentation, we will look at what the Serial Peripheral Interface, otherwise known as the SPI, is, and how it is used to communicate
More informationMPLAB C18 C Compiler
MPLAB C18 C Compiler MPLAB C18 C Compiler The layout of this document: Installing MPLAB C18: A step-by-step guide through the installation process of MPLAB C18 Compiler. Configuring MPLAB IDE: MPLAB IDE
More informationINTERRUPTS. There are 2 methods for communicating between the microcontroller and the external system: POLLING INTERRUPTS
INTERRUPTS There are 2 methods for communicating between the microcontroller and the external system: POLLING INTERRUPTS POLLING In this method, microcontroller accesses at the exact time interval the
More information1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver
Electronics Exercise 2: The 555 Timer and its Applications Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles Ume,
More informationDsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB
DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB Contents at a Glance 1. Introduction of MPLAB... 4 2. Development Tools... 5 3. Getting Started... 6 3.1. Create a Project... 8 3.2. Start MPLAB...
More informationHD44780-Based LCD Modules. Introduction to the LM018L
HD44780-Based LCD Modules Hitachi LM018L 40 character x 2 lines Built-in LSI HD44780 controller +5volt single power supply Display Colour: Grey LM018L: Introduction Interfacing Display Pattern and Character
More information3. Programming the STM32F4-Discovery
1 3. Programming the STM32F4-Discovery The programming environment including the settings for compiling and programming are described. 3.1. Hardware - The programming interface A program for a microcontroller
More informationUsing your Bluetooth laptop with the Logitech wireless hub
Using your Bluetooth laptop with the Logitech wireless hub 2003 Logitech, Inc. Contents Introduction 3 Product compatibility 3 About this guide 4 Get connected 5 Connecting your Bluetooth laptop 5 Checking
More informationE-Blocks Easy Internet Bundle
Page 1 Cover Page Page 2 Flowcode Installing Flowcode Instruction for installing Flowcode can be found inside the installation booklet located inside the Flowcode DVD case. Before starting with the course
More informationEasyPIC4 User s Manual
SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD MikroElektronika - Books - Compilers User s Manual PIC MICROCHIP DEVELOPMENT BOARD 3in1 mikro IN-CIRCUIT DEBUGGER USB 2.0 IN-CIRCUIT PROGRAMMER With
More informationKey Words Student Paper, School of Professional Studies
Motor Speed Sensing with PIC Microcontroller Brandon Upchurch, Olivet Nazarene University Faculty Advisor: Dr. Rodney Korthals, Olivet Nazarene University Student Paper Abstract A system was designed and
More informationComparing RTOS to Infinite Loop Designs
Comparing RTOS to Infinite Loop Designs If you compare the way software is developed for a small to medium sized embedded project using a Real Time Operating System (RTOS) versus a traditional infinite
More informationDEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV UNIT I THE 8086 MICROPROCESSOR 1. What is the purpose of segment registers
More informationEARTH PEOPLE TECHNOLOGY SERIAL GRAPH TOOL FOR THE ARDUINO UNO USER MANUAL
EARTH PEOPLE TECHNOLOGY SERIAL GRAPH TOOL FOR THE ARDUINO UNO USER MANUAL The Serial Graph Tool for the Arduino Uno provides a simple interface for graphing data to the PC from the Uno. It can graph up
More informationAUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR
AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR INTRODUCTION This Project "Automatic Night Lamp with Morning Alarm" was developed using Microprocessor. It is the Heart of the system. The sensors
More information8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter
AVR400: Low Cost A/D Converter Features Interrupt Driven : 23 Words Low Use of External Components Resolution: 6 Bits Measurement Range: 0-2 V Runs on Any AVR Device with 8-bit Timer/Counter and Analog
More informationMeasuring Resistance Using Digital I/O
Measuring Resistance Using Digital I/O Using a Microcontroller for Measuring Resistance Without using an ADC. Copyright 2011 John Main http://www.best-microcontroller-projects.com Page 1 of 10 Table of
More informationTutorial for MPLAB Starter Kit for PIC18F
Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is
More informationA Practical Approach to Education of Embedded Systems Engineering
A Practical Approach to Education of Embedded Systems Engineering Özgür Yürür Department of Electrical Engineering University of South Florida Tampa, Florida, 33620 oyurur@mail.usf.edu Wilfrido Moreno
More informationHow to use AVR Studio for Assembler Programming
How to use AVR Studio for Assembler Programming Creating your first assembler AVR project Run the AVRStudio program by selecting Start\Programs\Atmel AVR Tools\AVR Studio. You should see a screen like
More informationDesigning a Graphical User Interface
Designing a Graphical User Interface 1 Designing a Graphical User Interface James Hunter Michigan State University ECE 480 Design Team 6 5 April 2013 Summary The purpose of this application note is to
More informationLesson 1 - Creating a C18 Project with MPLAB
Lesson 1 - Creating a C18 Project with MPLAB Objectives To build a C18 project Identify the location of C18 program files Preparation: Microchip s MPLAB IDE and MPLAB C18 compiler are required for this
More informationLab Experiment 1: The LPC 2148 Education Board
Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,
More informationProgramming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II
Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II Administration: o Prayer PicBasic Pro Programs Used in This Lesson: o General PicBasic Pro Program
More informationMonitoring of Intravenous Drip Rate
Monitoring of Intravenous Drip Rate Vidyadhar V. Kamble, Prem C. Pandey, Chandrashekar P. Gadgil, and Dinesh S. Choudhary Abstract A drip rate meter, for monitoring intravenous infusion, is developed using
More informationET-BASE AVR ATmega64/128
ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on
More informationRS232 Board datasheet
RS232 Board datasheet Contents 1. About this document 2. General information 3. Board Layout 4. Getting Started 5. Circuit Description Appendix 1 Circuit Diagram Copyright 2004 Matrix Multimedia Limited
More informationInterface and Simulation of a LCD Text Display
OVERVIEW The following application note describes the interface of a LCD text display to a 8051 microcontroller system. This application note comes with the µvision2 project LCD_Display.UV2 that includes
More informationChanging printer settings 1
Changing printer settings 1 You can change your printer setting by using your application software, your Lexmark printer driver, the printer operator panel, or the remote operator panel available from
More informationLab 1 Course Guideline and Review
Lab 1 Course Guideline and Review Overview Welcome to ECE 3567 Introduction to Microcontroller Lab. In this lab we are going to experimentally explore various useful peripherals of a modern microcontroller
More informationFile by OCR Manual. Updated December 9, 2008
File by OCR Manual Updated December 9, 2008 edocfile, Inc. 2709 Willow Oaks Drive Valrico, FL 33594 Phone 813-413-5599 Email sales@edocfile.com www.edocfile.com File by OCR Please note: This program is
More informationFondamenti su strumenti di sviluppo per microcontrollori PIC
Fondamenti su strumenti di sviluppo per microcontrollori PIC MPSIM ICE 2000 ICD 2 REAL ICE PICSTART Ad uso interno del corso Elettronica e Telecomunicazioni 1 2 MPLAB SIM /1 MPLAB SIM is a discrete-event
More informationCapacitive Touch Lab. Renesas Capacitive Touch Lab R8C/36T-A Family
Renesas Capacitive Touch Lab R8C/36T-A Family Description: This lab will cover the Renesas Touch Solution for embedded capacitive touch systems. This lab will demonstrate how to setup and run a simple
More information8051 MICROCONTROLLER COURSE
8051 MICROCONTROLLER COURSE Objective: 1. Familiarization with different types of Microcontroller 2. To know 8051 microcontroller in detail 3. Programming and Interfacing 8051 microcontroller Prerequisites:
More informationHow to read this guide
How to read this guide The following shows the symbols used in this Quick start guide with descriptions and examples. Symbol Description Example P oint Reference Caution [ ] This symbol explains information
More informationJianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14
LogicWorks 4 Tutorials Jianjian Song Department of Electrical and Computer Engineering Rose-Hulman Institute of Technology March 23 Table of Contents LogicWorks 4 Installation and update...2 2 Tutorial
More informationData Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide
Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Sensors LCD Real Time Clock/ Calendar DC Motors Buzzer LED dimming Relay control I2C-FLEXEL PS2 Keyboards Servo Motors IR Remote Control
More informationAccurate Measurement of the Mains Electricity Frequency
Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC dogan@neu.edu.tr Abstract The frequency of the mains electricity supply
More informationUsing the HT1632 for Dot Matrix LED Displays
Using the HT1632 for Dot Matrix LED Displays D/N: HA0127E Introduction The HT1632 is a Memory Mapping LED display driver. Its application range is wide and can be used in applications such as clocks, thermometers,
More informationC Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands
C Programming for Embedded Microcontrollers Warwick A. Smith Elektor International Media BV Postbus 11 6114ZG Susteren The Netherlands 3 the Table of Contents Introduction 11 Target Audience 11 What is
More informationEZ DUPE DVD/CD Duplicator
EZ DUPE DVD/CD Duplicator User s Manual Version 3.0 0 TABLE OF CONTENTS Introduction 2 Setup 11 LCD Front Panel Overview 2 o Auto Start Time 11 Menu Overview 3-5 o Display Mode 12 Functions 6 o Button
More informationEvent counters in NOVA
Case study: how to use the event counters in NOVA? 1 Event counter support NOVA Technical Note 22 Event counters in NOVA Most of the measurement commands, like CV staircase or Record signals (> 1 ms) provide
More informationCHAPTER 11: Flip Flops
CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach
More informationConversion Between Analog and Digital Signals
ELET 3156 DL - Laboratory #6 Conversion Between Analog and Digital Signals There is no pre-lab work required for this experiment. However, be sure to read through the assignment completely prior to starting
More informationSTEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN
STEP 7 MICRO/WIN TUTORIAL Step7 Micro/WIN makes programming of S7-200 easier. Programming of S7-200 by using Step 7 Micro/WIN will be introduced in a simple example. Inputs will be defined as IX.X, outputs
More informationProgramming A PLC. Standard Instructions
Programming A PLC STEP 7-Micro/WIN32 is the program software used with the S7-2 PLC to create the PLC operating program. STEP 7 consists of a number of instructions that must be arranged in a logical order
More information1602 LCD adopts standard 14 pins(no backlight) or 16pins(with backlight) interface, Instruction of each pin interface is as follows:
LCD 1602 Shield Description: Arduino LCD 1602 adopts 2 lines with 16 characters LCD, with contrast regulating knob, backlight optional switch, and with 4 directional push-buttons, 1 choice button and1
More informationMX PIC24F Educational Module User Manual
MX PIC24F Educational Module User Manual Revision History Date Description Initial release. Table of Contents 1. Introduction... 3 1.1. Package Contents... 3 1.2. Key Hardware Features... 4 2. Hardware
More informationVoltage Measurement with A PIC Microcontroller
Voltage Measurement with A PIC Microcontroller Ryan Popa 03/30/2012 Design Team 3 Abstract The purpose of this application note is to explain how to measure a voltage using a PIC18F4520 microcontroller.
More informationThe 104 Duke_ACC Machine
The 104 Duke_ACC Machine The goal of the next two lessons is to design and simulate a simple accumulator-based processor. The specifications for this processor and some of the QuartusII design components
More informationezsystem elab16m Project 1F: Alarm System (Full Project description)
ezsystem elab16m Project 1F: Alarm System (Full Project description) ezsystem The aim of ezsystem is to enable Creativity and Innovation at an early age in a Problem Based Learning (PBL) approach. ezsystem
More informationHow to test and debug an ASP.NET application
Chapter 4 How to test and debug an ASP.NET application 113 4 How to test and debug an ASP.NET application If you ve done much programming, you know that testing and debugging are often the most difficult
More informationSection 21. 8-bit A/D Converter
M Section 21. Converter HIGHLIGHTS 21 Convertor This section of the manual contains the following major topics: 21.1 Introduction...21-2 21.2 Control Registers...21-3 21.3 Operation...21-5 21.4 A/D Acquisition
More informationSimple Invoicing Desktop Database with MS Access 2013. c 2015 by David W. Gerbing School of Business Administration Portland State University
Simple Invoicing Desktop Database with MS Access 2013 c 2015 by David W. Gerbing School of Business Administration Portland State University July 2, 2015 CONTENTS 1 Contents 1 Create a New Database 1 2
More informationUSER GUIDE Version 2.0
USER GUIDE Version 2.0 TABLE of CONTENTS Introduction... 3 Hardware Overview... 3 Software Overview... 4 DAYSHIFT Panel... 5 Settings Panel... 6 Setup Tab... 6 Configure... 6 Show User Guide... 6 Preview
More informationAnalog-to-Digital Converters
Analog-to-Digital Converters In this presentation we will look at the Analog-to-Digital Converter Peripherals with Microchip s midrange PICmicro Microcontrollers series. 1 Analog-to-Digital Converters
More informationHOW TO BURN A CD/DVD IN WINDOWS XP. Data Projects
Page 1 HOW TO BURN A CD/DVD IN WINDOWS XP There are two ways to burn files to a CD or DVD using Windows XP: 1. Using Sonic RecordNow! Plus or 2. Using the Windows Explorer CD Burning with Sonic Recordnow!
More informationAN3252 Application note
Application note Building a wave generator using STM8L-DISCOVERY Application overview This application note provides a short description of how to use the STM8L-DISCOVERY as a basic wave generator for
More informationImpact+OCR 1.1 Readme
April 22, 2016 Impact+OCR 1.1 Readme Welcome to the Impact+OCR (Optical Character Recognition) application, a complete software and hardware application to solve your machine vision OCR needs. This is
More information-Helping to make your life betterwww.person-to-person.net
Household Telephone Management System Built on Interceptor ID Technology Owner/Operation Manual Telephone Management System- Model P2P101 Call Receiver - Model P2P301 (Receiver may be sold separately)
More informationE-Blocks Easy RFID Bundle
Page 1 Cover Page Page 2 Flowcode Installing Flowcode Instruction for installing Flowcode can be found inside the installation booklet located inside the Flowcode DVD case. Before starting with the course
More informationXC83x AP08130. Application Note. Microcontrollers. intouch Application Kit - LED Matrix Display V1.0, 2012-02
XC83x AP08130 Application te V1.0, 2012-02 Microcontrollers Edition 2012-02 Published by Infineon Technologies AG 81726 Munich, Germany 2012 Infineon Technologies AG All Rights Reserved. LEGAL DISCLAIMER
More informationQuick Start Tutorial. Using the TASKING* Software Development Tools with the Intel 8x930 Family Evaluation Board
Quick Start Tutorial Using the TASKING* Software Development Tools with the Intel 8x930 Family Evaluation Board This explains how to use the TASKING Microsoft* Windows*-based software development tools
More informationPICmicro tm Development Board
PICmicro tm Development Board Crownhill Associates smart electronic solutions Disclaimer In order to comply with EMC directive 89/336/EEC, this product should not be used outside of a classroom or laboratory
More informationPHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard
PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard University April 13, 2016 About Arduino: The Board Variety of models of Arduino Board (I am using Arduino Uno) Microcontroller constructd similarly
More informationc0003 A Simple PIC Application CHAPTER 3
c0003 CHAPTER 3 A Simple PIC Application Chapter Outline 3.1. Hardware Design 46 3.1.1. PIC 16F84A Pin-Out 46 3.1.2. BIN Hardware Block Diagram 47 3.1.3. BIN Circuit Operation 48 3.2. Program Execution
More informationAVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE
AVR 8-bit Microcontrollers AVR131: Using the AVR s High-speed PWM APPLICATION NOTE Introduction This application note is an introduction to the use of the high-speed Pulse Width Modulator (PWM) available
More informationMSP-EXP430G2 LaunchPad Workshop
MSP-EXP430G2 LaunchPad Workshop Meet the LaunchPad Lab 1 : Blink LaunchPad LEDs By Adrian Fernandez Meet the LaunchPad MSP430 MCU Value Line LaunchPad only $4.30 A look inside the box Complete LaunchPad
More informationVADC Versatile Analog to Digital Converter. XMC Microcontrollers August 2014
Versatile Analog to Digital Converter XMC Microcontrollers August 2014 TRIGGER AND GATING EVENT GENERATION Versatile Analog to Digital Converter Highlights QUEUE SOURCE SCAN SOURCE ARBITRATION BCKGND SOURCE
More informationMS830 / MS833 Barcode Reader v1.0 9-December-2014
MS830 / MS833 Barcode Reader v1.0 9-December-2014 Publication Information 2014 Imagine Communications Corp. Proprietary and Confidential. Imagine Communications considers this document and its contents
More informationIBM TCP/IP Network Port Monitor
IBM TCP/IP Network Port Monitor Demo - Installation and Setup Demos shown below: 1. Installation 2. Creating an IBM TCP/IP Network Port 3. Sharing a printer to the network 4. Windows 95/98 client setup
More informationHow to design and implement firmware for embedded systems
How to design and implement firmware for embedded systems Last changes: 17.06.2010 Author: Rico Möckel The very beginning: What should I avoid when implementing firmware for embedded systems? Writing code
More informationEE 472 Lab 2 (Group) Scheduling, Digital I/O, Analog Input, and Pulse Generation University of Washington - Department of Electrical Engineering
EE 472 Lab 2 (Group) Scheduling, Digital I/O, Analog Input, and Pulse Generation University of Washington - Department of Electrical Engineering Introduction: In this lab, you will develop a simple kernel
More informationHelp on the Embedded Software Block
Help on the Embedded Software Block Powersim Inc. 1. Introduction The Embedded Software Block is a block that allows users to model embedded devices such as microcontrollers, DSP, or other devices. It
More informationWork with Arduino Hardware
1 Work with Arduino Hardware Install Support for Arduino Hardware on page 1-2 Open Block Libraries for Arduino Hardware on page 1-9 Run Model on Arduino Hardware on page 1-12 Tune and Monitor Models Running
More informationLabVIEW Day 6: Saving Files and Making Sub vis
LabVIEW Day 6: Saving Files and Making Sub vis Vern Lindberg You have written various vis that do computations, make 1D and 2D arrays, and plot graphs. In practice we also want to save that data. We will
More informationMODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3
MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3 CMPS03 Magnetic Compass. Voltage : 5v only required Current : 20mA Typ. Resolution : 0.1 Degree Accuracy : 3-4 degrees approx. after calibration Output
More informationSimple Directions For Common Converter Boxes
Simple Directions For Common Converter Boxes This document contains basic instructions for using the following converter box models. Page numbers refer to the owner's manual that comes with your converter
More informationLab 3: Introduction to Data Acquisition Cards
Lab 3: Introduction to Data Acquisition Cards INTRODUCTION: In this lab, you will be building a VI to display the input measured on a channel. However, within your own VI you will use LabVIEW supplied
More information#include <Gamer.h> Gamer gamer; void setup() { gamer.begin(); } void loop() {
#include Gamer gamer; void setup() { gamer.begin(); void loop() { Gamer Keywords Inputs Board Pin Out Library Instead of trying to find out which input is plugged into which pin, you can use
More informationHi Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan
PIC18 Timer Programming g Hi Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan chanhl@mail.cgu.edu.twcgu Functions of PIC18 timer Functions of the timer Generate a time delay As
More informationTournament Pairing Program Installation Instructions for Windows 7
Tournament Pairing Program Installation Instructions for Windows 7 Please refer to the installation instructions and follow the steps outlined. It is important that all instructions be followed in the
More informationProject Plan. Project Plan. May13-06. Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai
Project Plan May13-06 Logging DC Wattmeter Team Member: Ailing Mei Andrew Kom Chongli Cai Advisor : Collin Christy Client: Garmin International David Hoffman Qiaoya Cui Table of Contents Need Statement...
More informationHow To Create An Easybelle History Database On A Microsoft Powerbook 2.5.2 (Windows)
Introduction EASYLABEL 6 has several new features for saving the history of label formats. This history can include information about when label formats were edited and printed. In order to save this history,
More informationEmbedded Component Based Programming with DAVE 3
Embedded Component Based Programming with DAVE 3 By Mike Copeland, Infineon Technologies Introduction Infineon recently introduced the XMC4000 family of ARM Cortex -M4F processor-based MCUs for industrial
More informationPoor Man s A/D Converter By Dave Wissel at Wave Technology
Poor Man s A/D Converter By Dave Wissel at Wave Technology Years ago some of the then-old engineers working in the cost-completive area of consumer electronics told me, If it can t be done with a handful
More informationReal-Time Clock. * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold
REAL-TIME CLOCK Real-Time Clock The device is not a clock! It does not tell time! It has nothing to do with actual or real-time! The Real-Time Clock is no more than an interval timer connected to the computer
More informationArduino Lesson 1. Blink
Arduino Lesson 1. Blink Created by Simon Monk Last updated on 2015-01-15 09:45:38 PM EST Guide Contents Guide Contents Overview Parts Part Qty The 'L' LED Loading the 'Blink' Example Saving a Copy of 'Blink'
More informationHow To Set Up A Smart Card Programmer With Titan 2.2.2 (Titan) And Titan 2.3 (Tok) (Tonga) (Powerbook) (Smart Card) (Programmer) (S
Smart Card Programmer TS0870P: Installation Guide Overview The TS0870P Smart Card Programmer programs user cards for use with the TS0870 Smart Card Reader. Using TITAN management software, cards are programmed
More informationEmbroidery Fonts Plus ( EFP ) Tutorial Guide Version 1.0505
Embroidery Fonts Plus ( EFP ) Tutorial Guide Version 1.0505 1 Contents Chapter 1 System Requirements.................. 3 Chapter 2 Quick Start Installation.................. 4 System Requirements................
More informationG-100/200 Operation & Installation
G-100/200 Operation & Installation 2 Contents 7 Installation 15 Getting Started 16 GPS Mode Setup 18 Wheel Sensor Mode Setup 20 Fuel Calibration 23 Basic Operation 24 Telemetery Screen 27 Entering a Distance
More information