ARM HOW-TO GUIDE Interfacing I2C-7SEG with LPC2148 ARM

Size: px
Start display at page:

Download "ARM HOW-TO GUIDE Interfacing I2C-7SEG with LPC2148 ARM"

Transcription

1 ARM HOW-TO GUIDE Interfacing I2C-7SEG with LPC2148 ARM

2 Contents at a Glance ARM7 LPC2148 Primer Board... 3 I2C (Inter Integrated Circuit)... 3 Seven Segment Display... 4 Interfacing I2C - Seven Segment Display... 4 Interfacing I2C Seven Segment with LPC Pin Assignment with LPC Circuit Diagram to Interface I2C 7 seg with LPC Source Code... 7 C Program to I2C 7 Segment Display using LPC Testing the I2C Seven segment with LPC General Information... 14

3 ARM7 LPC2148 Primer Board The ARM7 LPC2148 Primer board is specifically designed to help students to master the required skills in the area of embedded systems. The kit is designed in such way that all the possible features of the microcontroller will be easily used by the students. The kit supports in system programming (ISP) which is done through serial port. NXP s ARM7 (LPC2148), ARM Primer Kit is proposed to smooth the progress of developing and debugging of various designs encompassing of High speed 32-bit Microcontrollers. I2C (Inter Integrated Circuit) The I2C (Inter-IC) bus is a bi-directional two-wire serial bus that provides a communication link between integrated circuits (ICs).I2C is a synchronous protocol that allows a master device to initiate communication with a slave device. Data is exchanged between these devices.

4 Seven Segment Display A seven segment display is the most basic electronic display device that can display digits from 0-9. The most common configuration has an array of eight LEDs arranged in a special pattern to display these digits. They are laid out as a squared-off figure 8. Every LED is assigned a name from 'a' to 'h' and is identified by its name. Seven LEDs 'a' to 'g' are used to display the numerals while eighth LED 'h' is used to display the dot/decimal. Interfacing I2C - Seven Segment Display Fig. 1 shows how to interface the seven segments with microcontroller through I2C. I2C is a Master-Slave protocol. I2C has a clock pulse along with the data. Normally, the master device controls the clock line, SCL. This line dictates the timing of all transfers on the I2C bus. No data will be transferred unless the clock is manipulated. All slaves are controlled by the same clock, SCL.

5 A seven segment is generally available in ten pin package. While eight pins correspond to the eight LEDs, the remaining two pins (at middle) are common and internally shorted. These segments come in two configurations, namely, Common cathode (CC) and Common anode (CA). In CC configuration, the negative terminals of all LEDs are connected to the common pins. The common is connected to ground and a particular LED glows when its corresponding pin is given high. In CA arrangement, the common pin is given a high logic and the LED pins are given low to display a number. Fig. 1 Interfacing I2C - 7segment to Microcontroller

6 7-SEG Display Interfacing I2C Seven Segment with LPC2148 We now want to display a four digit number in LPC2148 Primer Board by using seven segment displays. The seven segment display is connected with LPC2148 controller through I2C. In LPC2148 Primer Kit, 4 nos. of common anode seven segment displays are controlled by I2C Enabled drivers. I2C Lines serial clock SCL (P0.2), serial data SDA (P0.3) connected to the I2C based 7-segment display driver. The digit select lines are (MX1, MX2) controlled by the driver chip. The 7-segmend display is powered from the 5V power supply enabled by switch SW28. Pin Assignment with LPC SEG Driver LPC2148 LINES 7-SEG PWR Selection SCL P0.2 SDA P0.3 Make switch SW28 to 7SEG label marking position +5V OFF SW PWR ON/OFF ON 7SEG LCD SM/RL GLCD

7 CA1 CA2 CA1 CA2 CA1 CA2 CA1 CA XTAL2 XTAL1 VREF VDD1 VDD2 VDD3 VDDA Circuit Diagram to Interface I2C 7 seg with LPC V 3V U16 VSS1 VSS2 VSS3 VSS4 VSS5 VSSA LPC2148 P0.3 P C11 2.7nF I2C 7-SEGMENT DISPLAY U ADR SCL 23 3 CEXT SDA 22 4 P8 P P7 P P6 P P5 P P4 P P3 P P2 P P1 P MX1 MX2 13 VEE VCC R40 10k 2_SEG7 2_SEG6 2_SEG5 2_SEG4 2_SEG3 2_SEG2 2_SEG1 2_SEG0 R41 10k C12 100n 12MHz SAA1064 C36 X13 C37 22pf 22pf 1 Q3 BC847AL BC847AL Q4 1 U9 1_SEG0 7 1_SEG1 6 A 1_SEG2 4 B 1_SEG3 2 C 1_SEG4 1 D 1_SEG5 9 E 1_SEG610 F 1_SEG7 5 G DP 7 SEG DISP U8 1_SEG0 7 1_SEG1 6 A 1_SEG2 4 B 1_SEG3 2 C 1_SEG4 1 D 1_SEG5 9 E 1_SEG610 F 1_SEG7 5 G DP U10 2_SEG0 7 2_SEG1 6 A 2_SEG2 4 B 2_SEG3 2 C 2_SEG4 1 D 2_SEG5 9 E 2_SEG6 10 F 2_SEG7 5 G DP U11 2_SEG0 2_SEG1 7 6 A 2_SEG2 2_SEG3 4 2 B C 2_SEG4 2_SEG5 1 9 D E 2_SEG6 2_SEG F G DP 7 SEG DISP 7 SEG DISP 7 SEG DISP Source Code The Interfacing I2C seven segment displays with LPC2148 program is very simple and straight forward, that display a four digit number in seven segment display by using I2C.The C programs are developed in Keil software.

