Microcontroller Code Example Explanation and Words of Wisdom For Senior Design

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "Microcontroller Code Example Explanation and Words of Wisdom For Senior Design"

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 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 information

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

SKP16C62P 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 information

Getting Started with PIC24F/PIC24H Programming and Interfacing in C

Getting 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 information

PIC Programming in Assembly. (http://www.mstracey.btinternet.co.uk/index.htm)

PIC 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 information

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI

SPI. 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 information

E-Blocks Easy Internet Bundle

E-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 information

HD44780-Based LCD Modules. Introduction to the LM018L

HD44780-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 information

EasyPIC4 User s Manual

EasyPIC4 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 information

8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter

8-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 information

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

Data 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 information

Monitoring of Intravenous Drip Rate

Monitoring 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 information

Comparing RTOS to Infinite Loop Designs

Comparing 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 information

How to read this guide

How 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 information

Tutorial for MPLAB Starter Kit for PIC18F

Tutorial 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 information

USER GUIDE Version 2.0

USER 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 information

A Practical Approach to Education of Embedded Systems Engineering

A 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 information

Fondamenti su strumenti di sviluppo per microcontrollori PIC

Fondamenti 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 information

Lab Experiment 1: The LPC 2148 Education Board

Lab 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 information

Capacitive Touch Lab. Renesas Capacitive Touch Lab R8C/36T-A Family

Capacitive 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 information

ET-BASE AVR ATmega64/128

ET-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 information

MS830 / MS833 Barcode Reader v1.0 9-December-2014

MS830 / 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 information

AN3252 Application note

AN3252 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 information

The 104 Duke_ACC Machine

The 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 information

Project Plan. Project Plan. May13-06. Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

Project 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 information

Accurate Measurement of the Mains Electricity Frequency

Accurate 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 information

EE 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 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 information

Lab 3: Introduction to Data Acquisition Cards

Lab 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

INDUSTRIAL AUTOMATION Interactive Graphical SCADA System INSIGHT AND OVERVIEW. IGSS Online Training. Exercise 8: Creating Templates

INDUSTRIAL AUTOMATION Interactive Graphical SCADA System INSIGHT AND OVERVIEW. IGSS Online Training. Exercise 8: Creating Templates INDUSTRIAL AUTOMATION Interactive Graphical SCADA System INSIGHT AND OVERVIEW IGSS Online Training Exercise 8: Creating Templates Exercise: Create Templates and Template Based Objects Purpose Learn how

More information

Event counters in NOVA

Event 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 information

LEN s.r.l. Via S. Andrea di Rovereto 33 c.s. 16043 CHIAVARI (GE) Tel. +39 0185 318444 - Fax +39 0185 472835 mailto: len@len.it url: http//www.len.

LEN s.r.l. Via S. Andrea di Rovereto 33 c.s. 16043 CHIAVARI (GE) Tel. +39 0185 318444 - Fax +39 0185 472835 mailto: len@len.it url: http//www.len. MA511 General Index 1 INTRODUCTION... 3 1.1 HARDWARE FEATURES:... 4 2 INTERFACE... 5 2.1 KEYBOARD... 6 2.2 POWER ON... 7 2.3 POWER OFF... 7 2.4 DETECTOR CONNECTION... 7 2.5 DETECTOR SUBSTITUTION...7 3

More information

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

ezsystem 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 information

DVR GUIDE. Using your DVR/Multi-Room DVR. 1-866-WAVE-123 wavebroadband.com

DVR GUIDE. Using your DVR/Multi-Room DVR. 1-866-WAVE-123 wavebroadband.com DVR GUIDE Using your DVR/Multi-Room DVR 1-866-WAVE-123 wavebroadband.com Table of Contents Control Live TV... 4 Playback Controls... 5 Remote Control Arrow Buttons... 5 Status Bar... 5 Pause... 6 Rewind...

More information

The following shows the symbols used in this Quick start guide with descriptions and examples. Symbol Description Example. Select [Project] [New].

The following shows the symbols used in this Quick start guide with descriptions and examples. Symbol Description Example. Select [Project] [New]. 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 Caution This symbol explains information you need

More information

BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005

BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005 BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005 PLEASE NOTE: The contents of this publication, and any associated documentation provided to you, must not be disclosed to any third party without

More information

MX PIC24F Educational Module User Manual

MX 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 information

Easy Setup Guide for the Sony Network Camera

Easy Setup Guide for the Sony Network Camera -878-191-11 (1) Easy Setup Guide for the Sony Network Camera For setup, a computer running the Microsoft Windows Operating System is required. For monitoring camera images, Microsoft Internet Explorer

More information

Designing VM2 Application Boards

Designing VM2 Application Boards Designing VM2 Application Boards This document lists some things to consider when designing a custom application board for the VM2 embedded controller. It is intended to complement the VM2 Datasheet. A

More information

Simple 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 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 information

Installing the IF-NMEASC & SC30 Windows XP Drivers & Software

Installing the IF-NMEASC & SC30 Windows XP Drivers & Software Installing the IF-NMEASC & SC30 Windows XP Drivers & Software The following document will outline the installation and use of the IF-NMEASC and SC-30 USB drivers and SC-30Tool software in three parts:

More information

APPLICATION. si32library. Callback CMSIS HARDWARE. Figure 1. Firmware Layer Block Diagram

APPLICATION. si32library. Callback CMSIS HARDWARE. Figure 1. Firmware Layer Block Diagram PRECISION32 SOFTWARE DEVELOPMENT KIT CODE EXAMPLES OVERVIEW 1. Introduction The Precision32 code examples are part of the Software Development Kit (SDK) installed with the Precision32 software package

More information

-Helping to make your life betterwww.person-to-person.net

-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 information

How to create PDF maps, pdf layer maps and pdf maps with attributes using ArcGIS. Lynne W Fielding, GISP Town of Westwood

How to create PDF maps, pdf layer maps and pdf maps with attributes using ArcGIS. Lynne W Fielding, GISP Town of Westwood How to create PDF maps, pdf layer maps and pdf maps with attributes using ArcGIS Lynne W Fielding, GISP Town of Westwood PDF maps are a very handy way to share your information with the public as well

More information

Real-Time Clock. * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold

Real-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 information

Lab 1: Introduction to PSpice

Lab 1: Introduction to PSpice Lab 1: Introduction to PSpice Objectives A primary purpose of this lab is for you to become familiar with the use of PSpice and to learn to use it to assist you in the analysis of circuits. The software

More information

Android based Alcohol detection system using Bluetooth technology

Android based Alcohol detection system using Bluetooth technology For more Project details visit: http://www.projectsof8051.com/android-based-alcohol-detection-system-usingbluetooth-technology/ Code 1435 Project Title Android based Alcohol detection system using Bluetooth

More information

E-Blocks Easy RFID Bundle

E-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 information

Quick 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 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 information

Using TCP/IP Remote to Control the V16Pro

Using TCP/IP Remote to Control the V16Pro Using TCP/IP Remote to Control the V16Pro Have you ever wanted to send TCP/IP messages from your iphone to control the V16 Pro? Well now you can! Imagine connecting to your show controller and running

More information

MSP-EXP430G2 LaunchPad Workshop

MSP-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 information

Embedded Web Server for Infra Red Remote Control

Embedded Web Server for Infra Red Remote Control Embedded Web Server for Infra Red Remote Control 1 Nor Azarina Nordin, 2 Siti Zarina Mohd. Muji, 3 Mohd Helmy Abd Wahab, 4 Muhammad Syukri Ahmad 1,2,3 Department of Computer Engineering, Faculty of Electrical

More information

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction. APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)

