LABORATORY MANUAL EMBEDDED SYSTEMS AND REAL TIME PROGRAMMING

Size: px
Start display at page:

Download "LABORATORY MANUAL EMBEDDED SYSTEMS AND REAL TIME PROGRAMMING"

Transcription

1 EMBEDDED SYSTEMS AND REAL TIME PROGRAMMINGB.E. (Electronics) (Sem. VIII) LABORATORY MANUAL EMBEDDED SYSTEMS AND REAL TIME PROGRAMMING B.E. (E lectr onics) ( S e m. V III)

2 EMBEDDED SYSTEMS AND REAL TIME PROGRAMMINGB.E. (Electronics) (Sem. VIII) INDEX Serial No. T i tl e P a g e N o. 1 To Study 8051 Simulator 2 2 To Write a Program for Scanning a Key Pad and 4 Displaying the Pressed Key on a LCD 3 To Write a Program to drive a Stepper Motor 5 4 To Write a Program to Drive a DC Motor with 6 Simulation using Proteus 5 To Implement Mouse Driver Program using Dos Interrupts. 7 6 To Write a C Program to Interface Real Time Clock IC 9 DS1307 w i t h a Microcontroller Using I 2 C Bus Protocol 7 To Write a C Program to Generate PWM Using 11 ATMEL AVR ATMEGA To study testing tools with KEIL Compiler

3 L a b o r a t o r y S e s s i o n 1 T i t l e : To write assembly language programs for the 8051 using the simulator S51 i. Block transfer ii. Toggling of port pin iii. To transfer a character serially iv. To generate a square wave on the port pin v. To drive a LED connected on the port pin ( using the external interrupt pin) Pre-R e q u i s i t e s : 1. I n s t r u c t i o n s of Mi c r o c o n t r o l l e r Addressing modes o f Microcontroller F l a g r e g i s t e r o f Mi c r o c o n t r o l l e r Knowledge of S51 simulator. T h e o r y : The 8051 Microcontroller has 128 bytes of RAM, 4KB of on chip ROM, two timers, one serial port and 4 parallel ports 9 32 I/O lines ) all on a single chip. The 8051 is a 8 b i t m i c r o c o n t r o l l e r w i t h 6 i n t e r r u p t sources. There a r e t w o t i me r s i n , d e p e n d i n g on the value of M1 and M0 bits in the TMOD register. The timers c a n o p e r a t e i n 4 modes M o d e 0 : 1 3 b i t t i m e r, 8 b i t t i m e r / c o u n t e r THX with TLX as 5 bit pre-s c a l e r M o d e 1 : 1 6 b i t t i m e r, THX and TLX are cascaded, t h e r e i s n o p r e -s c a l e r M o d e 2 : 8 b i t a u t o r e l o a d, THX holds a value which is to be reloaded into TLX each time it overflows M o d e 3 : Split time mode 8051 has a s e r i a l p o rt and can operate in 4 modes depending on SM0 and SM1 bits in the SCON register SM0 SM1 M o d e s h i f t r e g i s t e r, baud = f / bit UART, baud = variable b i t U A R T, b a u d f/32 or f/ bit UART, b a u d = v a r i a b l e F i v e i n t e r r u p t s a r e p r o v i d e d i n the Three of these are generated automatically by internal operations, Timer flag 0, Timer flag 1 and serial port ( T I a n d R I ). T w o interrupts are triggered by external signals provided by circuitry that is connected to p i n s I N T O a n d I N T 1 R e f e r e n c e s : 1. The 8051 Microcontroller and Embedded Systems- Muhammad Mazidi 2. The 8051 Microcontroller Kenneth Ayala A l g o r i t h m : Block Tr a n s f e r : 1. Start 2. Initialize R0 & R1 with source and destination memory addresses respectively. 3. initialize counter R2 with value copy content of memory pointed by R0 in A 5. Copy content of A to memory pointed by R1. 6. Increment R0, R1 by Decrement counter R2 by 1 & if R2 0, go to step 3. 2