8 C Program to I2C 7 Segment Display using LPC2148 *************************************************************************************** Title : Program to I2C - Seven Segment display *************************************************************************************** #include <LPC214x.h> #include <stdio.h> #define MAX 6 #define AA 2 #define SI 3 #define STO 4 #define STA 5 #define I2EN 6 void I2C_ISR(void) irq; void Wait (unsigned int); void I2C_Init (void); int I2C_Start (void); int I2C_Write (unsigned char *Buff, unsigned int Count); unsigned char Buff[] = 0x00,0x27,0x3F,0x06,0x5B,0x4F; unsigned char index = 0; void I2C_ISR(void) irq if (I2C0CONSET & 0x08) switch (I2C0STAT) case (0x08): I2C0CONCLR = 1 << STA; I2C0DAT = 0x70; //Slave Addr + W break;

9 case (0x10): break; I2C0CONCLR = 1 << STA; //Clear START Bit I2C0DAT = 0x70; case (0x18): break; I2C0CONCLR = 0x20; //Clear START Bit I2C0DAT = Buff[index]; index++; case (0x20): break; I2C0CONCLR = 0x20; //Clear START Bit I2C0DAT = Buff[index]; index++; case (0x28): break; I2C0CONCLR = 0x20; //Clear START Bit if (index < MAX) I2C0DAT = Buff[index]; index++; else index = 0; I2C0CONSET = 0x10; //Send STOP Bit

10 case (0x30): I2C0CONCLR = 0x20; //Clear START Bit if (index < MAX) I2C0DAT = Buff[index]; index++; else index = 0; I2C0CONSET = 0x10; //Send STOP Bit I2C_Start(); break; case (0x38): I2C0CONSET = 0x20; break; I2C0CONCLR = 1 << SI; VICVectAddr = 0x00; void main() unsigned int i; VPBDIV = 0x02; PINSEL0 = 0x ; // P0.3 - SDA0 & P0.2 - SCL0 U0LCR = 0x83; U0DLL = 97; U0DLM = 0x00; U0LCR = 0x03;

11 VICIntSelect = 0<<9; VICVectCntl0 = 0x020 9 ; VICVectAddr0 = (unsigned long)i2c_isr; VICIntEnable = 1<<9; I2C_Init(); I2C_Start (); for (i=0;i<30;i++) Wait(10000); I2C0CONCLR = 1 << SI; while(1) for (i=0;i<20;i++) Wait(10000); void Delay(void) unsigned int i,j; for(i=0;i<20;i++) for(j=0;j<200;j++); void Wait (unsigned int Delay) while(delay--); void I2C_Init (void) I2C0SCLH = 150; //50%duty,I2C Freq ->100KHz, PCLK = 30MHz I2C0SCLL = 150; I2C0CONSET = 1 << I2EN; //Enable I2C 0

12 int I2C_Start (void) I2C0CONCLR = 1 << STO; I2C0CONCLR = 1 << AA; I2C0CONSET = 1 << STA; return 0; int I2C_Write (unsigned char *Buff, unsigned int Count) while(count--) I2C0DAT = *Buff++; return 0; To compile the above C code you need the KEIL software. They must be properly set up and a project with correct settings must be created in order to compile the code. To compile the above code, the C file must be added to the project. In Keil, you want to develop or debug the project without any hardware setup. You must compile the code for generating HEX file. In debugging Mode, you want to check the port output without LPC2148 Primer Board. The Flash Magic software is used to download the hex file into your microcontroller IC LPC2148 through UART0.

13 Testing the I2C Seven segment with LPC2148 Give +3.3V power supply to LPC2148 Primer Board; the four seven segment display is connected with the LPC2148 Primer Board. First check the entire seven segments LED s are properly working or not. Here we are display just 1234 in four seven segment. The entire seven segments receive it through I2C & display it in order. If any data is not coming in seven segments, then you just check the entire seven segments LED s are working or not. Change the seven segment driver IC & Check the I2C connections. Check the four seven segments connections. Otherwise you just check the code with debugging mode in Keil. If you want to see more details about debugging just see the videos in below link. How to Create & Debug a Project in Keil.

14 General Information For proper working use the components of exact values as shown in Circuit file. Wherever possible use new components. Solder everything in a clean way. A major problem arises due to improper soldering, solder jumps and loose joints. Use the exact value crystal shown in schematic. More instructions are available in following articles, Interfacing UART with LPC2148 Microcontroller. Interfacing Keys with LPC2148 Microcontroller. User Manual of LPC2148 Primer Board. Tutorial of how to create & Debug a project in Keil.

15 Did you enjoy the read? Pantech solutions creates information packed technical documents like this one every month. And our website is a rich and trusted resource used by a vibrant online community of more than 1,00,000 members from organization of all shapes and sizes.

16 What do we sell? Our products range from Various Microcontroller development boards, DSP Boards, FPGA/CPLD boards, Communication Kits, Power electronics, Basic electronics, Robotics, Sensors, Electronic components and much more. Our goal is to make finding the parts and information you need easier and affordable so you can create awesome projects and training from Basic to Cutting edge technology.

ARM HOW-TO GUIDE Interfacing 7SEG with LPC2148 ARM

ARM HOW-TO GUIDE Interfacing 7SEG with LPC2148 ARM ARM HOW-TO GUIDE Interfacing 7SEG with LPC2148 ARM Contents at a Glance ARM7 LPC2148 Slicker Board... 3 Seven Segment Display... 3 Interfacing Seven Segment Display... 4 Interfacing Seven Segment with

More information

ARM HOW-TO GUIDE Interfacing GLCD with LPC2148 ARM