More information

IBM TCP/IP Network Port Monitor

IBM 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 information

Help on the Embedded Software Block

Help 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 information

RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards

RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards 2012 Roving Networks. All rights reserved. Version 1.0 9/7/2012 USER MANUAL OVERVIEW The RN-131 and RN-171 WiFly radio modules are complete, standalone

More information

Tharo Systems, Inc. 2866 Nationwide Parkway P.O. Box 798 Brunswick, OH 44212 USA Tel: 330.273.4408 Fax: 330.225.0099

Tharo Systems, Inc. 2866 Nationwide Parkway P.O. Box 798 Brunswick, OH 44212 USA Tel: 330.273.4408 Fax: 330.225.0099 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 information

Embedded Component Based Programming with DAVE 3

Embedded 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 information

PICmicro tm Development Board

PICmicro 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 information

EE8205: Embedded Computer System Electrical and Computer Engineering, Ryerson University. Introduction to Keil uvision and ARM Cortex M3

EE8205: Embedded Computer System Electrical and Computer Engineering, Ryerson University. Introduction to Keil uvision and ARM Cortex M3 EE8205: Embedded Computer System Electrical and Computer Engineering, Ryerson University Introduction to Keil uvision and ARM Cortex M3 1. Objectives The purpose of this lab is to introduce students to