4 8. Stop Algorithm: Toggling of port pin: 1. Start 2. Set port Initialize timer 0 in model 1 using TMOD. 4. load timer 0 with FF run timer 0 6. Check for timer overflow. 7. On overflow complement P Go to step 2 9. Stop. Algorithm: To Transfer a character serially. 1. Start 2. Initialize R1 with counter. 3. Initialize timer 1 in mode 0 using TMOD. 4. Load count in timer Initialize serial port in mode 1 using SCON. 6. Transfer data to be send serially to SBUF. 7. Decrement counter R1 & if not zero then jump to step Stop Algorithm: To generate a square wave on port pin. 1. Start 2. Initialize timer 1 in mode Load timer zero with FF H 4. Complement P Start timer 0 6. Wait for timer overflow. 7. Create overflow flag. 8. Go to step Stop. Algorithm: To drive a LED connected on the port pin (using the external interrupt pin) 1. Start 2. Enable external interrupt INT 1 make it level triggered using IE and TCON. 3. clear port wait for INT 1 Post Lab Assignments: 1. Explain how the priority of interrupts can be changed in the Explain how multiprocessor communication can be used in the

5 L abo r a t o r y S e s s i o n 2 T i t l e : To Write a Program for Scanning a Key Pad displaying the pressed key on a LCD w i t h the hardware implementation using 89C51RD2 kit. Pre-R e q u i s i t e s : 1. Knowledge of C or Assembly Language. 2. Address m a p o f m i c r o c o n t r o l l e r a s w e l l a s L C D. 3. Knowledge of Keil Compiler Theory: R e f e r e n c e s: Scanning programs for matrix keypads involve generating patterns for the rows and r e a d i n g t h e c o l u m n s, deciphering t h e k e y p r e s s e d d e p e n d i n g o n t h e p a t t e r n. F i g shows 4 x 4 matrix keypad. The columns are pulled up to VCC via pull up resistors. The rows are c o n n e c t e d t o t h e l o w e r o r d e r f o u r b i t s o f t h e m i c r o c o n t r o l l e r w h i l e t h e columns are connected to the higher order port bits. Each row is brought low, w h e n one row at a time and the column pattern is read. For no key press, t h e c o l u mn w i l l read all h i g h. If a key p r e s s e d, t h e n when corresponding row is brought low the column is pulled low. The pressed key is recognized using its unique row-c o l u m n pattern. T h e universal key characteristic i s t h e a b i l i t y t o b o u n c e. T h e key c o n t a c t v i b r a t e s open and closed for a number of milliseconds when the key is hit and often when it is released. To prevent t h e s e rapid pulses from registering multiple presses, key may be debounced with RS fl i p F l o p s o r d e -bounced in software with time d e l a y s. 1. The 8051 Microcontroller and Embedded Systems- M u h a m m a d M a z i d i 2. The 8051 Microcontroller K e n n eth Ayala 3. Manual for KEIL Compiler A l g o r i t h m : Post laboratory Questions: 1. Scan port of microcontroller to which the key pad is interfaced and checks for Key Press. i.e port pin being low. 2. D e bounces the switch by incorporating some amount of software delay. 3. Recognize the key pressed from row column pattern read. 4. Call LCD display function to display the pressed key on the LCD. 5. Initialize serial UART port for 8 bit UART transmission and load display data on to SBUF for serial communication. LCD Display Module: 1. Initialize LCD device for no of links, characters, screen conditions, cursor condition etc. 2. Send display address to command register. 3. Send data to be displayed to data register. 1. Explain hardware debouncing of keys. 2. Explain the principle of working of the LCD device. 4

6 L abo r a t o r y S e s s i o n 3 T i tl e : To Write a Program to Drive a Stepper Motor Pre-R e q u i s i t e s : 1. Knowledge of C or Assembly Language. 2. Addressing Details of microcontroller as well as LCD. 3. Knowledge of Keil T h e o r y : R e f e r e n c e s: Algorithm: Stepper motors rotate or step from one fixed position to the next in small increments. Common step size range from 0.9 to 30.Stepper motors are stepped from one position to the next by changing th e c u r r e n t s t o t h e f i e l d o f t h e m o t o r. T h e two common field connections are required to as two p h a s e s and four phases. Stepper motor control involves interfacing the motor coil connections to the microcontroller p o r t v i a a d r i v e r c i r c u i t t h a t p r o v i d e s t h e n e c e s s a r y d r i v e c u r r e n t f o r t h e m o t o r. T h e microcontroller generates patterns on the port providing the excitation to the field coils which cause it to rotate. The tables show the switching sequence for the typical stepper motor for full step mode and half state mode. In full step mode motor steps through the step angle each time it is excited. In half step mode motor steps through half the mode angle each time. This is accomplishe d by maintaining one field excitation at a time and changing the other field. Each t h e m i c r o c o n t r o l l e r o u t p u t one step code it must wait a few milliseconds before the next step code is given out because the motor can only step so fast. 1.Manual for KEIL Compiler 2. Stepper motor card Manuals ( X P O EST) 1. Scan Microcontroller port pin for key press. 2. Output patterns for port lines interfaced to the stepper motor for forward or reverse directions, depending on key press. 3. Generate milliseconds software delay after each pattern is outputted. Post Lab Assignments: 1. Study the hardware setup of the motor. Explain why the clamp diodes are used across the driving transistors. 2. Why is a slight jerking motion induced in the motor motion in the full step drive? 5