ARM HOW-TO GUIDE Interfacing GLCD with LPC2148 ARM ARM HOW-TO GUIDE Interfacing GLCD with LPC2148 ARM Contents at a Glance ARM7 LPC2148 Primer Board... 3 GLCD (Graphical Liquid Crystal Display)... 3 Interfacing GLCD... 4 Interfacing GLCD with LPC2148...

More information

ARM HOW-TO GUIDE Interfacing Relay with LPC2148 ARM

ARM HOW-TO GUIDE Interfacing Relay with LPC2148 ARM ARM HOW-TO GUIDE Interfacing Relay with LPC48 ARM Contents at a Glance ARM7 LPC48 Primer Board... Relay... Interfacing Relays... 4 Interfacing Relay with LPC48... 5 Pin Assignment with LPC48... 5 Circuit

More information

ARM HOW-TO GUIDE Interfacing Keypad with LPC2148 ARM

ARM HOW-TO GUIDE Interfacing Keypad with LPC2148 ARM ARM HOW-TO GUIDE Interfacing Keypad with LPC2148 ARM Contents at a Glance ARM7 LPC2148 Primer Board... 3 Keypad... 3 Interfacing keypad... 4 Interfacing keypad with LPC2148... 6 Pin Assignment with LPC2148...

More information

ARM HOW-TO GUIDE Interfacing Switch with LPC2148 ARM

ARM HOW-TO GUIDE Interfacing Switch with LPC2148 ARM ARM HOW-TO GUIDE Interfacing Switch with LPC48 ARM Contents at a Glance ARM7 LPC48 Primer Board... 3 Switch... 3 Interfacing Switch... 4 Interfacing Switch with LPC48... 5 Pin Assignment with LPC48...

More information

ARM HOW-TO GUIDE Interfacing Buzzer with LPC2148 ARM

ARM HOW-TO GUIDE Interfacing Buzzer with LPC2148 ARM ARM HOW-TO GUIDE Interfacing Buzzer with LPC2148 ARM Contents at a Glance ARM7 LPC2148 Primer Board... 3 Buzzer... 3 Interfacing Buzzer... 4 Interfacing Buzzer with LPC2148... 5 Pin Assignment with LPC2148...

More information

ARM HOW-TO GUIDE Interfacing Stepper Motor with LPC2148

ARM HOW-TO GUIDE Interfacing Stepper Motor with LPC2148 ARM HOW-TO GUIDE Interfacing Stepper Motor with LPC2148 Contents at a Glance ARM7 LPC2148 Slicker Board... 3 Stepper Motor... 3 Interfacing Stepper Motor... 4 Interfacing Stepper Motor with LPC2148...

More information

ARM HOW-TO GUIDE Interfacing GPS with LPC2148 ARM

ARM HOW-TO GUIDE Interfacing GPS with LPC2148 ARM ARM HOW-TO GUIDE Interfacing GPS with LPC2148 ARM Contents at a Glance ARM7 LPC2148 Primer Board... 3 GPS (Global Positioning Systems)... 3 Interfacing GPS... 4 Interfacing GPS with LPC2148... 5 Pin Assignment

More information

ARM HOW-TO GUIDE Interfacing GLCD with LPC2148 ARM

ARM HOW-TO GUIDE Interfacing GLCD with LPC2148 ARM ARM HOW-TO GUIDE Interfacing GLCD with LPC2148 ARM Contents at a Glance ARM7 LPC2148 Evaluation Board... 3 GLCD (Graphical Liquid Crystal Display)... 3 Interfacing GLCD... 4 Description of GLCD... 5 Interfacing

More information

I2C on the HMC6352 Compass

I2C on the HMC6352 Compass I 2 C Bus The I 2 C bus is a two-wire bus(plus ground) where the two wire are called SCL Clock line SDA Data line Gnd Ground line This is a synchronous bus. SCL is the synchronizing signal. SCL and SDA

More information

Texas Instruments Microcontroller HOW-TO GUIDE Interfacing Keypad with MSP430F5529

Texas Instruments Microcontroller HOW-TO GUIDE Interfacing Keypad with MSP430F5529 Texas Instruments Microcontroller HOW-TO GUIDE Interfacing Keypad with MSP430F5529 Contents at a Glance PS PRIMER MSP430 kit... 3 Keypad... 4 Interfacing keypad... 4 Interfacing keypad with MSP430F5529...

More information

8085 HOW-TO GUIDE Interfacing 8251 with 8085

8085 HOW-TO GUIDE Interfacing 8251 with 8085 8085 HOW-TO GUIDE Interfacing 8251 with 8085 Contents at a Glance 8085 Trainer Board... 3 8251 (USART)... 3 Interfacing 8251 with 8085... 4 Pin Assignment with 8051... 5 Circuit Diagram to Interface 8251

More information

17. I 2 C communication channel

17. I 2 C communication channel 17. I 2 C communication channel Sometimes sensors are distant to the microcontroller. In such case it might be impractical to send analog signal from the sensor to the ADC included in the microcontroller

More information

Interfacing Z8 Encore! XP MCUs with an I 2 C-Based Character LCD

Interfacing Z8 Encore! XP MCUs with an I 2 C-Based Character LCD Application Note Interfacing Z8 Encore! XP MCUs with an I 2 C-Based Character LCD AN014902-1207 Abstract This Application Note describes APIs for interfacing one or more I 2 C-based character LCDs with

More information

LPC1768 Industrial Reference Design Platform System Development Kit Version 1.3. May 2009