More information

Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical

Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical These instructions describe the process for configuring a SAS Metadata server to work with JMP Clinical. Before You Configure

More information

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide Version 2.1, 4/2010 Disclaimer While every effort has been made to ensure that the information in this guide is accurate

More information

Bidirectional wireless communication using EmbedRF

Bidirectional wireless communication using EmbedRF Bidirectional wireless communication using EmbedRF 1. Tools you will need for this application note... 2 2. Introduction... 3 3. Connect EmbedRF Board to USB Interface Board... 3 4. Install and Run EmbedRF

More information

Tournament Pairing Program Installation Instructions for Windows 7

Tournament 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 information

Serial Communications

Serial Communications April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual

More information

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA Features Compatible with MCS-51 products On-chip Flash Program Memory Endurance: 1,000 Write/Erase Cycles On-chip EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 512 x 8-bit RAM ISO 7816 I/O Port

More information

Final Project Example

Final Project Example Final Project Example YM2149 Programmable Sound Generator Emulator PSoC Final Project Example Stephen Hammack Overview The YM2149 (a variant of the AY-3-8910) is a Programmable Sound Generator (PSG) that

More information

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

Hello, and welcome to this presentation of the STM32L4 reset and clock controller. Hello, and welcome to this presentation of the STM32L4 reset and clock controller. 1 The STM32L4 reset and clock controller manages system and peripheral clocks. STM32L4 devices embed three internal oscillators,

More information

User guide TSL2771 EVM / TMD2771 EVM. TSL2771/TMD2771 Light-to-Digital Proximity Detector/Ambient Light Sensor

User guide TSL2771 EVM / TMD2771 EVM. TSL2771/TMD2771 Light-to-Digital Proximity Detector/Ambient Light Sensor User guide TSL2771 EVM / TMD2771 EVM TSL2771/TMD2771 Light-to-Digital Proximity Detector/Ambient Light Sensor Content 1 Establishing basic functionality... 4 2 Txx2771 EVM graphical user interface (GUI)...

More information

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note. AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System Features 32-bit Real Time Counter (RTC) - 32-bit counter - Selectable clock source 1.024kHz 1Hz - Long overflow time

More information

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements - Two (2) MiCOM Px4x IEDs with Version 2 implementation of IEC 61850 - Two (2) Cat 5E Ethernet cable - An Ethernet switch 10/100 Mbps - MiCOM

More information

AN3265 Application note

AN3265 Application note Application note Handling hardware and software failures with the STM8S-DISCOVERY Application overview This application is based on the STM8S-DISCOVERY. It demonstrates how to use the STM8S window watchdog

More information

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

Microcontroller-based experiments for a control systems course in electrical engineering technology Microcontroller-based experiments for a control systems course in electrical engineering technology Albert Lozano-Nieto Penn State University, Wilkes-Barre Campus, Lehman, PA, USA E-mail: AXL17@psu.edu

More information

FC5A Modbus Communication Training

FC5A Modbus Communication Training FC5A Modbus Communication Training Table of Contents 1 System Setup... 3 1.1 1:1 Network... 3 1.2 1:N Network (Up to 31 Slaves)... 3 2 Modbus Communication Examples... 4 2.1 Example 1 - Reading 1 word

More information

UM0834 User manual. Developing and debugging your STM8S-DISCOVERY application code. Introduction. Reference documents