7 L abo r a t o r y S e s s i o n 4 Title : To Write a Program to Drive a DC Motor with simulation using Proteus. Pre-R e q u i s i t e s : 1. Knowledge of C or Assembly L a n g u a g e. 2. Addressing Details of microcontroller as well as LCD. 3. Knowledge of Keil Compiler 4. Knowledge of P R O T E U S Theory: DC M o t o r i d e a l l y n e e d s a c o n s t a n t v o l t a g e t o r o t a t e. Thus, to a c h i e v e s p e e d c o n t r o l signal conditioning is necessary. To generate a variable dc v o l t a g e u s ing Microcontroller either DAC is used or in some advanced application PWM is used. In PWM, control average DC voltage is varied by varying the ratio of ON time to OFF t i m e. VDC α T on Ton + T off W i t h a b r i d g e c o n n e c t i o n, it is also possible to control the direction of motor. A s shown in the figure, when T 1 & T4 transistors are ON motor rotates in one direction and T2 & T3 are ON motor rotates in reverse direction. Special care must be taken so as not to turn T1 & T2 or T3 & T4 simultaneously. This care is taken by PAL IC which allows only one set and transistors to turn ON. It also provides speed control in both directions with single variable duty cycle output. R e f e r e n c e s: Algorithm: 1. Manual for KEIL Compiler 2. M a n u a l f o r D C M o t o r c a r d ( X P O- EST) 1. To achieve speed control in both directions for each set of transistors, one transistor is given constant voltage while other transistor is given variable pulse width voltage. 2. This on time of variable pulse width voltage is user programmable. 3. Forward and reverse direction is set by key press or no key press. 4. Thus the motor interprets the average voltage and has corresponding speed output. Post Lab Assignments: 1. Explain how speed control of DC motor is achieved using the PTC Explain the various modes of operation of the

8 L aboratory S e s s i o n 5 Title : To Implement Mouse Driver Program using DOS Interrupts. Pre-Requisites : 1. Knowledge of v a r i o u s D O S i n t e r r u p t s 2. Knowledge of Assembly L a n g u a g e. Theory : D e v i c e d r i v e rs are software codes which provide interface between the proce s s o r a n d t h e a c t u a l h a r d w a r e. I t d o e s t h e f u n c t i o n o f i n i t i a l i z i n g t h e d e v i c e, s e c u r i n g i t a n d d e t a ching the device after its use. All operating systems provide built- i n f u n c t i o n s t h a t can be used to write device drives. Thus function takes of the address a n d h a r d w a r e requirements o f t h e d e v i c e s. M i c r o s o f t Mo u s e d r i v e r p r o v i d e s m a n y f u n c t i o n s f o r using the mouse which can be accessed using INT 33H DOS interrupt.some of these functions are shown f o r e x a. P o i n t e r s getting button status and pointer position etc. Function 01 H : shows mouse pointer. Displays the mouse pointer and cancels any mouse pointers exclusio n and previously designed by INT 33 H. Function 01 H call w i t h A X = 0001H returns nothing. Function 03 H: Get mouse position and pointer position. Returns current mouse button status and pointer position. Call with AX 0003H Returns: BX= Mouse button status Bit significant (if set) 0 - left button is down 1 - R i g h t b u t t o n i s d o w n 2 C e n t r e b u t t o n i s d o w n r e s e r v e d ( 0 ) C X - h o r i z o n t a l X c o -ordinate D X - v e r t i c a l Y c o- o r d i n a t e Sim i l a r t o I N T 33 H, Microsoft p r o v i d e s f u n c t i o n s for using the video display using INT 21 H. I N T 2 1 H f u n c t i o n 0 2 H : c h a r a c t e r o u t p u t s t h e c h a r a c t e r t o t h e c u r r e n t l y a c t i v e v i d e o display. Call with AH = 02 H D L = 8 b i t d a t a f o r o u t p u t Returns: Nothing E.g. S e n d t h e c h a r a c t e r * t o t h e s t a n d a r d output device M O V A H, 02 M O V D L, * INT 21H R e f e r e n c e : MS-DOS by Ray Duncan 7