LPC1768 Industrial Reference Design Platform System Development Kit Version 1.3. May 2009 QuickStart Guide LPC1768 Industrial Reference Design Platform System Development Kit Version 1.3 May 2009 1.0 System Overview The LPC1768 Industrial Reference Design (IRD) is a platform targeted at RTOS

More information

The I2C BUS Interface

The I2C BUS Interface The I 2 C BUS Interface ARSLAB - Autonomous and Robotic Systems Laboratory Dipartimento di Matematica e Informatica - Università di Catania, Italy santoro@dmi.unict.it L.S.M. 1 Course What is I 2 C? I

More information

Theory of Operation STOP CONDITION

Theory of Operation STOP CONDITION AVR 300: Software I 2 C Master Interface Features Uses Interrupts Supports rmal And Fast Mode Supports Both 7-Bit and 10-Bit Addressing Supports the Entire AVR Microcontroller Family Introduction The need

More information

P89V51RD2 Development Board May 2010

P89V51RD2 Development Board May 2010 P89V51RD2 Development Board May 2010 NEX Robotics Pvt. Ltd. 1 P89V51RD2 Development Board Introduction: P89V51RD2 Development Board P89V51RD2 Development Board is a low cost development board which have

More information

1.3inch OLED User Manual

1.3inch OLED User Manual 1.3inch OLED User Manual 1. Key Parameters Table 1: Key Parameters Driver Chip SH1106 Interface 3-wire SPI 4-wire SPI I2C Resolution 128*64 Display Size 1.3 inch Dimension 29mm*33mm Colors Yellow, Blue

More information

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd. Display Real Time Clock (RTC) On LCD PR12 Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion

More information

KNJN I2C bus development boards

KNJN I2C bus development boards KNJN I2C bus development boards 2005, 2006, 2007, 2008 KNJN LLC http://www.knjn.com/ Document last revision on December 5, 2008 R22 KNJN I2C bus development boards Page 1 Table of Contents 1 The I2C bus...4

More information

DEV-1 HamStack Development Board

DEV-1 HamStack Development Board Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,

More information

LPC2468 Industrial Reference Design Platform System Development Kit Version 1.2. August 2008

LPC2468 Industrial Reference Design Platform System Development Kit Version 1.2. August 2008 QuickStart Guide LPC2468 Industrial Reference Design Platform System Development Kit Version 1.2 August 2008 1.0 System Overview The LPC2468 Industrial Reference Design (IRD) is a platform targeted at

More information

Write LED display data, in accordance with the address from the display from low to high, from low to high data byte operation.

Write LED display data, in accordance with the address from the display from low to high, from low to high data byte operation. The register stores transferred from an external device via the serial interface to the TM1637 data address 00H-05H bytes of six units, respectively, and SGE and GRID pin chip LED lights are connected

More information

Future Designs, Inc. Your Development Partner LCD DEMO KITS

Future Designs, Inc. Your Development Partner   LCD DEMO KITS Future Designs, Inc. Your Development Partner www.teamfdi.com LCD DEMO KITS LCD DEMO Kit Family LCD-DEMO-KIT LCD-DEMO-SC LCD-DEMO-LPC2158 LCD-DEMO-Family Each kit uses a multiplexed 8 digit liquid crystal

More information

LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580

LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580 LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F458 1. OBJECTIVES: 1.1 To learn how to interface LCD 16x2, Keypad 4x4 and 7Segment Display to the microcontroller. 1.2 To

More information

Using the I 2 C Interface on the ATmega328P and MC908JL16

Using the I 2 C Interface on the ATmega328P and MC908JL16 Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory Using the I 2 C Interface on the ATmega328P and MC908JL16 by Allan G. Weber 1 Introduction This document is

More information

VBattery 7 VCC V DD IRLED IS31SE5001 SDA SCL INTB SDB. Figure 1 Typical Application Circuit

VBattery 7 VCC V DD IRLED IS31SE5001 SDA SCL INTB SDB. Figure 1 Typical Application Circuit IR SENSOR FOR TOUCHLESS PROXIMITY July 2013 GENERAL DESCRIPTION The IS31SE5001 is a low-power, reflectance-based infrared light sensor with advanced signal processing and digital output. The sensor can

More information

I2C interface Tutorial

I2C interface Tutorial UG108: Praxis II January 2013 Asian Institute of Technology Undergraduate Program Handout: I2C interface Instructor: Chaiyaporn Silawatchananai, Matthew N. Dailey I2C interface Tutorial Introduction: In

More information

AN Interfacing Philips Bridge IC with Philips microcontroller. Document information

AN Interfacing Philips Bridge IC with Philips microcontroller. Document information AN0 Rev. 0 May 00 Application note Document information Info Keywords Abstract Content SCIS0 to PLPC, Bridge IC to microcontroller, serial interface The operation and description of Philips LPC00 Series

More information

Introduction the Serial Communications Parallel Communications Parallel Communications with Handshaking Serial Communications

Introduction the Serial Communications Parallel Communications Parallel Communications with Handshaking Serial Communications Introduction the Serial Communications Parallel Communications Parallel Communications with Handshaking Serial Communications o Asynchronous Serial (SCI, RS-232) o Synchronous Serial (SPI, IIC) The MC9S12

More information

BL24C02/BL24C04/BL24C08/BL24C16

BL24C02/BL24C04/BL24C08/BL24C16 BL24C02/BL24C04/BL24C08/BL24C16 2K bits (256 X 8) / 4K bits (512 X 8) / 8K bits (1024 X 8) / 16K bits (2048 X 8) Two-wire Serial EEPROM Features Two-wire Serial Interface VCC = 1.8V to 5.5V Bi-directional

More information

ICN12. I2C to UART Bridge, ADC,DAC and I/O