UM0834 User manual. Developing and debugging your STM8S-DISCOVERY application code. Introduction. Reference documents User manual Developing and debugging your STM8S-DISCOVERY application code Introduction This document complements the information in the STM8S datasheets by describing the software environment and development

More information

Technical Support Set-up Procedure

Technical Support Set-up Procedure Technical Support Set-up Procedure How to Setup the Amazon S3 Application on the DSN-320 Amazon S3 (Simple Storage Service) is an online storage web service offered by AWS (Amazon Web Services), and it

More information

Configuration Manager

Configuration Manager After you have installed Unified Intelligent Contact Management (Unified ICM) and have it running, use the to view and update the configuration information in the Unified ICM database. The configuration

More information

Soft processors for microcontroller programming education

Soft processors for microcontroller programming education Soft processors for microcontroller programming education Charles Goetzman Computer Science University of Wisconsin La Crosse goetzman.char@uwlax.edu Jeff Fancher Electronics Western Technical College

More information

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual Copyright 2007 SofTec Microsystems DC01197 We want your feedback! SofTec Microsystems is always on

More information

AEI RAIL NETWORK SERVER User Manual

AEI RAIL NETWORK SERVER User Manual AEI RAIL NETWORK SERVER User Manual Copyright 2000 Signal Computer Consultants All rights reserved Signal Computer Consultants P.O. Box 18445 Pittsburgh, PA 15236 Tel. 888 872-4612 (toll free US and Canada

More information

DriveRight. Fleet Management Software. Getting Started Guide. CarChip. DriveRight. Drivers. Vehicles. Product #8186

DriveRight. Fleet Management Software. Getting Started Guide. CarChip. DriveRight. Drivers. Vehicles. Product #8186 DriveRight Fleet Management Software Getting Started Guide CarChip DriveRight Drivers Vehicles Product #8186 DriveRight Fleet Management Software Getting Started Guide; P/N 8186 Davis Instruments Part

More information

(Refer Slide Time: 00:01:16 min)

(Refer Slide Time: 00:01:16 min) Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control

More information

Scan Physical Inventory

Scan Physical Inventory Scan Physical Inventory There are 2 ways to do Inventory: #1 Count everything in inventory, usually done once a quarter #2 Count in cycles per area or category. This is a little easier and usually takes

More information

Software Real Time Clock Implementation on MC9S08LG32

Software Real Time Clock Implementation on MC9S08LG32 Freescale Semiconductor Document Number: AN4478 Rev. 0, 03/2012 Software Real Time Clock Implementation on MC9S08LG32 by: Nitin Gupta Automotive and Industrial Solutions Group 1 Introduction The MC9S08LG32

More information

Using Flash Media Live Encoder To Broadcast An Audio-Only Stream (on Mac)

Using Flash Media Live Encoder To Broadcast An Audio-Only Stream (on Mac) Using Flash Media Live Encoder To Broadcast An Audio-Only Stream (on Mac) A user guide for setting up Flash Media Live Encoder (FMLE) to broadcast video over our servers is available here: (https://community.ja.net/system/files/15551/fmle%20streaming%20wizard%20guide.pdf)

More information

Using Device Discovery

Using Device Discovery 2 CHAPTER You can use Active Discovery to scan your network for new monitors (Active Monitors and Performance Monitors) and devices on a regular basis. Newly discovered items are added to the Active Discovery

More information

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Leonardo Journal of Sciences ISSN 1583-0233 Issue 20, January-June 2012 p. 31-36 Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Ganesh Sunil NHIVEKAR *, and Ravidra Ramchandra MUDHOLKAR

More information

EVENT LOG MANAGEMENT...

EVENT LOG MANAGEMENT... Event Log Management EVENT LOG MANAGEMENT... 1 Overview... 1 Application Event Logs... 3 Security Event Logs... 3 System Event Logs... 3 Other Event Logs... 4 Windows Update Event Logs... 6 Syslog... 6

More information

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3

MODULE 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 information

#include Gamer gamer; void setup() { gamer.begin(); } void loop() {

#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 information

ControlLogix Remote I/O Communication Module

ControlLogix Remote I/O Communication Module User Manual ControlLogix Remote I/O Communication Module Catalog Number 1756-RIO Important User Information Solid-state equipment has operational characteristics differing from those of electromechanical

More information

LAB #3 VHDL RECOGNITION AND GAL IC PROGRAMMING USING ALL-11 UNIVERSAL PROGRAMMER

LAB #3 VHDL RECOGNITION AND GAL IC PROGRAMMING USING ALL-11 UNIVERSAL PROGRAMMER LAB #3 VHDL RECOGNITION AND GAL IC PROGRAMMING USING ALL-11 UNIVERSAL PROGRAMMER OBJECTIVES 1. Learn the basic elements of VHDL that are implemented in Warp. 2. Build a simple application using VHDL and

More information

Evo Laser Firmware Developer s Manual

Evo Laser Firmware Developer s Manual Evo Laser Firmware Developer s Manual Table of Content Chapter 1 Introduction Chapter 2 Hardware Overview and Subsystems 2.1 Overview 2.2 Evo Laser Hardware Core System 2.3 Evo Laser Smartport TM Chapter

More information

InTouch Example Description

InTouch Example Description InTouch Example Description This document describes how to work with the InTouch example. It contains the following sections: Using the LNS DDE Server Examples 2 Using the Example LNS Database 2 Sequence

More information

Table Of Contents. 2. Index... 23. iii

Table Of Contents. 2. Index... 23. iii AMC-IP-Config_EN Table Of Contents 1. IP Configuration of the AMC... 1 Using AmcIPConfig... 1 Starting the AmcIpConfig application... 1 Menu and tool bar... 2 File > Options... 3 Scanning... 4 Scanning

More information

MACHINE ARCHITECTURE & LANGUAGE

MACHINE ARCHITECTURE & LANGUAGE in the name of God the compassionate, the merciful notes on MACHINE ARCHITECTURE & LANGUAGE compiled by Jumong Chap. 9 Microprocessor Fundamentals A system designer should consider a microprocessor-based

More information

StreamServe Persuasion SP4 StreamServe Connect for SAP - Business Processes

StreamServe Persuasion SP4 StreamServe Connect for SAP - Business Processes StreamServe Persuasion SP4 StreamServe Connect for SAP - Business Processes User Guide Rev A StreamServe Persuasion SP4StreamServe Connect for SAP - Business Processes User Guide Rev A SAP, mysap.com,

More information

ACCESS CONTROL SYSTEMS USER MANUAL

ACCESS CONTROL SYSTEMS USER MANUAL Ritenergy Pro (Version 3.XX) ACCESS CONTROL SYSTEMS USER MANUAL 1 User Manual Ritenergy International, LLC TABLE OF CONTENTS RITENERGY PRO PROGRAMMING GUIDE 3 System Requirement 3 System Components 3 Basic

More information

Model 5511 Filler Controller User s Manual Version 1.1 October 2011

Model 5511 Filler Controller User s Manual Version 1.1 October 2011 Thompson Scale Company WEIGHING SYSTEMS & PACKAGING MACHINERY CONTROLS 2758 Bingle Road Houston, Texas 77055 Phone: 713/932-9071 Fax: 713/932-9379 www.thompsonscale.com Model 5511 Filler Controller User

More information

ENGI E1112 Departmental Project Report: Computer Science/Computer Engineering

ENGI E1112 Departmental Project Report: Computer Science/Computer Engineering ENGI E1112 Departmental Project Report: Computer Science/Computer Engineering Daniel Estrada Taylor, Dev Harrington, Sekou Harris December 2012 Abstract This document is the final report for ENGI E1112,

More information

MS Access Lab 2. Topic: Tables

MS Access Lab 2. Topic: Tables MS Access Lab 2 Topic: Tables Summary Introduction: Tables, Start to build a new database Creating Tables: Datasheet View, Design View Working with Data: Sorting, Filtering Help on Tables Introduction

More information

A-PDF Scan and Split Scan and split pdf utility. User Documentation

A-PDF Scan and Split Scan and split pdf utility. User Documentation Note: This product is distributed on a try-before-you-buy basis. All features described in this documentation are enabled. The registered version does not insert a watermark in your output PDF files. About

More information