9 Algorithm: 1. Make mouse pointer visible using INT 33H function 01h. 2. Cut button status and pointer position using INT 33h function 03h. 3. Convert X & Y co-ordinate value into ASCII. 4. Display values of X & Y on the screen using INT 21h function 01h. 5. If button status is zero display left click on the screen of button status. & if it is one display right click on the screen. 6. G o to step two. Post Lab Assignments: 1. Explain the principle of working of the Mouse 2. W h a t i s t h e p r o c e d u r e f o r l o a d i n g a n y d e v i c e d r i v e r i n a s y s t e m 8

10 L abo r a t o r y S e s s i o n 6 T i t l e : To Write a C Program to Interface Real Time Clock IC DS1307 with a Microcontroller Using I 2 C Bus Protocol. Pre-R e q u i s i t e s : 1. Knowledge of C or Assembly Language. 2. Knowledge of I 2 C protocol. 3. Knowledge of Keil Compiler 4. Knowledge of Proteus R e f e r e n c e : T h e o r y : 1. Embedded Systems Architecture, Programming and Design Raj Kamal 2. M a n ual for RTC DS 1307 DS1307 serial real time clock is a low power, full binary coded decimal (BCD) clock/calendar plus it has 56 bytes of NVSRAM. Address and data are transferred via a t w o w i r e b i d i r e c t i o n al I 2 C bus. The clock/calendar provides seconds, minutes, hours, day, date, and month and year information. Each of the above information is stored in dedicated registers and is updated periodically. The end of the month is automatically adjusted for month with lower than 31 days, including leap year corrections. The clock operates in either 24 hours or 12 hours format with AM / PM indicator. It has built in power sense circuit that detects power failure and auto switches to the battery supply. The DS1307 operates as a slave device and its connections to the microcontroller are as shown in the figure. Access is obtained by implementing a START condition and providing a device ID code, following by register address. Subsequent register can be accessed sequentially until a stop condition is executed. I 2 C bus (Inter IC Connect) I 2 C uses only two bidirectional open drain lines, serial data (SDA) and serial clock (SCL) pulled up with resistors. The I 2 C reference design has a seven bit address spaced with 16 reserved addresses so a maximum of 112 nodes can communicate on the same bus. I 2 C defines three basic types of message each of which begins with a START and ends with a STOP. 1. Single message where a master writes data to slave. 2. Single message where a master reads data from slave. 3. Combined a message where a master issue at least two reads and / or writes one or more slaves. Algorithm: Writing to DS Send I 2 C start condition. 2. Send DS1307 slave address and write flag (00h) 3. Send address of register to write to or point to one bit at a time. 4. Send data bytes, if any one bit at a time 5. Send I 2 C Stop condition. 9

11 Reading Time data from DS Send a write instruction and set register address to 00h 2. Send I 2 C start condition 3. Send DS 1307 slave address and read flag.(d1h) 4. Read 8 I 2 C bytes from the slave device which correspond to DS 1307 register which contain Date/Time. 5. Send I 2 C stop condition. Post Lab Assignments: 1. Explain the I2C protocol in detail and enumerate its application area. 2. Differentiate between the I2C and the CAN bus 10