ICN12. I2C to UART Bridge, ADC,DAC and I/O Firmware version 1.4 Introduction ICN12 I2C to UART Bridge, ADC,DAC and I/O This is an I2C to UART bridge, designed to give an extra UART to a microcontroller when only I2C is available. It is an I2C device

More information

Lesson I2C. I²C (Inter-Integrated Circuit) Lab Assignment: I2C Slave Driver

Lesson I2C. I²C (Inter-Integrated Circuit) Lab Assignment: I2C Slave Driver Lesson I2C I²C (Inter-Integrated Circuit) Lab Assignment: I2C Slave Driver I²C (Inter-Integrated Circuit) What is I 2 C I2C is pronounced "eye-squared see". It is also known as "TWI" because of the initial

More information

Diploma in Embedded Systems

Diploma in Embedded Systems Diploma in Embedded Systems Duration: 5 Months[5 days a week,3 hours a day, Total 300 hours] Module 1: 8051 Microcontroller in Assemble Language Characteristics of Embedded System Overview of 8051 Family

More information

Introduction to I2C & SPI. Chapter 22

Introduction to I2C & SPI. Chapter 22 Introduction to I2C & SPI Chapter 22 Issues with Asynch. Communication Protocols Asynchronous Communications Devices must agree ahead of time on a data rate The two devices must also have clocks that are

More information

Introduction to 8051 microcontrollers

Introduction to 8051 microcontrollers Introduction to 8051 microcontrollers Posted on May 7, 2008, by Ibrahim KAMAL, in Micro-controllers, tagged This tutorial is specially tailored to electronics and robotics hobbyists that have already realized

More information

Embedded Workshop 10/28/15 Rusty Cain

Embedded Workshop 10/28/15 Rusty Cain 2 IC Embedded Workshop 10/28/15 Rusty Cain Set up for Workshop: Please Sign in on Sheet. Please include your email. While you are waiting for the Workshop to begin 1. Make sure you are connected to the

More information

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs. acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.) Module 0 Introduction Introduction to Embedded Systems, Real Time

More information

Evaluation board for NXP LPC2103. User Guide. Preliminary Version updated 27 th Aug TechToys Company All Rights Reserved

Evaluation board for NXP LPC2103. User Guide. Preliminary Version updated 27 th Aug TechToys Company All Rights Reserved Evaluation board for NXP LPC2103 User Guide 1 SOFTWARE Download from KEIL web site at http://www.keil.com/demo/ for ARM evaluation software. Limitations to this evaluation copy have been summarized on

More information

How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers

How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers APPLICATION NOTE How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers SABRINA D QUARLES APPLICATIONS ENGINEER April 1993 Order Number 272319-001 Information in this document

More information

um-fpu Application Note 8 Developing an I 2 C Interface for um-fpu V2

um-fpu Application Note 8 Developing an I 2 C Interface for um-fpu V2 um-fpu Application Note 8 Developing an I 2 C Interface for um-fpu V2 This application note describes a suggested method of developing support software for connecting a microcontroller to the um-fpu V2

More information

Parallel Data Transfer. Suppose you need to transfer data from one HCS12 to another. How can you do this?

Parallel Data Transfer. Suppose you need to transfer data from one HCS12 to another. How can you do this? Introduction the Serial Communications Huang Sections 9.2, 10.2, 11.2 SCI Block User Guide SPI Block User Guide IIC Block User Guide o Parallel vs Serial Communication o Synchronous and Asynchronous Serial

More information

ADC to I 2 C. Data Sheet. 10 Channel Analog to Digital Converter. with output via I 2 C

ADC to I 2 C. Data Sheet. 10 Channel Analog to Digital Converter. with output via I 2 C Data Sheet 10 Channel Analog to Digital Converter with output via I 2 C Introduction Many microcontroller projects involve the use of sensors like Accelerometers, Gyroscopes, Temperature, Compass, Barometric,

More information

Basic Input/Output Operations

Basic Input/Output Operations Basic Input/Output Operations Posted on May 9, 2008, by Ibrahim KAMAL, in Micro-controllers, tagged In this third part of the 89s52 tutorial, we are going to study the basic structure and configuration

More information

PCA9665; PCA9665A. 1. General description. 2. Features and benefits. Fm+ parallel bus to I 2 C-bus controller

PCA9665; PCA9665A. 1. General description. 2. Features and benefits. Fm+ parallel bus to I 2 C-bus controller Rev. 4 29 September 2011 Product data sheet 1. General description 2. Features and benefits The PCA9665/PCA9665A serves as an interface between most standard parallel-bus microcontrollers/microprocesss

More information

RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd.

RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd. PR8-B RFID: Read and Display V2010 Version 1.1 Sept 2010 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion

More information

NIOS CPU Based Embedded Computer System on Programmable Chip

NIOS CPU Based Embedded Computer System on Programmable Chip 1 Objectives NIOS CPU Based Embedded Computer System on Programmable Chip EE8205: Embedded Computer Systems This lab has been constructed to introduce the development of dedicated embedded system based

More information

5WG AA_1 TECHNICAL DATA. KNX-Processor 78F0534/2.5, 78F0535/2.5 and 78F0537/2.5. Features. Description. Order Numbers

5WG AA_1 TECHNICAL DATA. KNX-Processor 78F0534/2.5, 78F0535/2.5 and 78F0537/2.5. Features. Description. Order Numbers TECHNICAL DATA KNX-Processor 78F0534/2.5, 78F0535/2.5 and 78F0537/2.5 Features KNX Bus Processor for use on the application PCB for high volume production. Renesas 78K0/Kx2 microcontroller, contains the

More information

GIE 8051 Professional Kit. User Manual

