P89LPC935 Microcontroller Tutorial. Agenda
|
|
- Meredith Evans
- 7 years ago
- Views:
Transcription
1 P89LPC935 Microcontroller Tutorial Agenda Basic Architecture of the P89LPC935 microcontroller Memory, Input/Output Ports, Clocking, Timers Writing C code for 8051 based microcontrollers C51 language extensions Sample Diploma Project The Keyless lock Year 3 Project Tutorial 1
2 MCB900 Board Year 3 Project Tutorial 2
3 MCB900 Features RS232 driver provides a standard COM port interface. 8 buffered LEDs display I/O port 2 status information. Potentiometer and Jumper for ADC1 channel 2 analog input. 3.3V low-drop regulator allows wide power supply range (5V-9VDC). Jumpers for flexible ISP and debug configurations. All P89LPC935/P89LPC932 pins available on flexible connection area. Prototyping area: 55mm x 25mm (2.1" x 1.0"). Year 3 Project Tutorial 3
4 P89LPC935 Microcontroller Basic Architecture 8-bit microcontroller 8 KByte Flash Program memory 256 Byte Data Memory (RAM) bytes auxiliary RAM (XDATA) 512 Byte EEPROM 3V device but I/O pins are 5V tolerant Up to 26 input/output pins (4 ports P0 to P3) 2 16-bit timer/counters UART for serial interfacing 15 interrupt sources, 5 priority levels 2 clock machine cycle All instructions execute in 1, 2 or 4 machine cycles Instructions execute 6 times faster than 8051 Program and data memory may not be expanded externally Year 3 Project Tutorial 4
5 P89LPC935 Microcontroller Advanced Architecture In-System Programmable (ISP) In-Application Programmable (IAP) Watchdog timer Real Time Clock On-chip power-on reset I2C port SPI port Dual 4-input multiplexed 8-bit ADCs Dual DAC 2 Analog Comparators Year 3 Project Tutorial 5
6 P89LPC935 Microcontroller Advanced Architecture Year 3 Project Tutorial 6
7 Memory Organisation The 8051 architecture supports 2 parallel memory spaces Program memory used for code and constant storage Data memory used for variable storage Year 3 Project Tutorial 7
8 Memory Organisation Data Memory 256 bytes of on-chip data RAM Used for stack, registers, bit addressable memory and variables Upper 128 bytes is indirectly addressable only SFRs (Special Function Registers) Used for control and status 512 bytes of on-chip auxiliary data RAM Duplicates 8051 off-chip data memory Slower access than directly accessible memory 512 bytes data EEPROM Non-volatile data memory Accessed by SFR only Program Memory 8KByte flash memory Used for application code and optionally for user data ISP serial loader stored here Year 3 Project Tutorial 8
9 Input/Output Ports P89LPC935 is a 28 pin device Up to 26 of the pins are available for input/output 3 8-bit ports P0, P1, P2 Port pins are labeled Px.0 to Px.7 where x is the port number P1.5 is input only and is unavailable if using an external reset P1.2 and P1.3 may be configured as open-drain or input only 2-bit port P3 P3 is unavailable if using an external crystal Year 3 Project Tutorial 9
10 Input/Output Ports Year 3 Project Tutorial 10
11 Input/Output Ports P89LPC935 is a 3V device but the pins are 5V tolerant Can interface directly to 5V TTL devices Connecting a pin directly to 5V will increase power consumption Each input can sink up to 20mA but the limit for the IC is 100mA Configuration of the port pins may be changed to suit the hardware interface by writing to the Port Mode SFR registers. Year 3 Project Tutorial 11
12 Port Configurations Input Only This is the default configuration at reset Quasi-bidirectional Standard 80C51 outputs Strong pull-down can sink 20mA when output = 0 Weak pull-up can source 20uA when output = 1 Can be used to interface to TTL devices Push-Pull Used when more source current is required Can source 3.2mA when outputting a 1 Strong pull-down can sink 20mA when output = 0 Open Drain Needs an external pull-up to output a logic 1 Best solution when interfacing to 5V circuits Year 3 Project Tutorial 12
13 Input/Output Port Configuration On reset all port pins default to input To change a port configuration the Port Output Mode Registers 1 & 2 must be written to. A port may contain a mix of input and output pins. e.g. configure P0.0 to P0.2 as input, all other Port 0 pins as quasibidirectional P0M1 = (0x07) P0M2 = (0x00) Year 3 Project Tutorial 13
14 Interfacing Inputs to 5V Logic Although the supply voltage is lower, the I/O-pins are 5V-tolerant. i.e., the I/O stages cannot actively drive the outputs higher than the supply voltage, but they may be pulled to 5V externally. The LPC935 inputs can be driven directly from the outputs of 5V logic families. For a 3.3V power supply, the worst case Schmitt trigger input switching levels are V IL = 0.726V and V IH = 2.31V. Year 3 Project Tutorial 14
15 Interfacing Outputs to 5V Logic LPC935 output can drive a TTL input. The output high level voltage (VOH) is not high enough to drive a CMOS input. When outputting a 0, the LPC935 port pin can sink up to 20mA total limit for the chip is 100mA. Bigger loads require external interface circuitry. Year 3 Project Tutorial 15
16 Hardware Interfacing 3.3V 5V 3.3V 3.3V VDD VDD micro P0.1 P0.1 micro VSS VSS Direct hardware interface 20mA max sink current Configure as quasi-bidir or Push-pull Interfacing to 5V hardware Configure as open-drain 5V supply drives load Year 3 Project Tutorial 16
17 89LPC935 Clock A machine cycle is the minimum amount of time in which any P89LP935 operation can execute A machine cycle is 2 clock periods in duration All instructions will execute in 1, 2 or 4 machine cycles The internal timers operate every machine cycle if enabled 3 clock source options External crystal up to 12MHz Internal RC 7.373MHz oscillator Used on MCB900 board Allows 2 XTAL pins to be used for input/output Internal watchdog oscillator (400KHz) Use 33pF capacitor for 12MHz crystal Year 3 Project Tutorial 17
18 Clock Configuration Year 3 Project Tutorial 18
19 Keil C51 Cross Compiler ANSI C Compiler Generates fast compact code for the 8051 and it s derivatives Advantages of C over Assembler Do not need to know the microcontroller instruction set Register allocation and addressing modes are handled by the compiler Programming time is reduced Code may be ported easily to other microcontrollers C51 supports a number of C language extensions that have been added to support the 8051 microcontroller architecture e.g. Data types Memory types Pointers Interrupts Year 3 Project Tutorial 19
20 C51 Data Types Data Type Bits Range bit 1 0,1 unsigned char 8 0 to 255 signed char to +127 unsigned int 16 0 to signed int to unsigned long 32 0 to signed long to sbit 1 0,1 Year 3 Project Tutorial 20
21 C51 Memory Types Memory type extensions allow access to all 8051 memory types. A variable may be assigned to a specific memory space code Program memory. unsigned char code const1 = 0x55; //define a constant char code string1[] = hello ; //define a string data Lower 128 bytes of internal data memory unsigned int data x; //16-bit variable x idata All 256 bytes if internal data memory bdata Bit addressable area of internal data memory xdata External data memory (512 bytes of on-chip auxiliary data RAM) Year 3 Project Tutorial 21
22 Example Code (1) //program to add 2 8-bit variables void main() { unsigned char data num1, num2, result; } num1 = 10; num2 = 25; result = num1 + num2; This code will use 3 bytes of internal data memory (00 to 7FH) What happens if the result exceeds 255? Year 3 Project Tutorial 22
23 Example Code (2) //program to add 2 8-bit variables //a flag should be set if the result exceeds 100 void main() { unsigned char data num1, num2; unsigned int data result; bit overflow; } num1 = 10; num2 = 25; result = num1 + num2; if (result >100) overflow = 1; Year 3 Project Tutorial 23
24 Accessing Port Pins The microcontroller port should be configured at the start of the program. //configure port 2 to be quasi bi-directional P2M1 = 0x00; P2M2 = 0x00; //all 8 pins are quasi bi-directional Writing to an entire port P2 = 0x12; //Port 2 = 12H ( binary) P2 &= 0xF0; //clear lower 4 bits of Port 2 P2 = 0x03; //set P2.0 and P2.1 Reading from a port unsigned char data status; status = P1; //read from Port 1 Year 3 Project Tutorial 24
25 Example Code (3) //Program to read from 8 switches connected to Port 1. The status of the switches //is written to 8 LEDs connected to Port 2. #include <reg935.h> //SFR address definitions void main() { unsigned char data status; //variable to hold switch status P1M1 = 0xFF; P1M2 = 0; //port 1 is input P2M1 = 0; P2M2 = 0xFF; //port 2 is output } //continuous loop to read switches and display the status while(1) { status = P1; P2 = status; } Year 3 Project Tutorial 25
26 Accessing Individual Port Pins Writing to a port pin //write a logic 1 to port 0 pin 1 P0^1 = 1; In a program using lots of individual port pins it is better coding practice to name the pins according to their function sbit power_led = P0^1; power_led = 1; Reading from a port pin //Turn on LED if switch is active sbit switch_input = P2^0; if (switch_input) else power_led = 1; power_led = 0; Year 3 Project Tutorial 26
27 Example Code (4) //program to flash an LED connected to Port 2 pin 0 every second #include <reg935.h> sbit LED = P2^0; void delay(); void main() { P2M1 = 0; P2M2 = 0; while (1) { LED = 0; //LED off delay(); LED = 1; //LED on delay(); } } //Delay function void delay() {. } Year 3 Project Tutorial 27
28 Generating Delays (1) Use a for loop Does not use any timer resources Uses CPU resources while running i.e. no other task can be performed during delay loop Can result in large amounts of machine code being generated Results may be different for different compilers The following code results in a half second delay for the P89LPC935 operating off the 7.373MHz RC oscillator void delay() { unsigned int i; for (i=0; i < 50000; i++); } Year 3 Project Tutorial 28
29 Generating Delays (2) Use assembly code Use DJNZ loops to produce very compact code Does not use timer resources Uses CPU resources while running i.e. no other task can be performed during delay loop Use timer 0 or timer 1 Very efficient mechanism of producing accurate delays Timer mode, control and counter registers must be configured Timer run bit is used to start/stop the timer The timer flag can be polled to determine when required time delay has elapsed Year 3 Project Tutorial 29
30 Generating Delays (3) When enabled the timer counts from an initial value to FFFFH and then overflows to 0000H. The count is incremented every 2 clocks. Delay = 2 x (2 16 initial value)/fosc Max. delay for a 7.373MHz crystal is 2 17 / = msec. Calculate the initial value for a delay of 10msec initial value = [2 16 (0.01 x )]/2 Initial value = = 6FFFH Load TL0 with FFH Load TH0 with 6FH Year 3 Project Tutorial 30
31 Using Timer 0 to Generate a Delay //function to generate a delay of x times 10msec void delay(unsigned char x) { unsigned char z; TR0 = 0; //stop timer TF0 = 0; //clear timer flag TMOD = 0x01; //mode 1-16 bit timer TAMOD = 0; for (z=0;z<x;z++) { TH0 = 0x6F; //reload values for a 10msec delay TL0 = 0xFF; TR0 = 1; //start timer; while(!tf0); //wait for timer overflow TF0 = 0; } TR0 = 0; //stop timer } Year 3 Project Tutorial 31
32 Connecting the MCB900 to your project circuit Your project circuit board will most likely be powered from 5V. The MCB900 board uses an on-board 3.3V supply. This is generated by regulating an external voltage source. You can power the MCB900 using the supplied 6V mains regulator or using a power supply connected to the VIN terminals (next to the serial port connector). Your project board must share the same ground as the MCB900 board. Connect a wire from the MCB900 VSS terminal to the ground rail of your project board. You may regulate the VIN power rail of the MCB900 to generate a 5V power rail for your project board (use a 7805 regulator). MCB VIN VIN GND VOUT + 10uF 100nF 5V MCB VSS Year 3 Project Tutorial 32
33 Example Project Keyless Doorlock The door is opened by a 4 digit password entered via a keypad 2 LED s show the status of the lock A solenoid is used to open/close the door latch Year 3 Project Tutorial 33
Keil C51 Cross Compiler
Keil C51 Cross Compiler ANSI C Compiler Generates fast compact code for the 8051 and it s derivatives Advantages of C over Assembler Do not need to know the microcontroller instruction set Register allocation
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 information8-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 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 informationChapter 13. PIC Family Microcontroller
Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to
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 informationPOCKET SCOPE 2. The idea 2. Design criteria 3
POCKET SCOPE 2 The idea 2 Design criteria 3 Microcontroller requirements 3 The microcontroller must have speed. 3 The microcontroller must have RAM. 3 The microcontroller must have secure Flash. 3 The
More informationChapter 1 Lesson 3 Hardware Elements in the Embedded Systems. 2008 Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education
Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems 1 Typical Embedded System Hardware units 2 Basic Circuit Elements at the System 3 (i) Power Source 1. System own supply with separate supply
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 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 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 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 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 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 informationM68EVB908QL4 Development Board for Motorola MC68HC908QL4
M68EVB908QL4 Development Board for Motorola MC68HC908QL4! Axiom Manufacturing 2813 Industrial Lane Garland, TX 75041 Email: Sales@axman.com Web: http://www.axman.com! CONTENTS CAUTIONARY NOTES...3 TERMINOLOGY...3
More informationAT89C1051. 8-Bit Microcontroller with 1 Kbyte Flash. Features. Description. Pin Configuration
AT89C1051 Features Compatible with MCS-51 Products 1 Kbyte of Reprogrammable Flash Memory Endurance: 1,000 Write/Erase Cycles 2.7 V to 6 V Operating Range Fully Static Operation: 0 Hz to 24 MHz Two-Level
More informationAtmel Norway 2005. XMEGA Introduction
Atmel Norway 005 XMEGA Introduction XMEGA XMEGA targets Leadership on Peripheral Performance Leadership in Low Power Consumption Extending AVR market reach XMEGA AVR family 44-100 pin packages 16K 51K
More information8051 hardware summary
8051 hardware summary 8051 block diagram 8051 pinouts + 5V ports port 0 port 1 port 2 port 3 : dual-purpose (general-purpose, external memory address and data) : dedicated (interfacing to external devices)
More informationTURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT
TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT HARDWARE GUIDE This document is part of Turbo Programmer documentation. For Developer Documentation, Applications and Examples, see http:/// PRELIMINARY (C)
More information8031AH 8051AH 8032AH 8052AH NMOS SINGLE-CHIP 8-BIT MICROCONTROLLERS
8031AH 8051AH 8032AH 8052AH MCS 51 NMOS SINGLE-CHIP 8-BIT MICROCONTROLLERS Automotive High Performance HMOS Process Internal Timers Event Counters 2-Level Interrupt Priority Structure 32 I O Lines (Four
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 informationUSB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung
USB2.0 I2C V4.4 Konverter Kabel und Box mit Galvanischetrennung USB 2.0 I2C Konverter Kabel V4.4 (Prod. Nr. #210) USB Modul: Nach USB Spezifikation 2.0 & 1.1 Unterstützt automatisch "handshake
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 informationUser s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK
User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK Because Arduino that is the development project on AVR MCU as Open Source has been published, it is popular and widespread shortly.
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 information2.0 Command and Data Handling Subsystem
2.0 Command and Data Handling Subsystem The Command and Data Handling Subsystem is the brain of the whole autonomous CubeSat. The C&DH system consists of an Onboard Computer, OBC, which controls the operation
More informationDesign and Implementation of Home Monitoring System Using RF Technology
International Journal of Advances in Electrical and Electronics Engineering 59 Available online at www.ijaeee.com & www.sestindia.org/volume-ijaeee/ ISSN: 2319-1112 Design and Implementation of Home Monitoring
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 informationDesigning 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 informationAN10850. LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode
LPC1700 timer triggered memory to GPIO data transfer Rev. 01 16 July 2009 Application note Document information Info Keywords Abstract Content LPC1700, GPIO, DMA, Timer0, Sleep Mode This application note
More informationC8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia
C8051F020 Utilization in an Embedded Digital Design Project Course Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia Abstract In this paper, the utilization of the C8051F020 in an
More informationCellphone Based Device Control With Voice Acknowledgement
Cellphone Based Device Control With Voice Acknowledgement Avigyan Datta Gupta 1, Sayan Samanta 2, Avishek Acharjee 3 1,2 Future Institute of Engineering and Management, Kolkata-700150 3 Techno India, Kolkata-700150
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 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 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 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 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 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 informationInterfacing Analog to Digital Data Converters
Converters In most of the cases, the PIO 8255 is used for interfacing the analog to digital converters with microprocessor. We have already studied 8255 interfacing with 8086 as an I/O port, in previous
More informationWeb Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com
Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267
More informationThe Programming Interface
: In-System Programming Features Program any AVR MCU In-System Reprogram both data Flash and parameter EEPROM memories Eliminate sockets Simple -wire SPI programming interface Introduction In-System programming
More informationMicrocomputers. Analog-to-Digital and Digital-to-Analog Conversion
Microcomputers Analog-to-Digital and Digital-to-Analog Conversion 1 Digital Signal Processing Analog-to-Digital Converter (ADC) converts an input analog value to an output digital representation. This
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 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 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 informationDisplay Message on Notice Board using GSM
Advance in Electronic and Electric Engineering. ISSN 2231-1297, Volume 3, Number 7 (2013), pp. 827-832 Research India Publications http://www.ripublication.com/aeee.htm Display Message on Notice Board
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 information7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18
18 CHANNELS LED DRIVER GENERAL DESCRIPTION IS31FL3218 is comprised of 18 constant current channels each with independent PWM control, designed for driving LEDs. The output current of each channel can be
More informationPICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description
Features PICNet 1 PIC18 Network & SD/MMC Development Board IC Sockets for 28 or 40-pin Microchip PIC18F Microcontrollers IC Socket for 8-pin serial EEPROM Multiple MCU Oscillator sources Full 10BaseT IEEE
More informationUser Manual. AS-Interface Programmer
AS-Interface Programmer Notice: RESTRICTIONS THE ZMD AS-INTERFACE PROGRAMMER HARDWARE AND ZMD AS-INTERFACE PROGRAMMER SOFTWARE IS DESIGNED FOR IC EVALUATION, LABORATORY SETUP AND MODULE DEVELOPMENT ONLY.
More informationDS1721 2-Wire Digital Thermometer and Thermostat
www.dalsemi.com FEATURES Temperature measurements require no external components with ±1 C accuracy Measures temperatures from -55 C to +125 C; Fahrenheit equivalent is -67 F to +257 F Temperature resolution
More informationAm186ER/Am188ER AMD Continues 16-bit Innovation
Am186ER/Am188ER AMD Continues 16-bit Innovation 386-Class Performance, Enhanced System Integration, and Built-in SRAM Problem with External RAM All embedded systems require RAM Low density SRAM moving
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 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 informationHANDLING SUSPEND MODE ON A USB MOUSE
APPLICATION NOTE HANDLING SUSPEND MODE ON A USB MOUSE by Microcontroller Division Application Team INTRODUCTION All USB devices must support Suspend mode. Suspend mode enables the devices to enter low-power
More informationPC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram
TOOLSTICK VIRTUAL TOOLS USER S GUIDE RELEVANT DEVICES 1. Introduction The ToolStick development platform consists of a ToolStick Base Adapter and a ToolStick Daughter card. The ToolStick Virtual Tools
More informationPart Number Description Packages available
Features 3 digital I/O Serial Data output Connects directly to RF Modules Easy Enc / Dec Pairing Function Minimal External Components Required Performs all encoding/decoding of data for Reliable Operation.
More informationPACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section
PRELIMINARY DS2434 Battery Identification Chip FEATURES Provides unique ID number to battery packs PACKAGE OUTLINE Eliminates thermistors by sensing battery temperature on chip DALLAS DS2434 1 2 3 256
More informationAN1229. Class B Safety Software Library for PIC MCUs and dspic DSCs OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION
Class B Safety Software Library for PIC MCUs and dspic DSCs AN1229 Authors: Veena Kudva & Adrian Aur Microchip Technology Inc. OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION This application note describes
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 informationMICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1
MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable
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 information1. Computer System Structure and Components
1 Computer System Structure and Components Computer System Layers Various Computer Programs OS System Calls (eg, fork, execv, write, etc) KERNEL/Behavior or CPU Device Drivers Device Controllers Devices
More information8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.
AVR134: Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time,
More informationDATA SHEET. TDA1543 Dual 16-bit DAC (economy version) (I 2 S input format) INTEGRATED CIRCUITS
INTEGRATED CIRCUITS DATA SHEET File under Integrated Circuits, IC01 February 1991 FEATURES Low distortion 16-bit dynamic range 4 oversampling possible Single 5 V power supply No external components required
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 informationM25P05-A. 512-Kbit, serial flash memory, 50 MHz SPI bus interface. Features
512-Kbit, serial flash memory, 50 MHz SPI bus interface Features 512 Kbits of flash memory Page program (up to 256 bytes) in 1.4 ms (typical) Sector erase (256 Kbits) in 0.65 s (typical) Bulk erase (512
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 PIC16F628 controlled FLL (Frequency Locked Loop) VFO for HF
Abstract A PI6F628 controlled FLL (Frequency Locked Loop) VFO for HF It is described a device which joins in a single microprocessor a digital programmable frequency meter and a control logic capable to
More informationArduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview
R Arduino Due Arduino Due Front Arduino Due Back Overview The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU (datasheet). It is the first Arduino board based on a 32-bit
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 informationSerial 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 informationMACHINE 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 informationOTi. Ours Technology Inc. OTi-6828 FLASH DISK CONTROLLER. Description. Features
Description The flash disk controller (OTi_6828) is a disk controller used to make a linear flash device array look likes a normal disk, hiding the flash related problems with erasing. The OTi_6828 is
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 informationW25Q80, W25Q16, W25Q32 8M-BIT, 16M-BIT AND 32M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI
8M-BIT, 16M-BIT AND 32M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI - 1 - Preliminary - Revision B Table of Contents 1. GENERAL DESCRIPTION... 5 2. FEATURES... 5 3. PIN CONFIGURATION SOIC 208-MIL...
More informationData Cables. Schmitt TTL LABORATORY ELECTRONICS II
Data Cables Data cables link one instrument to another. Signals can attenuate or disperse on long wires. A direct wire works best for short cables of less than 10 ft. A TTL cable connection can use a Schmitt
More informationFingerprint Based Biometric Attendance System
Fingerprint Based Biometric Attendance System Team Members Vaibhav Shukla Ali Kazmi Amit Waghmare Ravi Ranka Email Id awaghmare194@gmail.com kazmiali786@gmail.com Contact Numbers 8097031667 9167689265
More informationRF CONTROLLED VEHICLE ROBOT WITH METAL DETECTOR
RF CONTROLLED VEHICLE ROBOT WITH METAL DETECTOR PAGE NO. 1. ABSTRACT 10 2. INTRODUCTION TO EMBEDDED SYSTEMS 13 3. BLOCK DIAGRAM OF PROJECT 4. HARDWARE REQUIREMENTS 4.1 VOLTAGE REGULATOR 4.2 MICROCONTROLLER
More informationTire pressure monitoring
Application Note AN601 Tire pressure monitoring 1 Purpose This document is intended to give hints on how to use the Intersema pressure sensors in a low cost tire pressure monitoring system (TPMS). 2 Introduction
More informationDefinitions and Documents
C Compiler Real-Time OS Simulator Training Evaluation Boards Using and Programming the I 2 C BUS Application Note 153 June 8, 2000, Munich, Germany by Keil Support, Keil Elektronik GmbH support.intl@keil.com
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 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 informationFreescale Semiconductor, I
nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development
More information8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER
UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER 8-Bit CPU plus ROM RAM I O Timer and Clock in a Single Package One 8-Bit Status and Two Data Registers for Asynchronous Slave-to- Master Interface DMA
More informationCPU systron S 200 - S 250 - S 250c. systron S 200 - S 250 - S 250c. CPUs to the process modules. Stand-alone PLC
E031019 000823 systron S 200 - S 250 - S 250c CPU systron S 200 - S 250 - S 250c 45 mm width Flexible and expandable Easy to use software for bus connection (S 250/ S 250c) CPUs to the process modules
More informationAccess Control Using Smartcard And Passcode
IOSR Journal of Electrical and Electronics Engineering (IOSR-JEEE) e-issn: 2278-1676 Volume 4, Issue 5 (Jan. - Feb. 2013), PP 29-34 Access Control Using Smartcard And Passcode Omorogiuwa Eseosa 1., Uhunmwangho
More informationBE635 User Manual. Rev. V1.0. 2013-2014 Bolymin, Inc. All Rights Reserved.
BE635 User Manual Rev. V1.0 2013-2014 Bolymin, Inc. All Rights Reserved. Copyright Copyright 2013-2014 BOLYMIN, INC. All rights reserved. No part of the materials may be reproduced, copied or translated
More informationMicrocontrollers in Practice
M. Mitescu I. Susnea Microcontrollers in Practice With 117 Figures, 34 Tables and CD-Rom 4y Springer Contents Resources of Microcontrollers, 1 1.1 In this Chapter 1 1.2 Microcontroller Architectures 1
More informationAutomated Intelligent Power Saving System and Security System
Advance in Electronic and Electric Engineering. ISSN 2231-1297, Volume 3, Number 9 (2013), pp. 1167-1176 Research India Publications http://www.ripublication.com/aeee.htm Automated Intelligent Power Saving
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 informationDS12885, DS12885Q, DS12885T. Real Time Clock FEATURES PIN ASSIGNMENT
DS12885, DS12885Q, DS12885T Real Time Clock FEATURES Drop in replacement for IBM AT computer clock/calendar Pin configuration closely matches MC146818B and DS1285 Counts seconds, minutes, hours, days,
More information8-Bit Microcontroller with Flash. Application Note. Using a Personal Computer to Program the AT89C51/C52/LV51/LV52/C1051/C2051
Using a Personal Computer to Program the ATC/C/LV/LV/C0/C0 Introduction This application note describes a personal computer-based programmer for the ATC/C/LV/LV/C0/C0 Flash-based s. The programmer supports
More informationADS9850 Signal Generator Module
1. Introduction ADS9850 Signal Generator Module This module described here is based on ADS9850, a CMOS, 125MHz, and Complete DDS Synthesizer. The AD9850 is a highly integrated device that uses advanced
More informationAN108 IMPLEMENTING A REALTIME CLOCK. Relevant Devices. Introduction. Key Points. Overview
IMPLEMENTING A REALTIME CLOCK Relevant Devices This application note applies to the following devices: C8051F000, C8051F001, C8051F002, C8051F005, C8051F006, C8051F007, C8051F010, C8051F011, and C8051F012.
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 informationDKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD
DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD PRELIMINARY DATA SHEET Wednesday, 16 May 2012 Version 0.5 Copyright 2000-2012 Bluegiga Technologies All rights reserved. Bluegiga Technologies assumes
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 informationPROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT
PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT ELECTRONICS ENGINEERING DEPARTMENT SVNIT, SURAT-395007, INDIA Prepared by: Anurag Gupta (U05EC401) Dhrumeel Bakshi (U05EC326) Dileep Dhakal
More informationMicrocomputer Based Electronics: Using the C Stamp in Pre- Engineering, Technology, and Engineering Programs
28 29 April 2007, Ewing Township, New Jersey. Microcomputer Based Electronics: Using the C Stamp in Pre- Engineering, Technology, and Engineering Programs Orlando J. Hernandez The College of New Jersey,
More information