12 L abo r a t o r y S e s s i o n 7 T i tl e: To Write a C Program to Generate PWM Using ATMEL AVR ATMEGA-8535 Pre-R e q u i s i t e s : 1. Knowledge of C or Assembly Language. 2. Knowledge of Keil Compiler 3. Knowledge of Proteus 4. K n o w l e d g e of ATMEGA 8535 R e f e r e n c e s: T h e o r y : 1. Manual for the ATMEGA kit ( LOGSUN LG5AVR) 2. Manual for Keil Compiler Logsun s LG5 AVR evaluation board using 8 bit ATMEGA 8535 microcontroller. I t has 8KB in system programmable flash memory and 512 bytes on chip S R A M. T h e development board comes with RS-232, ICSP interface to allow the user to program t h e m i c r o c o n t r o l l e r d i r e c t l y f r o m the PC. LGS-AVR board and related software help t o r a p i d l y d e s i g n a n d p r o t o t y p e. T h e k i t p r o v i d e s 1. 2 lines * 16 character LCD 2. Real time clock interface 3. RS s e r i a l i n t e r f a c e 4. O n Chip 10 bit 8 channel ADC 5. ICSP Interface 6. J T A G i n t e r f a c e 7. Two 8 bit timers/ c o u n t e r s 8. One 16 bit timer/counter All the peripherals are implemented as independent modules. PWM generation using 16 bit timer Timer of ATMEGA 8535 is a 16 bit timer/ counter. Phase correction PWM mode of timer 1 is used with top value of 3Fh. Duty cycle of PWM is controlled by the value set in OCR1A register which is the output compare register. The PWM output is obtained on pin OC1A in either non-inverting or inverting mode. Clock source is the system clock which is 12 Mhz. Duty cycle for non-inverting mode is given by A l g o r i t h m : D u t y-cycle = OCR1A * Initialize timer 1 in phase correct PWM mode with top value -3Fh. Clock source as system clock and OC1A output in non inverting mode. Do not start timer 2. Initialise UART with 9600 baud rate and 8 bit, 1 stop bit and no parity. 3. Input duty cycle from user in percentage and count value is calculated as Count value = duty cycle *

13 4. Write the count to OCR1A register and start timer1. 5. Go to step 3. Post Lab Assignments: 1. Explain the inverting and non-inverting mode for PWM generation in ATMEGA Explain the function of the JTAG interface in the kit used. 12

14 L abo r a t o r y S e s s i o n 8 Title : To Study testing tools using KEIL compiler. Pre-Requisites: R e f e r e n c e s : T h e o r y : 1. Knowledge of C or Assembly Language. 2. Knowledge of Keil Compiler 3. Knowledge of Proteus Manual for the Keil Compiler KEIL Integrated Development Environment ( I D E ) p r o v i d e s t o o l s f o r t e s t i n g of software codes during simulation. The tools include code coverage, performance a n a l y z e r, l o g i c a n a l y ze r, e x e c u t i o n p r o f i l e r, e t c. Code Coverage Code Coverage marks code that has been e x e c u t e d. Code coverage helps to ensure you have thoroughly tested your application and helps you to tune your t e s t i n g s t r a t e g y. i. Lines with no code are marked with a grey checked block. i i. Unexecuted lines ( instructions ) are marked with a grey block i i i. Fully executed lines ( Instructions) are marked with a green block iv. B r a n c h e s t h a t h a v e b e e n t a k e n are marked with a blue block v. Branches that have been skipped are marked with an orange block vi. The next line to execute is marked with a yellow arrow One may save and restore coverage statistics for multiple debug s e s s i o n s u s i n g the command line in the out p u t w i n d o w. 1. P e r f o r m a n c e A n a l y ze r The performance analyzer records and displays the execution times for functions and program blocks you select. Bar graphs display the time spent in part of the program. The information provided by the performance analyzer can be used to make subroutines faster by fine tuning the program 2. Logic Analyzer The Logic analyzer graphically displays signals and program variables as they change o v e r t i m e. S i g n a l s r e c o r d e d b y t h e l o g i c a n a l y z e r a r e e a s i l y c o n f i g u r e d u s i n g t h e s e t u p button in the logic analyzer dialog or by dragging symbols from the symbol window. Post Laboratory Assignments: 1. Explain the function of the In Circuit Emulator ( ICE ) in the testing of an embedded system. 2. What is meant by black box testing and White box testing? 13

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

8051 MICROCONTROLLER COURSE

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

Microtronics technologies Mobile: 99707 90092

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

STEPPER MOTOR SPEED AND POSITION CONTROL

STEPPER MOTOR SPEED AND POSITION CONTROL STEPPER MOTOR SPEED AND POSITION CONTROL Group 8: Subash Anigandla Hemanth Rachakonda Bala Subramanyam Yannam Sri Divya Krovvidi Instructor: Dr. Jens - Peter Kaps ECE 511 Microprocessors Fall Semester

More information

Serial Communications

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

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

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

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Course & Kit Contents LEARN HOW TO: Use of Keil Real View for ARM Use ARM Cortex-M3 MCU for professional embedded application development Understanding

More information

Flash Microcontroller. Memory Organization. Memory Organization

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

CHAPTER 11: Flip Flops

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

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

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems 1 5-1 8051 Peripherals

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