GIE 8051 Professional Kit. User Manual GIE 8051 Professional Kit User Manual www.gie.com.my Page 1 of 9 Content Overview...3 Features...3 Function Block...4 Jumper Setting...4 Hardware Connection...5 Required Software...5 Install CH340 Driver

More information

E-Module: GLCD+RTC Combo Datasheet

E-Module: GLCD+RTC Combo Datasheet E-Module: GLCD+RTC Combo Datasheet v1.1 Copyright 2008 AIS Cube. All rights reserved. The FlamingICE(FI) and FIDE are either registered trademarks or trademarks of AIS Cube in Singapore and/or other countries.

More information

PIC Microcontroller Introduction

PIC Microcontroller Introduction PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.

More information

NFC NUTSHELL KIT. MCU Modules USER MANUAL REVISION GMMC GmbH Keywords Abstract. Document information

NFC NUTSHELL KIT. MCU Modules USER MANUAL REVISION GMMC GmbH   Keywords Abstract. Document information USER MANUAL REVISION 1.23 Document information Info Keywords Abstract Content User Manual GMMC This document describes how to use of the GMMC s NFC Nutshell KIT and its related tools GMMC GmbH www.gmmc-biz.com

More information

Microcontroller-based Traffic Light Controller. Faculty of Life Sciences & Computing. Communications Technology London Metropolitan University

Microcontroller-based Traffic Light Controller. Faculty of Life Sciences & Computing. Communications Technology London Metropolitan University Faculty of Life Sciences & Computing Communications Technology LONDON NORTH CAMPUS Microcontroller-based Traffic Light Controller Submitted 26/04/13 in partial fulfilment of the requirements for the Embedded

More information

Microcontrollers and Interfacing

Microcontrollers and Interfacing Microcontrollers and Interfacing Week 10 Serial communication with devices: Serial Peripheral Interconnect (SPI) and Inter-Integrated Circuit (I 2 C) protocols College of Information Science and Engineering

More information

Document status: Preliminary

Document status: Preliminary LPC1788-32 OEM Board Feature Highlights The LPC1788-32 OEM Board provides a quick and easy solution for implementing a high-performance ARM Cortex-M3 based design around the LPC1788 from NXP. Build around

More information

KNX-Processor 78F0534/2.5, 78F0535/2.5 and 78F0537/2.5

KNX-Processor 78F0534/2.5, 78F0535/2.5 and 78F0537/2.5 OEM- Product Catalogue TECHNICAL DATA Features KNX Bus Processor for use on the application PCB for high volume production. Renesas 78K0/Kx2 microcontroller, contains the KNX System 2.5 stack. Processor

More information

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9 Cerebot II Board Reference Manual Revision: September 14, 2007 Note: This document applies to REV B of the board. www.digilentinc.com 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview

More information

SILICON MICROSTRUCTURES

SILICON MICROSTRUCTURES Digital Communication with SM5800 Series Parts OVERVIEW The SM5800 series pressure product offers the corrected pressure output in both analog and digital formats. Accessing the analog output is an easy

More information

Lecture (03) PIC16F84 (2)

Lecture (03) PIC16F84 (2) Lecture (03) PIC16F84 (2) By: Dr. Ahmed ElShafee ١ PIC16F84 has a RISC architecture, or Harvard architecture in another word ٢ PIC16F84 belongs to a class of 8 bit microcontrollers of RISC architecture.

More information

Goal: We want to build an autonomous vehicle (robot)

Goal: We want to build an autonomous vehicle (robot) Goal: We want to build an autonomous vehicle (robot) This means it will have to think for itself, its going to need a brain Our robot s brain will be a tiny computer called a microcontroller Specifically

More information

KNJN I2C bus development boards

KNJN I2C bus development boards KNJN I2C bus development boards 2005, 2006, 2007, 2008 fpga4fun.com & KNJN LLC http://www.knjn.com/ Document last revision on January 1, 2008 R12 KNJN I2C bus development boards Page 1 Table of Contents

More information

The Atmel ATmega328P Microcontroller

The Atmel ATmega328P Microcontroller Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory 1 Introduction The Atmel ATmega328P Microcontroller by Allan G. Weber This document is a short introduction

More information

Electronics Construction Manual

Electronics Construction Manual Electronics Construction Manual MitchElectronics 2018 Version 1 07/05/2018 www.mitchelectronics.co.uk CONTENTS Introduction 3 How To Solder 4 Resistors 5 Capacitors 6 Diodes and LEDs 7 Switches 8 Transistors

More information

The IIC interface based on ATmega8 realizes the applications of PS/2 keyboard/mouse in the system

The IIC interface based on ATmega8 realizes the applications of PS/2 keyboard/mouse in the system Available online at www.sciencedirect.com Procedia Engineering 16 (2011 ) 673 678 International Workshop on Automobile, Power and Energy Engineering The IIC interface based on ATmega8 realizes the applications

More information

ecee NXP LPC 2138 ARM Development Board

ecee NXP LPC 2138 ARM Development Board ecee NXP LPC 38 ARM Development Board User Manual Rhydo Technologies (P) Ltd. (An ISO 900:008 Certified R&D Company) Golden Plaza, Chitoor Road, Cochin 6808, Kerala State, India Phone : 009-484-370444,

