VLF Test Frequency Source
|
|
- Leonard Newton
- 7 years ago
- Views:
Transcription
1 BAA RAG VLF Frequency Source Objective: A simple source that can be used to set up VLF receivers on any one of the commonly used frequencies: For use with type designs a square wave is acceptable Pre set frequencies only +/ 100Hz accuracy Minimal component count Hand held Principle of operation: PIC serial data outputs (UART/EUART) are driven by a configurable Baud Rate Generator which is configured independently of the PIC s main oscillator source. By continually feeding the value 0x55 into the serial output buffer we can generate a square wave at the TX pin. Unlike toggling one of the general purpose port pins, once we have loaded this byte we can leave the UART to get on with generating the individual Marks and Spaces as a background task, leaving ample time to get ready to load the next byte. Last STOP START x55 (clocked out as LSB first) STOP Next START Frequency of square wave = ½ Baud rate (1Hz = 0 followed by a 1 ) Because absolute accuracy is not an issue, we can use the internal chip oscillator function, dispensing with the need for a crystal. Limitations: The frequency of the generated square wave is not continually variable but depends on the value loaded into the Baud Rate Generator. Many options are not precisely the same as the required frequency, but are close enough to set up receivers prior to final fine tuning. Using a higher frequency oscillator setting on the PIC decreases the step size increasing the chances of an exact match. The prototype device uses an 8MHz oscillator but other PICs can provide a 32MHz internal oscillator setting. Paul Hyde 2010 Page 1
2 1 20 PIC 16F690 The principle can be extended to cover more than four frequencies by adding 7 segment displays to indicate the frequency directly, and UP and DOWN buttons to cycle around them. Paul Hyde 21 st October 2010 Paul Hyde 2010 Page 2
3 ****************************************************************** Filename: VLF_Generator.asm Date: 12th June 2010 File Version: v1 Author: Paul Hyde Company: BAA RAG ******************************************************************* Files Required: P16F690.INC ****************************************************************** Notes: The Hex byte 0x55 is repeatedly loaded into the UART TX buffer and clocked out, generating a stream of interleaved marks & spaces. One of 4 pre-defined values is loaded into the Baud Rate Generator to determine the tx data rate. A different LED is lit to indicate each frequency. A momentary-make pushbutton is used to cycle around the four different frequencies. ******************************************************************* list p=16f690 list directive to define processor #include <P16F690.inc> CONFIG _CP_OFF & _CPD_OFF & _BOR_OFF & _PWRTE_ON & _WDT_OFF & _INTRC_OSC_NOCLKOUT & _MCLRE_OFF & _FCMEN_OFF & _IESO_OFF ***** FIXED DEFINITIONS #define BUTTON PORTA,3 Press button to cycle around four frequencies FREQ1 EQU khz for 8 MHz Fosc FREQ2 EQU khz for 8 MHz Fosc FREQ3 EQU khz for 8 MHz Fosc FREQ4 EQU khz for 8 MHz Fosc NB: Output frequency will be half the baud rate (1 Hz = 10) ***** VARIABLE DEFINITIONS CBLOCK 0x020 FREQ_PARAM:4 Four values to set Baud rate LED_OUTPUT:4 Four LED output patterns PNTR Pointer to current selected frequency INNER Counters for debounce delay ENDC ORG 0x000 processor reset vector main go to beginning of program init initialise system bsf STATUS,RP0 Select Bank 1 bcf STATUS,RP1 movlw 0x70 Set up for 8MHz operation (already config for internal osc) iorwf OSCCON bsf OSCCON,SCS PIE1 Disable all interrupts PIE initialise I/O ports For PIC16F690 PORT A PORTB PORTC RA0 ICSPDATA RC0 LED1 RA1 ICSPCLK RC1 LED2 Paul Hyde 2010 Page 3
4 RA2 RC2 LED3 RA3 Vpp/BUTTON RC3 LED4 RA4 RB4 RC4 RA5 RB5 RC5 RB6 RC6 RB7 UART TX RC7 bcf STATUS,RP0 Select Bank 0 PORTA bsf BUTTON Set BUTTON as high bsf STATUS,RP1 Select Bank 2 ANSEL set for digital inputs bsf STATUS,RP0 Select Bank 1 bcf STATUS,RP1 movlw b' ' Set all pins as input TRISA bcf STATUS,RP0 Select Bank 0 PORTB bsf STATUS,RP0 Select Bank 1 movlw b' ' All inputs TRISB bcf STATUS,RP0 Select Bank 0 PORTC Set LEDs to off bsf STATUS,RP0 Select Bank 1 movlw b' ' Set LED pins as output TRISC clear flags and counters? bcf STATUS,RP0 Select Bank 0 PNTR INNER Load fixed patterns movlw FREQ_PARAM load the first address movlw FREQ1 SPBRG value for 1st frequency movlw FREQ2 SPBRG value for 2nd frequency movlw FREQ3 SPBRG value for 3rd frequency movlw FREQ4 SPBRG value for 4th frequency movlw 0x01 Port pattern for LED1 movlw 0x02 Port pattern for LED2 movlw 0x04 Port pattern for LED3 movlw 0x08 Port pattern for LED initialise UART Configure UART generator to use formula RATE = Fosc/4(SPBRG+1) bsf STATUS,RP0 Select Bank 1 bsf BAUDCTL,BRG16 Select 16- generator mode bcf TXSTA,SYNC Set for asynch operation bsf TXSTA,BRGH Select High Speed operation bcf STATUS,RP0 Select Bank 0 bsf RCSTA,SPEN Enable the serial port movf FREQ_PARAM,W Set initial baud rate to FREQ1 Paul Hyde 2010 Page 4
5 bsf STATUS,RP0 Select Bank 1 SPBRG bsf TXSTA,TXEN Enable transmission initialise display bcf STATUS,RP0 Select Bank 0 movf LED_OUTPUT,W PORTC Load starting display retfie Initialisation complete main call init state_chk bcf STATUS,RP1 Select Bank 0 bcf STATUS,RP0 btfss PIR1,TXIF Is the TX buffer empty? bttn_chk movlw 0x55 Fill it TXREG bttn_chk btfsc BUTTON Has the button been pressed? state_chk Action a button press movlw.40 Set up debounce (INNER = 256) dwn_dly call short 256*3*0.5us = 0.38ms approx btfsc BUTTON state_chk Button bounced to 1 - start again decfsz dwn_dly Action command on button up, so repeat process up_chk btfss BUTTON Output stream could fail here, but no matter up_chk movlw.40 Reload counter up_dly call short btfss BUTTON up_chk Button bounced to 0 - start again decfsz up_dly PNTR,F Increment pointer movlw LED_OUTPUT Load new LED pattern movlw 0x03 Keep PNTR within 0 to 3 andwf PNTR,W addwf Add the offset movf,w Get the new port pattern PORTC Switch LEDs movlw FREQ_PARAM Load new Frequency movlw 0x03 Keep PNTR within 0 to 3 andwf PNTR,W addwf Add the offset movf,w Get the new SPBRG value bsf STATUS,RP0 Bank 1 SPBRG state_chk Paul Hyde 2010 Page 5
6 ----- subroutines short decfsz INNER short btfss PIR1,TXIF Is the TX buffer empty? return movlw 0x55 Fill it TXREG return END directive 'end of program' Paul Hyde 2010 Page 6
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 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 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 information10-bit Σ ADC from a PIC16F84
1-bit Σ ADC from a PIC16F84 Jesús Arias 22nd November 23 1 The circuit +5V 1 + 1uF 1nF 1nF 33 4.7 V DTR U1 Analog Input ( 5 Volt) R3 68K R1 1K R2 1K C1 33nF PIC16F84 RB7 RA2 RA3 ad2.asm OSC1 OSC2 X1 R4
More informationI 2 C Master Mode Overview and Use of the PICmicro MSSP I 2 C Interface with a 24xx01x EEPROM
I 2 C Master Mode Overview and Use of the PICmicro MSSP I 2 C Interface with a 24xx01x EEPROM v 0.40 Welcome to the Microchip Technology Presentation on using the MSSP module in Master I 2 C mode. In this
More informationSection 29. Instruction Set
M Section 29. Instruction Set HIGHLIGHTS This section of the manual contains the following major topics: 29. Introduction...29-2 29.2 Instruction Formats...29-4 29.3 Special Function Registers as Source/Destination...29-6
More informationUsing The PIC I/O Ports
EE2801 -- Lecture 22 Using The PIC I/O Ports EE2801-L22P01 The Variety Of Available IO Ports The PIC 16F874 microcontroller has five different IO ports, accounting for thirty three of the processors forty
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 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 informationAN857. Brushless DC Motor Control Made Easy INTRODUCTION S 001 B. Anatomy of a BLDC SIMPLIFIED BLDC MOTOR DIAGRAMS
Brushless DC Motor Control Made Easy AN857 Author: INTRODUCTION Ward Brown Microchip Technology Inc. This application note discusses the steps of developing several controllers for brushless motors. We
More informationSection 9. I/O Ports
I/O Ports M Section 9. I/O Ports HIGHLIGHTS This section of the manual contains the following major topics: 9.1 Introduction...9-2 9.2 PORTA and the TRISA Register...9-4 9.3 PORTB and the TRISB Register...9-6
More informationSerial Communications
Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation
More informationSection 14. Compare/Capture/PWM (CCP)
M Section 14. Compare/Capture/PWM (CCP) HIGHLIGHTS This section of the manual contains the following major topics: 14.1 Introduction...14-2 14.2 Control Register...14-3 14.3 Capture Mode...14-4 14.4 Compare
More informationAN727. Credit Card Reader Using a PIC12C509 DATA ENCODING INTRODUCTION FIGURE 1: POSITION OF ISO TRACKS 1, 2 AND 3. Andrew M Errington
Credit Using a PIC12C509 AN727 Author: INTRODUCTION Andrew M Errington Many people carry one or more magnetically encoded cards with them for accessing a range of services. Perhaps the most common example
More informationPIC in Practice. A Project-Based Approach. D. W. Smith
PIC in Practice PIC in Practice A Project-Based Approach D. W. Smith AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO Newnes is an imprint of Elsevier
More informationSection 8. Interrupts
Interrupts M Section 8. Interrupts HIGHLIGHTS This section of the manual contains the following major topics: 8.1 Introduction...8-2 8.2 Control Registers...8-5 8.3 Interrupt Latency...8-10 8.4 INT and
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 informationEmbedded C Programming
Microprocessors and Microcontrollers Embedded C Programming EE3954 by Maarten Uijt de Haag, Tim Bambeck EmbeddedC.1 References MPLAB XC8 C Compiler User s Guide EmbeddedC.2 Assembly versus C C Code High-level
More informationSection 28. In-Circuit Serial Programming (ICSP )
M Section 28. In-Circuit Serial Programming (ICSP ) HIGHLIGHTS This section of the manual contains the following major topics: 28. Introduction...28-2 28.2 Entering In-Circuit Serial Programming Mode...28-3
More informationHow To Program A Microcontroller With Memory On A Microchip Microcontroller
Getting Started with On-chip Memory 2001 Microchip Technology Incorporated. All Rights Reserved. S0001A RAM/ROM(x14) 1 In this Getting Started tutorial you will learn about the various memory types found
More informationSSPBUF. Shift Clock SSPSR. START bit, STOP bit, Acknowledge Generate
Using the PICmicro MSSP Module for Master I 2 C TM Communications AN735 Author: INTRODUCTION Richard L. Fischer Microchip Technology Inc. This application note describes the implementation of the PICmicro
More informationAN857. Brushless DC Motor Control Made Easy INTRODUCTION S 001 B. Anatomy of a BLDC SIMPLIFIED BLDC MOTOR DIAGRAMS. Microchip Technology Inc.
Brushless DC Motor Control Made Easy AN857 Author: Ward Brown Microchip Technology Inc. INTRODUCTION This application note discusses the steps of developing several controllers for brushless motors. We
More informationCoE3DJ4 Digital Systems Design. Chapter 4: Timer operation
CoE3DJ4 Digital Systems Design Chapter 4: Timer operation Timer There are two 16-bit timers each with four modes of operation Timers are used for (a) interval timing, (b) event counting or (c) baud rate
More information8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems 1 5-1 8051 Peripherals
8051 Serial Port The 8051 contains a UART Universal Asynchronous Receiver Transmitter The serial port is full-duplex It can transmit and receive simultaneously 2 Port 3 pins are used to provide the serial
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 informationSimple Alarm System WIRELESS AND REMOTE CONTROLLED PERSONAL APPLIANCE CODE WORD ORGANIZATION TRANSMISSION FORMAT
Simple Alarm System WIRELESS AND REMOTE CONTROLLED PERSONAL APPLIANCE Author: Kirill Yelizarov V. Moscow Power Engineering Institute Moscow, Russia email: tihonov@srv-vmss.mpei.ac.ru The alarm system discussed
More informationARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction
Software ISO 7816 I/O Line Implementation Features ISO 7816-3 compliant (direct convention) Byte reception and transmission with parity check Retransmission on error detection Automatic reception at the
More informationAVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example
More informationIntroduction to PIC Programming
Introduction to PIC Programming Baseline Architecture and Assembly Language by David Meiklejohn, Gooligum Electronics Lesson 1: Light an LED This initial exercise is the Hello World! of PIC programming.
More informationParallel IO. Serial IO. Parallel vs. Serial IO. simplex vs half-duplex vs full-duplex. Wires: Full Duplex. Wires: Simplex, Half-duplex.
Parallel IO Parallel IO data sent over a group of parallel wires. Typically, a clock is used for synchronization. D[15:0] clk Serial IO Serial IO data sent one bit at a time, over a single wire. A clock
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 informationAVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar
AVR Timer/Counter Prof Prabhat Ranjan DA-IICT, Gandhinagar 8-bit Timer/Counter0 with PWM Single Compare Unit Counter Clear Timer on Compare Match (Auto Reload) Glitch-free, Phase Correct Pulse Width Modulator
More informationDigital DC Motor Speed Regulator
Digital DC Motor Speed Regulator This project is for a microcontroller-based DC motor speed regulator, being used to control a small Chinese-made rotary tool. The tool is available at Harbor Freight as
More informationFlash Microcontroller. Memory Organization. Memory Organization
The information presented in this chapter is collected from the Microcontroller Architectural Overview, AT89C51, AT89LV51, AT89C52, AT89LV52, AT89C2051, and AT89C1051 data sheets of this book. The material
More informationAN974 APPLICATION NOTE
AN974 APPLICATION NOTE Real time clock with ST7 Timer Output Compare By MCD Application Team 1 INTRODUCTION The purpose of this note is to present how to use the ST7 Timer output compare function. As an
More informationPololu P-Star 25K50 Micro User s
Pololu P-Star 25K50 Micro User s Guide https://www.pololu.com/docs/0j62/all Page 1 of 37 1. Overview...................................................... 3 1.1. Supported operating systems........................................
More informationProgrammable State-Variable Filter Design For a Feedback Systems Web-Based Laboratory
Programmable State-Variable Filter Design For a Feedback Systems Web-Based Laboratory by Rayal Johnson February 7, 004 Abstract Advanced Undergraduate Project Massachusetts Institute of Technology Department
More informationFour-Channel Digital Voltmeter with Display and Keyboard. 8 x 220W RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 RA0 RA1 RA2 RA3 PIC16C71
Four-Channel Digital Voltmeter with Display and Keyboard Author: Stan D Souza Microchip Technology Inc. MULTIPLEXING FOUR 7-SEGMENT LED DISPLAYS INTRODUCTION The PIC16C71 is a member of the mid-range family
More informationHardware and Software Requirements
C Compiler Real-Time OS Simulator Training Evaluation Boards Installing and Using the Keil Monitor-51 Application Note 152 May 31, 2000, Munich, Germany by Keil Support, Keil Elektronik GmbH support.intl@keil.com
More informationTimer A (0 and 1) and PWM EE3376
Timer A (0 and 1) and PWM EE3376 General Peripheral Programming Model Each peripheral has a range of addresses in the memory map peripheral has base address (i.e. 0x00A0) each register used in the peripheral
More informationController for AD9850 DDS Modules Andy Talbot G4JNT 2012-12-06
Controller for AD9850 DDS Modules Andy Talbot G4JNT 2012-12-06 Latest Comments. Construction notes and feedback from builders at the end The low cost ( 3) Chinese made modules available via Ebay contain
More informationDS1621 Digital Thermometer and Thermostat
Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent
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 information4 Character 5x7 LED Matrix Display
Mini project report on 4 Character 5x7 LED Matrix Display Submitted by Agarwal Vikas, MTech II, CEDT K.Sreenivasulu M.E (Micro) II, CEDT CENTRE FOR ELECTRONICS DESIGN AND TECHNOLOGY INDIAN INSTITUTE OF
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 informationData Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V1.0. 20 th November 2012. L6470 Stepper Motor Shield
Arduino Dual L6470 Stepper Motor Shield Data Sheet Adaptive Design ltd V1.0 20 th November 2012 Adaptive Design ltd. Page 1 General Description The Arduino stepper motor shield is based on L6470 microstepping
More informationHello, 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 information71M6521 Energy Meter IC. Real Time Clock Compensation. The Challenge. The RTC in the 71M6521D/F. Theory of Operation APPLICATION NOTE
71M6521 Energy Meter IC A Maxim Integrated Products Brand APPLICATION NOTE AN_6521_035 MAY 2007 This document describes how to use software to compensate the real time clock (RTC) in Teridian meter chips.
More informationSection 23. 10-bit A/D Converter
M Section 23. A/D Converter HIGHLIGHTS This section of the manual contains the following major topics: 23.1 Introduction...23-2 23.2 Control Register...23-3 23.3 Operation...23-5 23.4 A/D Acquisition Requirements...23-6
More information1. The demonstration code is sending garbage to my terminal program. What are the recommended settings?
HPC Explorer Demonstration Board Frequently Asked Questions and Troubleshooting Tips Dennis Lehman, Corporate Applications Engineer 09/16/2005 Here is a collection of common PICDEM HPC Explorer problems
More informationEMBEDDED SYSTEMS PROGRAMMING WITH THE PIC16F877
EMBEDDED SYSTEMS PROGRAMMING WITH THE PIC16F877 Second Edition By Timothy D. Green Copyright 2008 by Timothy D. Green All Rights Reserved. Table of Contents Preface. 5 List of Figures. 6 Abbreviations
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 informationMicrotronics technologies Mobile: 99707 90092
For more Project details visit: http://www.projectsof8051.com/rfid-based-attendance-management-system/ Code Project Title 1500 RFid Based Attendance System Synopsis for RFid Based Attendance System 1.
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 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 informationPIC16F84A Data Sheet. 18-pin Enhanced FLASH/EEPROM 8-bit Microcontroller. 2001 Microchip Technology Inc. DS35007B
M PIC16F84A Data Sheet 18-pin Enhanced FLASH/EEPROM 8-bit Microcontroller 2001 Microchip Technology Inc. DS35007B Note the following details of the code protection feature on PICmicro MCUs. The PICmicro
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 information8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.
AVR415: RC5 IR Remote Control Transmitter Features Utilizes ATtiny28 Special HW Modulator and High Current Drive Pin Size Efficient Code, Leaves Room for Large User Code Low Power Consumption through Intensive
More informationPIC16F84A. 18-pin Enhanced Flash/EEPROM 8-Bit Microcontroller. Devices Included in this Data Sheet: Pin Diagrams. High Performance RISC CPU Features:
M PIC6F84A 8-pin Enhanced Flash/EEPROM 8-Bit Microcontroller Devices Included in this Data Sheet: PIC6F84A Extended voltage range device available (PIC6LF84A) High Performance RISC CPU Features: Only 35
More informationDisplaying a Numerical Value on HyperTerminal (or equ.)
(Here, only an integer value is discussed) Objective Sometimes, the result of a calculations or the value of a variable needs to be displayed on a terminal. Points to Consider A numerical value is stored
More informationSmall Hardware Development and Prototyping Board for the SX28
Project Report: Small Hardware Development and Prototyping Board for the SX28 Project Number: PR57 1. Project Description 2. Schematic Diagram 3. Physical Diagram 4. Component Layout Diagram 5. Bill of
More informationDS1621 Digital Thermometer and Thermostat
www.maxim-ic.com FEATURES Temperature measurements require no external components Measures temperatures from -55 C to +125 C in 0.5 C increments. Fahrenheit equivalent is -67 F to 257 F in 0.9 F increments
More informationA Lesson on Digital Clocks, One Shots and Counters
A Lesson on Digital Clocks, One Shots and Counters Topics Clocks & Oscillators LM 555 Timer IC Crystal Oscillators Selection of Variable Resistors Schmitt Gates Power-On Reset Circuits One Shots Counters
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 informationAVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE
Atmel AVR 8-bit Microcontroller AVR151: Setup and Use of the SPI APPLICATION NOTE Introduction This application note describes how to set up and use the on-chip Serial Peripheral Interface (SPI) of the
More informationA Lesson on Digital Clocks, One Shots and Counters
A Lesson on Digital Clocks, One Shots and Counters Topics Clocks & Oscillators LM 555 Timer IC Crystal Oscillators Selection of Variable Resistors Schmitt Gates Power-On Reset Circuits One Shots Counters
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 informationImplementing SPI Master and Slave Functionality Using the Z8 Encore! F083A
Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface
More informationPIC12F508/509/16F505 Data Sheet
Data Sheet 8/14-Pin, 8-Bit Flash Microcontrollers 2009 Microchip Technology Inc. DS41236E Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification
More informationDebouncing Switches. Mechanical switches are one of the most common interfaces to a uc.
Mechanical switches are one of the most common interfaces to a uc. Switch inputs are asynchronous to the uc and are not electrically clean. Asynchronous inputs can be handled with a synchronizer (2 FF's).
More informationInterrupts and the Timer Overflow Interrupts Huang Sections 6.1-6.4. What Happens When You Reset the HCS12?
Interrupts and the Timer Overflow Interrupts Huang Sections 6.1-6.4 o Using the Timer Overflow Flag to interrupt a delay o Introduction to Interrupts o How to generate an interrupt when the timer overflows
More informationAn Arduino Controlled GPS Corrected VFO
Gene Marcus, W3PM/GM4YRE 3 Wickerberry Lane, Madison, AL 376: w3pm@arrl.net An Arduino Controlled GPS Corrected VFO A VFO that provides to. MHz signals on two independent outputs. Use it as a stand alone
More informationAn 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 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 informationFEATURES DESCRIPTION. PT6321 Fluorescent Display Tube Controller Driver
Fluorescent Display Tube Controller Driver DESCRIPTION The PT6321 is a dot matrix fluorescent display tube controller driver IC which displays characters, numerics and symbols. Dot matrix fluorescent display
More informationMicrocontroller Systems. ELET 3232 Topic 8: Slot Machine Example
Microcontroller Systems ELET 3232 Topic 8: Slot Machine Example 1 Agenda We will work through a complete example Use CodeVision and AVR Studio Discuss a few creative instructions Discuss #define and #include
More informationAPPLICATION NOTE. Atmel AT02607: Wireless Product Development Using Atmel Studio and ASF. Atmel MCU Wireless. Description.
APPLICATION NOTE Atmel AT02607: Wireless Product Development Using Atmel Studio and ASF Description Atmel MCU Wireless This application note introduces the users on how to develop products using Atmel
More informationNTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential
More informationDP8570A DP8570A Timer Clock Peripheral (TCP)
DP8570A DP8570A Timer Clock Peripheral (TCP) Literature Number: SNAS557 DP8570A Timer Clock Peripheral (TCP) General Description The DP8570A is intended for use in microprocessor based systems where information
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 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 informationMicrocontroller Code Example Explanation and Words of Wisdom For Senior Design
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
More informationAN_6521_035 APRIL 2009
71M6521 Energy Meter IC A Maxim Integrated Products Brand APPLICATION NOTE AN_6521_035 APRIL 2009 This document describes how to use software to compensate the real time clock (RTC) in Teridian meter chips.
More information150127-Microprocessor & Assembly Language
Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an
More informationiclass Card Cloning using an RW300 Reader/Writer
Background The HID iclass family of 13.56 Mhz Contactless readers and cards was introduced over a decade ago with the primary goal of eliminating some of the security concerns that existed with the older
More informationHT1632C 32 8 &24 16 LED Driver
328 &216 LED Driver Features Operating voltage: 2.V~5.5V Multiple LED display 32 ROW /8 COM and 2 ROW & 16 COM Integrated display RAM select 32 ROW & 8 COM for 6 display RAM, or select 2 ROW & 16 COM for
More informationSection 19. Voltage Reference
M Section 19. Voltage Reference HIGHLIGHTS This section of the manual contains the following major topics: 19.1 Introduction...19-2 19.2 Control Register...19-3 19.3 Configuring the Voltage Reference...19-4
More informationIntroduction to Microcontrollers
Introduction to Microcontrollers Motorola M68HC11 Specs Assembly Programming Language BUFFALO Topics of Discussion Microcontrollers M68HC11 Package & Pinouts Accumulators Index Registers Special Registers
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 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 informationPMAfob Home Automation Demo
PMAfob Home Automation Demo User Guide V1.1 October 20 th, 2010 PMAfob Home Automation Demo User Guide Overview PMAfob Software PMAfob Hardware Receiver Software Receiver Hardware Setup of the PMAfob Home
More informationAN851. A FLASH Bootloader for PIC16 and PIC18 Devices INTRODUCTION FIRMWARE. Basic Operation BOOTLOADER FUNCTIONAL BLOCK DIAGRAM COMMUNICATIONS
A FLASH Bootloader for PIC16 and PIC18 Devices Author: Ross M. Fosler and Rodger Richey Microchip Technology Inc. FIGURE 1: BOOTLOADER FUNCTIONAL BLOCK DIAGRAM RX TX Bootloader Firmware INTRODUCTION Among
More informationhttp://www.abacom-online.de/div/setup_usb_µpio.exe
USB-µPIO USB AVR board Compact AVR board with Atmel ATmega168-20 High speed clock frequency 18.432000 MHz 100% error free High baud rates Screw-terminal and pin connections 6 pin ISP connector Power supply
More informationDEVELOPMENT OF A MICROCONTROLED IRRADIATION SYSTEM BASED ON LIGHT-EMITTING DIODES (LEDs) MATRIXES FOR PHOTOTHERAPY APPLICATIONS
DEVELOPMENT OF A MICROCONTROLED IRRADIATION SYSTEM BASED ON LIGHT-EMITTING DIODES (LEDs) MATRIXES FOR PHOTOTHERAPY APPLICATIONS Deborah Deah Assis Carneiro, Rafael Cruz Evangelista, Rozane de Fátima Turchiello,
More informationApplication Note AN015
RF Modem Reference Design By K.H. Torvmark Keywords Reference design RS-232 CC1000 Application Example Modem Interfacing CC1000 with SPI Cable replacement Protocol example Microchip PIC Introduction This
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 informationAN585. A Real-Time Operating System for PICmicro Microcontrollers INTRODUCTION. Why do I Need a Real-Time Kernel? What is Multitasking Anyway?
A Real-Time Operating System for PICmicro Microcontrollers Author: INTRODUCTION Jerry Farmer Myriad Development Company Ever dream of having a Real-Time Kernel for the PIC16CXXX family of microcontrollers?
More informationHD44780U (LCD-II) (Dot Matrix Liquid Crystal Display Controller/Driver)
HD4478U (LCD-II) (Dot Matrix Liquid Crystal Display Controller/Driver) Description The HD4478U dot-matrix liquid crystal display controller and driver LSI displays alphanumerics, Japanese kana characters,
More informationObjectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring 2007-08) Serial Interfacing. By Dr.
CMPE328 Microprocessors (Spring 27-8) Serial Interfacing By Dr. Mehmet Bodur Objectives Upon completion of this chapter, you will be able to: List the advantages of serial communication over parallel communication
More informationDS1307ZN. 64 x 8 Serial Real-Time Clock
DS137 64 x 8 Serial Real-Time Clock www.maxim-ic.com FEATURES Real-time clock (RTC) counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap-year compensation valid
More information