User Manual. AS-Interface Programmer

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

DESIGN OF 6 DOF ROBOTIC ARM CONTROLLED OVER THE INTERNET

DESIGN OF 6 DOF ROBOTIC ARM CONTROLLED OVER THE INTERNET DESIGN OF 6 DOF ROBOTIC ARM CONTROLLED OVER THE INTERNET G. Rajiv and Sivakumar Sathyabama University, Chennai, India E-Mail: Rajiv.srkm@gmail.com ABSTRACT The purpose of the project is to build a robotic

More information

DS1307ZN. 64 x 8 Serial Real-Time Clock

DS1307ZN. 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

AVR Butterfly Training. Atmel Norway, AVR Applications Group

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

Controlling a Dot Matrix LED Display with a Microcontroller

Controlling a Dot Matrix LED Display with a Microcontroller Controlling a Dot Matrix LED Display with a Microcontroller By Matt Stabile and programming will be explained in general terms as well to allow for adaptation to any comparable microcontroller or LED matrix.

More information

MICROPROCESSOR AND MICROCOMPUTER BASICS

MICROPROCESSOR AND MICROCOMPUTER BASICS Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit

More information

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

Using Arduino Microcontrollers to Sense DC Motor Speed and Position ECE480 Design Team 3 Using Arduino Microcontrollers to Sense DC Motor Speed and Position Tom Manner April 4, 2011 page 1 of 7 Table of Contents 1. Introduction ----------------------------------------------------------

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

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1

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

The Programming Interface

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

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar

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

CoE3DJ4 Digital Systems Design. Chapter 4: Timer operation

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

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

A 5 Degree Feedback Control Robotic Arm (Haptic Arm) A 5 Degree Feedback Control Robotic Arm (Haptic Arm) 1 Prof. Sheetal Nirve, 2 Mr.Abhilash Patil, 3 Mr.Shailesh Patil, 4 Mr.Vishal Raut Abstract: Haptics is the science of applying touch sensation and control

More information

2.0 Command and Data Handling Subsystem

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

PART B QUESTIONS AND ANSWERS UNIT I

PART B QUESTIONS AND ANSWERS UNIT I PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional

More information

Freescale Semiconductor, I

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

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual. 14.10.2010 HAW - Arduino 1

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual. 14.10.2010 HAW - Arduino 1 The I2C Bus Introduction The I2C-bus is a de facto world standard that is now implemented in over 1000 different ICs manufactured by more than 50 companies. Additionally, the versatile I2C-bus is used

More information

150127-Microprocessor & Assembly Language

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

DS1104 R&D Controller Board

DS1104 R&D Controller Board DS1104 R&D Controller Board Cost-effective system for controller development Highlights Single-board system with real-time hardware and comprehensive I/O Cost-effective PCI hardware for use in PCs Application

More information

Chapter 13. PIC Family Microcontroller

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

KTA-223 Arduino Compatible Relay Controller

KTA-223 Arduino Compatible Relay Controller 8 Relay Outputs 5A 250VAC 4 Opto-Isolated Inputs 5-30VDC 3 Analog Inputs (10 bit) Connections via Pluggable Screw Terminals 0-5V or 0-20mA Analog Inputs, Jumper Selectable 5A Relay Switching Power Indicator

More information

Microcontroller Display Interfacing Techniques

Microcontroller Display Interfacing Techniques Display Interfacing Techniques Document Revision: 1.01 Date: September 13, 2006 16301 Blue Ridge Road, Missouri City, Texas 77489 Telephone: 1-713-283-9970 Fax: 1-281-416-2806 E-mail: info@bipom.com Web:

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

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

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V] FG085 minidds Function Generator Manual of Operation Applicable Models: 08501, 08501K, 08502K, 08503, 08503K Applicable Firmware Version: 1 ) 113-08501-100 or later (for U5) 2 ) 113-08502-030 or later

More information

Control Technology Corporation CTC Monitor User Guide Doc. No. MAN-1030A Copyright 2001 Control Technology Corporation All Rights Reserved Printed in USA The information in this document is subject to

More information