More information

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 8051 Intermidiate Development Board Product Manual Contents 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 1. Overview 2. Features The board is built on a high quality FR-4(1.6

More information

Getting Started with STK200 Dragon

Getting Started with STK200 Dragon Getting Started with STK200 Dragon Introduction This guide is designed to get you up and running with main software and hardware. As you work through it, there could be lots of details you do not understand,

More information

Pmod modules are powered by the host via the interface s power and ground pins.

Pmod modules are powered by the host via the interface s power and ground pins. 1300 Henley Court Pullman, WA 99163 509.334.6306 www.store. digilent.com Digilent Pmod Interface Specification 1.2.0 Revised October 5, 2017 1 Introduction The Digilent Pmod interface is used to connect

More information

Manual iaq-engine Indoor Air Quality sensor

Manual iaq-engine Indoor Air Quality sensor Manual iaq-engine, Version 2.0 May 2011 (all data subject to change without notice) Manual iaq-engine Indoor Air Quality sensor Digital and analog I/O SMD type package Product summary iaq-engine is used

More information

Standard EEPROM ICs. Interfacing SLx 24Cxx I 2 C-Bus Serial EEPROMs to 8051 Controller Family, especially to the Siemens C500 Controller Family

Standard EEPROM ICs. Interfacing SLx 24Cxx I 2 C-Bus Serial EEPROMs to 8051 Controller Family, especially to the Siemens C500 Controller Family Standard EEPROM ICs Interfacing SLx 24Cxx I 2 CBus Serial EEPROMs to 8051 Controller Family, especially to the Siemens C500 Controller Family Application Note 19990315 Interfacing SLx 24Cxx, Application

More information

NX-51 V2 plus experiment board Documentation 1. NX-51 V2 plus. P89V51RD2 microcontroller Eexperiment board. Documentation

NX-51 V2 plus experiment board Documentation 1. NX-51 V2 plus. P89V51RD2 microcontroller Eexperiment board. Documentation NX- V plus experiment board Documentation NX- V plus PVRD microcontroller Eexperiment board Documentation NX- V plus experiment board Documentation NX- V plus experiment board Documentation. About PVRD

More information

SPI (Serial & Peripheral Interface)

SPI (Serial & Peripheral Interface) SPI (Serial & Peripheral Interface) What is SPI SPI is a high-speed, full-duplex bus that uses a minimum of 3 wires to exchange data. The popularity of this bus rose when SD cards (and its variants ie:

More information

Bachelor of Engineering in Computer and Electronic Engineering

Bachelor of Engineering in Computer and Electronic Engineering Bachelor of Engineering in Computer and Electronic Engineering Computer Engineering 1 Year 2 Semester 3 Autumn 08 Niall O Keeffe Instructions to Candidates: - 2 hours duration Answer 4 out of 6 questions.

More information

DIGITAL HUMIDITY SENSOR HYT-131

DIGITAL HUMIDITY SENSOR HYT-131 Rights reserved for change in technical data! B+B Thermo-Technik GmbH Postfach 1748 D-78158 Donaueschingen Phone: +49 771 8316-622 Fax: +49 771 8316-629 DIGITAL HUMIDITY SENSOR 1. Features - On-Chip humidity

More information

ECE 4510/5530 Microcontroller Applications Week 10

ECE 4510/5530 Microcontroller Applications Week 10 ECE 4510/5530 Microcontroller Applications Week 10 Dr. Bradley J. Bazuin Associate Professor Department of Electrical and Computer Engineering College of Engineering and Applied Sciences ECE 4510/5530

More information

Shack Clock kit PCB Revision: QCU Rev 1 or QCU Rev 3

Shack Clock kit PCB Revision: QCU Rev 1 or QCU Rev 3 1. Introduction Shack Clock kit PCB Revision: QCU Rev 1 or QCU Rev 3 Thank you for purchasing this QRP Labs Shack Clock kit. The kit uses the same PCB and bag of components as some other QRP Labs kits.

More information

8051 Basic Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

8051 Basic Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 8051 Basic Development Board Product Manual Contents 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help 1. Overview 2. Features The board is built on a high quality FR-4(1.6

More information

Microcontroller basics

Microcontroller basics FYS3240 PC-based instrumentation and microcontrollers Microcontroller basics Spring 2017 Lecture #4 Bekkeng, 30.01.2017 Lab: AVR Studio Microcontrollers can be programmed using Assembly or C language In

More information

GRAVITECH GROUP

GRAVITECH GROUP GRAVITECH.US uresearch GRAVITECH GROUP Description The I2C-ADC board is a 14-pin CMOS device that provides 8-CH, 12-bit of Analog to Digital Converter (ADC) using I 2 C bus. There are no external components

More information

3.3V regulator. JA H-bridge. Doc: page 1 of 7

3.3V regulator. JA H-bridge. Doc: page 1 of 7 Digilent Cerebot Board Reference Manual Revision: 11/17/2005 www.digilentinc.com 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Digilent Cerebot Board is a useful tool for

More information

LPC1788 Mio Board. The functional details of the board are as follows-

LPC1788 Mio Board. The functional details of the board are as follows- INTRODUCTION : The LPC1788 Mio is based on Cortex M3 Core, running at up to 120MHz. The Mio lets you quickly start with your development on LPC1788 based designs. The functional details of the board are

More information

Functional block diagram AD53x1 (Analog Devices)

Functional block diagram AD53x1 (Analog Devices) Objectives - To read the A/D converter and turn the converted digital value back into an analogue voltage using an external D/A converter. The entire cycle including ADC and DAC is to be run at a fixed

More information

IMU Axis Gyro Evaluation Board Application Note

IMU Axis Gyro Evaluation Board Application Note IMU-3000 3-Axis Gyro Evaluation Board Application Note A printed copy of this document is NOT UNDER REVISION CONTROL unless it is dated and stamped in red ink as, REVISION CONTROLLED COPY. InvenSense,

More information

μrfid User Manual v1.00

μrfid User Manual v1.00 μrfid User Manual v1.00 Copyright 2008, ThaiEasyElec, All rights reserved Disclaimer: This document is intended only to assist the reader in the use of the product. ThaiEasyElec.com shall not be liable

More information

Finite State Machine Lab

Finite State Machine Lab Finite State Machine Module: Lab Procedures Goal: The goal of this experiment is to reinforce state machine concepts by having students design and implement a state machine using simple chips and a protoboard.

More information

GT24C02. 2-Wire. 2Kb Serial EEPROM (Smart Card application)

GT24C02. 2-Wire. 2Kb Serial EEPROM (Smart Card application) ADVANCED GT24C02 2-Wire 2Kb Serial EEPROM (Smart Card application) www.giantec-semi.com a0 1/19 Table of Content 1 FEATURES...3 2 DESCRIPTION...4 3 PIN CONFIGURATION...5 4 PIN DESCRIPTIONS...6 5 BLOCK

More information

Serial Peripheral Interface. What is it? Basic SPI. Capabilities. Protocol. Pros and Cons. Uses

Serial Peripheral Interface. What is it? Basic SPI. Capabilities. Protocol. Pros and Cons. Uses Serial Peripheral Interface What is it? Basic SPI Capabilities Protocol Serial Peripheral Interface http://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/ SPI_single_slave.svg/350px-SPI_single_slave.svg.png

More information

Breeze Board. Type A. User Manual.

Breeze Board. Type A. User Manual. Breeze Board Type A User Manual www.dizzy.co.za Contents Introduction... 3 Overview Top... 4 Overview Bottom... 5 Getting Started (Amicus Compiler)... 6 Power Circuitry... 7 USB... 8 Microcontroller...

More information

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5096 P-DIP-8-1

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5096 P-DIP-8-1 Nonvolatile Memory 4-Kbit E 2 PROM with I 2 C Bus Interface SDA 2546-5 Preliminary Data MOS IC Features Word-organized reprogrammable nonvolatile memory in n-channel floating-gate technology (E 2 PROM)

More information

keyestudio Keyestudio MEGA 2560 R3 Board

keyestudio Keyestudio MEGA 2560 R3 Board Keyestudio MEGA 2560 R3 Board Introduction: Keyestudio Mega 2560 R3 is a microcontroller board based on the ATMEGA2560-16AU, fully compatible with ARDUINO MEGA 2560 REV3. It has 54 digital input/output

More information

MicroBolt. Microcomputer/Controller Featuring the Philips LPC2106 FEATURES

MicroBolt. Microcomputer/Controller Featuring the Philips LPC2106 FEATURES Microcomputer/Controller Featuring the Philips LPC2106 FEATURES Powerful 60 MHz, 32-bit ARM processing core. Pin compatible with 24 pin Stamp-like controllers. Small size complete computer/controller with

More information

Demo 17 - Receiving data from Host through Serial Port. Introduction:

Demo 17 - Receiving data from Host through Serial Port. Introduction: Introduction: This demo program gives an idea about receiving data from the host using the serial port in asynchronous mode at 500 baud using serial port 0. The received data will be stored in the RAM

More information

Chapter 4. Enhancing ARM7 architecture by embedding RTOS

Chapter 4. Enhancing ARM7 architecture by embedding RTOS Chapter 4 Enhancing ARM7 architecture by embedding RTOS 4.1 ARM7 architecture 4.2 ARM7TDMI processor core 4.3 Embedding RTOS on ARM7TDMI architecture 4.4 Block diagram of the Design 4.5 Hardware Design

More information

NHD-C0216CiZ-FSW-FBW-3V3

NHD-C0216CiZ-FSW-FBW-3V3 NHD-C0216CiZ-FSW-FBW-3V3 COG (Chip-on-Glass) Liquid Crystal Display Module NHD- Newhaven Display C0216- COG, 2 Lines x 16 Characters CiZ- Model F- Transflective SW- Side White LED Backlight F- FSTN (+)

More information

CHAPTER 1 - World of microcontrollers

CHAPTER 1 - World of microcontrollers CHAPTER 1 - World of microcontrollers One Time Programmable ROM (OTP ROM) One time programmable ROM enables you to download a program into it, but, as its name states, one time only. If an error is detected

More information

A PIC-based LCD Display for Stand-Alone Instrumentation

A PIC-based LCD Display for Stand-Alone Instrumentation A PIC-based LCD Display for Stand-Alone Instrumentation Michael Case, Dr. Bruce E. Segee Department of Electrical and Computer Engineering University Of Maine Instrumentation Research Laboratory Session

More information

AVR Development Board

AVR Development Board AVR Development Board Campus Component Pvt. Ltd. DISCLAIMER Information furnished is believed to be accurate and reliable at the time of publication. However, Campus Component Pvt. Ltd. assumes no responsibility

More information

AN10210 Using the Philips 87LPC76x microcontroller as a remote control transmitter

AN10210 Using the Philips 87LPC76x microcontroller as a remote control transmitter CIRCUITS ITEGRATED CIRCUITS ABSTRACT This application note illustrates the use of an 87LPC76x microcontroller from Philips Semiconductors as an infrared RC5. Using the Philips 87LPC76x microcontroller

More information

IMM64M64D1SOD16AG (Die Revision D) 512MByte (64M x 64 Bit)

IMM64M64D1SOD16AG (Die Revision D) 512MByte (64M x 64 Bit) Product Specification Rev. 2.0 2015 IMM64M64D1SOD16AG (Die Revision D) 512MByte (64M x 64 Bit) 512MB DDR Unbuffered SO-DIMM RoHS Compliant Product Product Specification 2.0 1 IMM64M64D1SOD16AG Version:

More information