POCKET SCOPE 2. The idea 2. Design criteria 3

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

Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol

Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol RESEARCH ARTICLE OPEN ACCESS Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol Arnab G. Samanta (Electronics Design technology (EDT) department, R.C.O.E.M, RTM Nagpur University,

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

Atmel Norway 2005. XMEGA Introduction

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

2011, The McGraw-Hill Companies, Inc. Chapter 3

2011, The McGraw-Hill Companies, Inc. Chapter 3 Chapter 3 3.1 Decimal System The radix or base of a number system determines the total number of different symbols or digits used by that system. The decimal system has a base of 10 with the digits 0 through

More information

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

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

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

- 35mA Standby, 60-100mA Speaking. - 30 pre-defined phrases with up to 1925 total characters.

- 35mA Standby, 60-100mA Speaking. - 30 pre-defined phrases with up to 1925 total characters. Contents: 1) SPE030 speech synthesizer module 2) Programming adapter kit (pcb, 2 connectors, battery clip) Also required (for programming) : 4.5V battery pack AXE026 PICAXE download cable Specification:

More information

The goal is to program the PLC and HMI to count with the following behaviors:

The goal is to program the PLC and HMI to count with the following behaviors: PLC and HMI Counting Lab The goal is to program the PLC and HMI to count with the following behaviors: 1. The counting should be started and stopped from buttons on the HMI 2. The direction of the count

More information

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1 UNIT 22: PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1 This work covers part of outcome 2 of the Edexcel standard module. The material is

More information

Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14

Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14 LogicWorks 4 Tutorials Jianjian Song Department of Electrical and Computer Engineering Rose-Hulman Institute of Technology March 23 Table of Contents LogicWorks 4 Installation and update...2 2 Tutorial

More information

isppac-powr1220at8 I 2 C Hardware Verification Utility User s Guide

isppac-powr1220at8 I 2 C Hardware Verification Utility User s Guide November 2005 Introduction Application Note AN6067 The isppac -POWR1220AT8 device from Lattice is a full-featured second-generation Power Manager chip. As part of its feature set, this device supports

More information

Software User Guide UG-461

Software User Guide UG-461 Software User Guide UG-461 One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com ezlinx icoupler Isolated Interface Development Environment

More information

EXERCISE 3: String Variables and ASCII Code

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

Keil C51 Cross Compiler

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 information

AXE033 SERIAL/I2C LCD

AXE033 SERIAL/I2C LCD AXE033 SERIAL/I2C LCD The serial LCD and clock module allows microcontroller systems (e.g. PICAXE) to visually output user instructions or readings, without the need for a computer. This is especially

More information

STIM202 Evaluation Kit

STIM202 Evaluation Kit Table of contents: 1 FEATURES... 2 2 GENERAL DESCRIPTIONS AND SYSTEM CONTENTS... 2 3 SYSTEM REQUIREMENTS... 2 4 GETTING STARTED... 3 4.1 INSTALLATION OF NI-SERIAL CABLE ASSEMBLY DRIVER... 3 4.2 INSTALLATION

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

USER GUIDE EDBG. Description

USER GUIDE EDBG. Description USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel

More information

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V1.0. 20 th November 2012. L6470 Stepper Motor Shield

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

Display Message on Notice Board using GSM

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

EVAL-UFDC-1/UFDC-1M-16

EVAL-UFDC-1/UFDC-1M-16 Evaluation Board for Universal Frequency-to- Digital Converters UFDC-1 and UFDC-1M-16 EVAL-UFDC-1/UFDC-1M-16 FEATURES Full-Featured Evaluation Board for the Universal Frequency-to-Digital Converters UFDC-1

More information

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands C Programming for Embedded Microcontrollers Warwick A. Smith Elektor International Media BV Postbus 11 6114ZG Susteren The Netherlands 3 the Table of Contents Introduction 11 Target Audience 11 What is

More information

Computer and Set of Robots

Computer and Set of Robots Lesson 11:DESIGN PROCESS EXAMPLES Mobile-Phone, Mobile- Computer and Set of Robots 1 Mobile Phone 2 Mobile phone SoC (System-on-Chip) Hardware units Microcontroller or ASIP (Application Specific Instruction

More information

Location-Aware and Safer Cards: Enhancing RFID Security and Privacy

Location-Aware and Safer Cards: Enhancing RFID Security and Privacy Location-Aware and Safer Cards: Enhancing RFID Security and Privacy 1 K.Anudeep, 2 Mrs. T.V.Anantha Lakshmi 1 Student, 2 Assistant Professor ECE Department, SRM University, Kattankulathur-603203 1 anudeepnike@gmail.com,

More information

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

8051 hardware summary

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

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE T I A Training Document Page 1 of 25 Module This document has been written by Siemens AG for training

More information

Andreas Läng. Hilscher Gesellschaft für Systemautomation mbh Intelligent solutions for industrial communication. www.hilscher.com

Andreas Läng. Hilscher Gesellschaft für Systemautomation mbh Intelligent solutions for industrial communication. www.hilscher.com Andreas Läng Hilscher Swiss GmbH Hilscher Gesellschaft für Systemautomation mbh Intelligent solutions for industrial communication www.hilscher.com Hilscher Platform Strategy The unique solution for all

More information

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface Application te Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface Abstract This

More information

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

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

Analog Inputs and Outputs

Analog Inputs and Outputs Analog Inputs and Outputs PLCs must also work with continuous or analog signals. Typical analog signals are 0-10 VDC or 4-20 ma. Analog signals are used to represent changing values such as speed, temperature,

More information

ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation

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

4 Character 5x7 LED Matrix Display

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

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC YEDITEPE UNIVERSITY ENGINEERING & ARCHITECTURE FACULTY INDUSTRIAL ELECTRONICS LABORATORY EE 432 INDUSTRIAL ELECTRONICS EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC Introduction:

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

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

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,

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

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

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

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Users Manual Robokits India info@robokits.co.in http://www.robokitsworld.com Page 1 Bluetooth + USB 16 Servo Controller is used to control up to

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

DS1621 Digital Thermometer and Thermostat

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

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P. Patient Monitoring Using Embedded Palaparthi.Jagadeesh Chand Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P Abstract The aim of this project is to inform

More information

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB Contents at a Glance 1. Introduction of MPLAB... 4 2. Development Tools... 5 3. Getting Started... 6 3.1. Create a Project... 8 3.2. Start MPLAB...

More information

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

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors Electronics Exercise 3: Uni-Polar Stepper Motor Controller / Driver Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles

More information

USING I2C WITH PICAXE

USING I2C WITH PICAXE USING I2C WITH PICAXE Contents: This article provides an introduction into how to use i2c parts with the PICAXE system. This article: 1) Describes the i2c bus 2) Explains how the i2c bus is used with the

More information

Software Manual RS232 Laser Merge Module. Document # SU-256521-09 Rev A

Software Manual RS232 Laser Merge Module. Document # SU-256521-09 Rev A Laser Merge Module Document # SU-256521-09 Rev A The information presented in this document is proprietary to Spectral Applied Research Inc. and cannot be used for any purpose other than that for which

More information

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

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

AN10850. LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode

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

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

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

DS1621 Digital Thermometer and Thermostat

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

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Objectives: Analyze the operation of sequential logic circuits. Understand the operation of digital counters.

More information

An Introduction To Simple Scheduling (Primarily targeted at Arduino Platform)

An Introduction To Simple Scheduling (Primarily targeted at Arduino Platform) An Introduction To Simple Scheduling (Primarily targeted at Arduino Platform) I'm late I'm late For a very important date. No time to say "Hello, Goodbye". I'm late, I'm late, I'm late. (White Rabbit in

More information

COMPUTER BASED REMOTE CONTROL FOR LAYOUT OF SCALED MODEL TRAINS

COMPUTER BASED REMOTE CONTROL FOR LAYOUT OF SCALED MODEL TRAINS COMPUTER BASED REMOTE CONTROL FOR LAYOUT OF SCALED MODEL TRAINS Ivan Ivanov Monov, Ivan Petrov Gorchev Technical University - Sofia, 8 Kliment Ohridski Blvd., Sofia 1000, Bulgaria, phone: +359 887 204488,

More information

Measuring, Controlling and Regulating with labworldsoft

Measuring, Controlling and Regulating with labworldsoft Kai-Oliver Linde IKA-Werke Staufen Neumagenstraße 27 79219 Staufen Measuring, Controlling and Regulating with labworldsoft Rapid and easy networking of lab devices from different manufacturers The user

More information

KEYWORDS: Cellphone, Braille language, Visually impaired people(vip), Microcontroller, Decoder, Latches, DC motors.

KEYWORDS: Cellphone, Braille language, Visually impaired people(vip), Microcontroller, Decoder, Latches, DC motors. IJESRT INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY CELLPHONE FOR VISUALLY IMPAIRED PEOPLE USING MICROCONTROLLER Akshay Baghmar*, Tousif Kazi, Prof. Nitin Deotale ABSTRACT The mobile

More information