SlideShare a Scribd company logo
1 of 7
Download to read offline
International Journal of Engineering Research and Development
e-ISSN: 2278-067X, p-ISSN: 2278-800X, www.ijerd.com
Volume 6, Issue 8 (April 2013), PP. 46-52
46
Data Acquisition System Using Master – Slave
Communication through ATmega32A Microcontroller
Yadav Raghvendra Satyanarayan1
, Yadav Satyendra Satyanarayan2
1, 2
M.Tech, Instrumentation & Control Engineering,
Faculty of Technology Dharmsinh Desai University, Nadiad, Gujarat, India
Abstract:- This paper presents a data acquisition system using master – slave communication using
ATmega32A microcontroller. In this system, we can do the analog to digital conversion using slave
microcontrollers. Then by using SPI (Serial Peripheral Interface) protocol we can get that slave
microcontrollers data to the master microcontroller and save that analog to digital convertor data to the
master microcontroller memory. We can use those data for further processing.
Keywords:- ATmega32A microcontroller, Data Acquisition System, Analog to Digital Converter,
Master – Slave Communication, SPI (Serial Peripheral Interface) Protocol,
I. INTRODUCTION
As we know that this project is based on the data acquisition system so, it is necessary to understand
the data acquisition system first.[6] In data acquisition system there are number of stages involved as shown
below:
Fig.1: Block diagram of Data Acquisition System
Each stages of this Data Acquisition system described below:
A. Sensor
Sensor is a device which provides a usable output in response to a specified measurand. [1]
B. Signal Conditioning
This is a stage of data acquisition system which converts the analog signal coming from the sensors
into appropriate range of analog signal which is used for the analog to digital converter.
C. Analog Multiplexer
Multiplexer selects one of channel of analog signal from multiple analog signal channels.
D. Sample & Hold Circuit
Data Acquisition System Using Master – Slave Communication through….
47
This circuit simply doing the sampling of the analog signal and holding that analog signal at a constant
value for a specified period of time up to completion of the conversion of analog signal into digital, or we can
say it holds on to its last sampled value until the input is sampled again.[2]
E. Program Sequencer
This controls the timing of the selection of analog channel of multiplexer and timing of sample – hold
circuit and maintaining the perfect synchronization between these two circuits.
F. Analog to Digital Converter
This converts the analog signal into digital form.
I have used ATmega32A (AVR Family) microcontroller because it have in-built analog to digital converter and
it also supports the SPI protocol for communication. In SPI protocol, when the communication will establish
between two microcontrollers at that time one will work as master microcontroller and second as slave
microcontroller. In the microcontroller we can easily select one microcontroller as master and other as slave
microcontroller. SPI (Serial Peripheral Interface) is a synchronous serial data link that operates in full duplex
mode. SPI is four pins communication protocol which are MISO (Master In Slave Out), MOSI (Master Out
Slave In), SCK (Serial Clock) and SS (Slave Select) pins. [3]
We can add maximum 26 no. Of slaves for single master, but the circuitry becomes more complex so
we can use fewer slaves to communicate with the master microcontroller. The selection of slave is done by the
master by simply pull down (at zero voltage level) the pin PB4 (Active low “Slave Select” pin of ATmega32A)
of slave microcontroller. Each microcontroller has eight channel in-built analog to digital converter. Every slave
microcontrollers continuously do the analog to digital conversion of analog signals of different sensors. Sensors
includes such as temperature sensor, pressure sensor, motion sensor, displacement sensor or any other sensors.
Then each slave will store the A/D data into their individual memory. Then from the request of master the slave
will send that data using SPI protocol to the master.
II. HARDWARE
We have used ATmega32A microcontroller. It has advanced RISC (Reduced Instruction Set
Computing) architecture. It has 131 single cycle execution instructions. It has 32 KB of flash program memory,
1024 bytes EEPROM and 2 KB of SRAM. It has eight channel 10-bit ADC (Analog to Digital Converter) and
SPI interface for communication. The SFR’s (Special Function Register) related for the in-built ADC and SPI
are explained below:
A. ADC related SFR’s
The ADC related SFR’s are listed below: [4]
i) ADMUX – ADC Multiplexer Selection Register :
Bit 7:6 – REFS1:0 (Reference Selection) Bits: Select the voltage reference for the ADC, as shown in table. If
these bits are changed during a conversion, the change will not go in effect until this conversion is complete
(ADIF in ADCSRA is set).
TABLE I Voltage Reference Selections for ADC
REFS1 REFS0 Voltage Reference Selection
0 0 Aref, Internal Vref turned off
0 1 AVCC with external capacitor at Aref pin
1 0 Reserved
1 1 Internal 2.56V Voltage Reference at Aref pin
Bit 5 – ADLAR (ADC Left Adjust Result): This bit affects the presentation of the ADC conversion result in
the ADC Data Register. Write one to ADLAR to left adjust the result. Otherwise, the result is right adjusted.
Bits 4:0 – MUX4:0 (Analog Channel and Gain Selection Bits): The value of these bits selects, which
combination of analog inputs are connected to the ADC. These bits also select the gain for the differential
channels. If these bits are changed during a conversion, the change will not go in effect until this conversion is
complete (ADIF in ADCSRA is set).
ii) ADCSRA – ADC Control and Status Register :
Data Acquisition System Using Master – Slave Communication through….
48
Bit 7 – ADEN (ADC Enable): Writing this bit to one enables the ADC. By writing it to zero, the ADC is turned
off. Turning the ADC off while a conversion is in progress will terminate this conversion.
Bit 6 – ADSC (ADC Start Conversion): In Single Conversion mode, write this bit to one to start each
conversion. In Free Running Mode, write this bit to one to start the first conversion. ADSC will read as one as
long as a conversion is in progress. When the conversion is complete, it returns to zero. Writing zero to this bit
has no effect.
Bit 5 – ADATE (ADC Auto Trigger Enable): When this bit is written to one, Auto Triggering of the ADC is
enabled.
Bit 4 – ADIF (ADC Interrupt Flag): This bit is set when an ADC conversion completes and the Data
Registers are updated. The ADC Conversion Complete Interrupt is executed if the ADIE bit and the I-bit in
SREG are set.
Bit 3 – ADIE (ADC Interrupt Enable): When this bit is written to one, the ADC Conversion Complete
Interrupt is activated.
Bits 2:0 – ADPS2:0 (ADC Pre-scalar Select Bits): These bits determine the division factor between the XTAL
frequency and the input clock to the ADC.
iii) ADCL and ADCH – The ADC Data Register
iv) SFIOR – Special Function IO Register :
Bit 7:5 – ADTS2:0 (ADC Auto Trigger Source): If ADATE in ADCSRA is written to one, the value of these
bits selects which source will trigger an ADC conversion. If ADATE is cleared, the ADTS2:0 settings will have
no effect. A conversion will be triggered by the rising edge of the selected Interrupt Flag. Note that switching
from a trigger source that is cleared to a trigger source that is set will generate a positive edge on the trigger
signal.
B. SPI related SFR’s
The SPI related SFR’s are listed below: [5]
i) SPDR – SPI Data Register:
The SPI Data Register is a read/write register used for data transfer between the Register File and the SPI Shift
Register. Writing to the register initiates data transmission. Reading the register causes the Shift Register
Receive buffer to be read.
ii) SPCR - SPI Control Register:
Bit 7 – SPIE (SPI Interrupt Enable): This bit causes the SPI interrupt to be executed if SPIF bit in the SPSR
Register is set and if the global interrupt enable bit in SREG is set.
Bit 6 – SPE (SPI Enable): When the SPE bit is written to one, the SPI is enabled. This bit must be set to enable
any SPI operations.
Bit 5 – DORD (Data Order): When the DORD bit is written to one, the LSB of the data word is transmitted
first. When the DORD bit is written to zero, the MSB of the data word is transmitted first.
Bit 4 – MSTR (Master/Slave Select): This bit selects Master SPI mode when written to one and Slave SPI
mode when written logic zero. If SS is configured as an input and is driven low while MSTR is set, MSTR will
be cleared, and SPIF in SPSR will become set. The user will then have to set MSTR to re-enable SPI Master
mode.
Bit 3 – CPOL (Clock Polarity): When this bit is written to one, SCK is high when idle. When CPOL is written
to zero, SCK is low when idle.
Data Acquisition System Using Master – Slave Communication through….
49
Bit 2 – CPHA (Clock Phase): The settings of the Clock Phase bit (CPHA) determine if data is sampled on the
leading (first) or trailing (last) edge of SCK.
Bits 1,0 – SPR1,SPR0 (SPI Clock Rate Select 1 and 0): These two bits control the SCK rate of the device
configured as a Master. SPR1 and SPR0 have no effect on the Slave. The relationship between SCK and the
Oscillator Clock frequency “fosc” is shown in the TABLE II. This SPI clock is also controlled by another bit of
SPSR (SPI Status Register) which controls the speed of the SPI. That bit named as SPI2X, which increase the
SPI speed doubles.
TABLE II Relationship between SCK and the Oscillator Frequency
SCK Frequency SPI2X SPR1 SPR0
Fosc/4 0 0 0
Fosc/16 0 0 1
Fosc/64 0 1 0
Fosc/128 0 1 1
Fosc/2 1 0 0
Fosc/8 1 0 1
Fosc/32 1 1 0
Fosc/64 1 1 1
iii) SPSR – SPI Status Register :
Bit 7 – SPIF (SPI Interrupt Flag): When a serial transfer is complete, the SPIF Flag is set. An interrupt is
generated if SPIE in SPCR is set and global interrupts are enabled. If SS is an input and is driven low when the
SPI is in Master mode, this will also set the SPIF Flag. SPIF is cleared by hardware when executing the
corresponding interrupt handling vector. Alternatively, the SPIF bit is cleared by first reading the SPI Status
Register with SPIF set, then accessing the SPI Data Register (SPDR).
Bit 6 – WCOL (Write Collision Flag): The WCOL bit is set if the SPI Data Register (SPDR) is written during
a data transfer. The WCOL bit (and the SPIF bit) is cleared by first reading the SPI Status Register with WCOL
set, and then accessing the SPI Data Register.
Bit 5:1 – Reserved Bits: These bits are reserved bits in the ATmega32A and will always read as zero.
Bit 0 – SPI2X (Double SPI Speed Bit): When this bit is written logic one the SPI speed (SCK Frequency) will
be doubled when the SPI is in Master mode (see Table II). This means that the minimum SCK period will be
two CPU clock periods. When the SPI is configured as Slave, the SPI is only guaranteed to work at fosc/4 or
lower.
III. SYSTEM DEVELOPMENT
As we have already discussed that using SPI protocol this system has been developed. From the block
diagram of system we can understand that what is happening in the system. As shown in figure the master as
well as slave we have used same chip ATmega32A microcontroller. In this system we have used only two slaves
which are doing the ADC of analog signals and then transfer that ADC data to the master using SPI protocol. In
this system we have used LCD for display of A/D converted data. We can also use the RS232 communication
using USART communication between master and a PC and we can directly log the data to the PC and we can
store it also. We can also connect the master with other interfaces IC’s using SPI protocol such as external ADC
IC’s such as MCP3202, DS1307 real time clock IC etc. For this we have developed PCB for this project. In
which, single PCB can use as master as well as slave also. Means a single design of PCB we can use for both
master as well as slave.
To develop the PCB we have used “ARES Professional” software which is very easy for developing
the PCB layout as well as PCB schematic for any microcontroller based project or other small projects. We have
developed single layer as well as double layer PCB for this project. After developing the PCB and mounting all
the components the next stage of this project is to develop the programming for the master as well as slave
microcontroller.
Data Acquisition System Using Master – Slave Communication through….
50
Fig.2: Block diagram of Data Acquisition system using Master-Slave Communication
The above figure is block diagram of the project. As we have already discussed above in this one
controller works as master and others are works as slave. From above figure we can say that analog signals are
given to the slave’s in-built A/D converter that transfers those data to the master using SPI protocol. For that we
must have to do the programming for master as well as for slave microcontroller also. For that, we have used
“AVR Studio 4” assembler to do the programming of the microcontrollers. We have used Sunrom’s ICSP (In-
Circuit Serial Programmer) for programming of microcontroller.
That programmer is also based on the SPI protocol and according to that it selects a microcontroller as
slave and loads the program into microcontroller’s flash memory. This programmer we can use for the most of
AVR Family of the Atmel microcontrollers. It is available with the USB connector so we can use it with our
laptops easily and anywhere.
For developing of this project we have used as hardwares are ATmega32A microcontroller, ICSP
programmer as well as different types of sensors, which are generating electrical signal according to the change
in measurand. Basically power supply is basic need of any project so, we have also used the +5V power supply
to power up the microcontroller. We have used temperature sensor (LM35) as sensor to get the analog signal
according to the temperature of its surrounding area. After developing of system, the next objective is
programming and for that the flow chart of programming is necessary.
IV. FLOW CHART
Flowchart is the first requirement for developing the programming for any application for any
microcontroller. As shown in Fig.3 the flowchart indicates the way or direction of the program. For this project
the first requirement is initialization of LCD using program. We can connect the LCD with master or with slave
as per our requirement. We have connected the LCD with the master controller. After that we have to select the
controller as master or slave, for that we have to write “1” at the bit of “MSTR” of “SPCR” SFR of the
controller, for other we will write zero so that controller will selects as slave.
As we have informed above that the programming for master as well as slave are different that we can
see from the flowchart of programming. By using programming skills we can easily make a program which is
suitable for every slave controller. In that, master will simply polling all slaves one by one to get the ADC data
of each slave. At that time each slave other than that slave (which is connected with the master using SPI
protocol) will do the A/D conversion and store that A/D conversion data into their individual memory.
Then master will select a slave for getting that ADC data, that time the slave will transmit that data to
the master. If we use the RS232 communication using USART port of microcontroller we can directly get that
data to the screen of PC and we can also do some further processing according to our requirement. We can also
add the programming for the RS232 communication. We have only use the LCD for data display of the ADC of
slave controllers.
Data Acquisition System Using Master – Slave Communication through….
51
Fig.3: Flowchart of programming of Data acquisition System using Master – Slave communication
V. CONCLUSIONS
This system is useful for the data acquisition process. We can use this system into home automation
field as well as into building automation application. As this is based on SPI protocol we can also use Zig-Bee
as slave and we can develop a wireless network using multiple Zig-Bees as slave of the master microcontroller.
This is very useful for the less number of analog inputs, instead of plc for the same process. We can
communicate with microcontroller or log the digital data of the microcontroller using Ethernet module. Using
this module we can see the data of the process as well as we can control the process using internet connection.
For complex number of analog inputs this system requires more programming of the master microcontroller,
which requires more time as well as more knowledge and management of the programming.
Data Acquisition System Using Master – Slave Communication through….
52
REFERENCES
[1]. D. Patranabis, Sensors and Transducers, 2nd
Edition, Prentice – Hall of India (PHI) Publication, New
Delhi, 2007.
[2]. Ramakant A. Gayakwad, Op-Amps and Linear Integrated Circuits, 4th
Edition, Prentice – Hall of India
(PHI) Publication, New Delhi,2007.
[3]. Archana Ramesh R, M.S.R.Sekhar, “Design and Verification of Serial Peripheral Interface using
OVM”, International Journal of Electronics Communication and Computer Technology (IJECCT),
Volume 2, Issue 6 (November 2012), pp. 267-269.
[4]. “Datasheet of ATmega32A Microcontroller”, “Analog to Digital Converter”, www.alldatasheet.com
and www.atmel.com, pp.209-227.
[5]. “Datasheet of ATmega32A Microcontroller”, “Serial Peripheral Interface”, www.alldatasheet.com and
www.atmel.com, pp.138-146.
[6]. Shaikh Yusuf H., Khan A. R and Behere S. H, “AVR Microcontroller Based Data Acquisition System
for Laboratory Experiments”, Advances in Applied Science Research, 2012, 3 (1), pp. 208-215.

More Related Content

What's hot

Spi in arm7(lpc2148)
Spi in arm7(lpc2148)Spi in arm7(lpc2148)
Spi in arm7(lpc2148)Aarav Soni
 
Serial Communication
Serial CommunicationSerial Communication
Serial CommunicationUshaRani289
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC MicrocontrollerDivya Bansal
 
I2c protocol - Inter–Integrated Circuit Communication Protocol
I2c protocol - Inter–Integrated Circuit Communication ProtocolI2c protocol - Inter–Integrated Circuit Communication Protocol
I2c protocol - Inter–Integrated Circuit Communication ProtocolAnkur Soni
 
Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]Guhan k
 
I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)Varun Mahajan
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051hello_priti
 
8051 microcontroller and it’s interface
8051 microcontroller and it’s interface8051 microcontroller and it’s interface
8051 microcontroller and it’s interfaceAbhishek Choksi
 
Serial Io
Serial IoSerial Io
Serial IoAisu
 
Serial communication in 8085
Serial communication in 8085Serial communication in 8085
Serial communication in 8085Nitin Ahire
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communicationasteriskbimal
 
Inter intergrated circuits-communication protocol
Inter intergrated circuits-communication protocolInter intergrated circuits-communication protocol
Inter intergrated circuits-communication protocolRevathi Subramaniam
 
Serial peripheral Interface - Embedded System Protocol
Serial peripheral Interface - Embedded System ProtocolSerial peripheral Interface - Embedded System Protocol
Serial peripheral Interface - Embedded System ProtocolAditya Porwal
 
Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral InterfaceChirag Parikh
 
Analog to Digital converter in ARM
Analog to Digital converter in ARMAnalog to Digital converter in ARM
Analog to Digital converter in ARMAarav Soni
 

What's hot (20)

Spi in arm7(lpc2148)
Spi in arm7(lpc2148)Spi in arm7(lpc2148)
Spi in arm7(lpc2148)
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
PIC Microcontroller
PIC MicrocontrollerPIC Microcontroller
PIC Microcontroller
 
Serial1
Serial1Serial1
Serial1
 
I2c protocol - Inter–Integrated Circuit Communication Protocol
I2c protocol - Inter–Integrated Circuit Communication ProtocolI2c protocol - Inter–Integrated Circuit Communication Protocol
I2c protocol - Inter–Integrated Circuit Communication Protocol
 
SPI Bus Protocol
SPI Bus ProtocolSPI Bus Protocol
SPI Bus Protocol
 
Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]
 
I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
 
SPI Protocol in LPC2148
SPI  Protocol in LPC2148SPI  Protocol in LPC2148
SPI Protocol in LPC2148
 
8051 microcontroller and it’s interface
8051 microcontroller and it’s interface8051 microcontroller and it’s interface
8051 microcontroller and it’s interface
 
8051 serial communication-UART
8051 serial communication-UART8051 serial communication-UART
8051 serial communication-UART
 
The I2C Interface
The I2C InterfaceThe I2C Interface
The I2C Interface
 
Serial Io
Serial IoSerial Io
Serial Io
 
Serial communication in 8085
Serial communication in 8085Serial communication in 8085
Serial communication in 8085
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
 
Inter intergrated circuits-communication protocol
Inter intergrated circuits-communication protocolInter intergrated circuits-communication protocol
Inter intergrated circuits-communication protocol
 
Serial peripheral Interface - Embedded System Protocol
Serial peripheral Interface - Embedded System ProtocolSerial peripheral Interface - Embedded System Protocol
Serial peripheral Interface - Embedded System Protocol
 
Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral Interface
 
Analog to Digital converter in ARM
Analog to Digital converter in ARMAnalog to Digital converter in ARM
Analog to Digital converter in ARM
 

Viewers also liked

Viewers also liked (7)

Power point presenttation seminar
Power point presenttation seminarPower point presenttation seminar
Power point presenttation seminar
 
Counting people
Counting peopleCounting people
Counting people
 
Electronics counter
Electronics counterElectronics counter
Electronics counter
 
LDR Counter
LDR CounterLDR Counter
LDR Counter
 
Visitor counter
Visitor counterVisitor counter
Visitor counter
 
2 Digit Object counter
2 Digit Object counter2 Digit Object counter
2 Digit Object counter
 
Visitor counter
Visitor counterVisitor counter
Visitor counter
 

Similar to Welcome to International Journal of Engineering Research and Development (IJERD)

AREA OPTIMIZATION OF SPI MODULE USING VERILOG HDL
AREA OPTIMIZATION OF SPI MODULE USING VERILOG HDLAREA OPTIMIZATION OF SPI MODULE USING VERILOG HDL
AREA OPTIMIZATION OF SPI MODULE USING VERILOG HDLIAEME Publication
 
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarGauravRaikar3
 
An Overview of LPC2101/02/03
An Overview of LPC2101/02/03An Overview of LPC2101/02/03
An Overview of LPC2101/02/03Premier Farnell
 
project report on embedded system
project report on embedded systemproject report on embedded system
project report on embedded systemram avtar
 
UNIT-V (PIC16F877-Microcontrollers).pdf
UNIT-V (PIC16F877-Microcontrollers).pdfUNIT-V (PIC16F877-Microcontrollers).pdf
UNIT-V (PIC16F877-Microcontrollers).pdfdhiyasrinivasan112
 
ATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxaartis110
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and RoboticsNIT Raipur
 
Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310DHEERAJ DHAKAR
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 808582338476
 
Industrial training report of embedded system and robotics
Industrial training report of embedded system and roboticsIndustrial training report of embedded system and robotics
Industrial training report of embedded system and roboticsPallavi Bharti
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085ShivamSood22
 
Design and Fabrication of 4-bit processor
Design and Fabrication of  4-bit processorDesign and Fabrication of  4-bit processor
Design and Fabrication of 4-bit processorPriyatham Bollimpalli
 
ACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CARACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CARHarshit Jain
 

Similar to Welcome to International Journal of Engineering Research and Development (IJERD) (20)

Assembler4
Assembler4Assembler4
Assembler4
 
AREA OPTIMIZATION OF SPI MODULE USING VERILOG HDL
AREA OPTIMIZATION OF SPI MODULE USING VERILOG HDLAREA OPTIMIZATION OF SPI MODULE USING VERILOG HDL
AREA OPTIMIZATION OF SPI MODULE USING VERILOG HDL
 
Btp Midsem
Btp MidsemBtp Midsem
Btp Midsem
 
PIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikarPIC 16F877 micro controller by Gaurav raikar
PIC 16F877 micro controller by Gaurav raikar
 
An Overview of LPC2101/02/03
An Overview of LPC2101/02/03An Overview of LPC2101/02/03
An Overview of LPC2101/02/03
 
project report on embedded system
project report on embedded systemproject report on embedded system
project report on embedded system
 
UNIT-V (PIC16F877-Microcontrollers).pdf
UNIT-V (PIC16F877-Microcontrollers).pdfUNIT-V (PIC16F877-Microcontrollers).pdf
UNIT-V (PIC16F877-Microcontrollers).pdf
 
ATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptxATmegaMicrocontrollerArchitecturenotes.pptx
ATmegaMicrocontrollerArchitecturenotes.pptx
 
Lab3
Lab3Lab3
Lab3
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and Robotics
 
Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310Microprocessorlabmanual ee0310
Microprocessorlabmanual ee0310
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 8085
 
Industrial training report of embedded system and robotics
Industrial training report of embedded system and roboticsIndustrial training report of embedded system and robotics
Industrial training report of embedded system and robotics
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systems
 
Ju2416921695
Ju2416921695Ju2416921695
Ju2416921695
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
Design and Fabrication of 4-bit processor
Design and Fabrication of  4-bit processorDesign and Fabrication of  4-bit processor
Design and Fabrication of 4-bit processor
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
ACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CARACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CAR
 
Introduction to PIC.pptx
Introduction to PIC.pptxIntroduction to PIC.pptx
Introduction to PIC.pptx
 

More from IJERD Editor

A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service AttacksA Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service AttacksIJERD Editor
 
MEMS MICROPHONE INTERFACE
MEMS MICROPHONE INTERFACEMEMS MICROPHONE INTERFACE
MEMS MICROPHONE INTERFACEIJERD Editor
 
Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Influence of tensile behaviour of slab on the structural Behaviour of shear c...Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Influence of tensile behaviour of slab on the structural Behaviour of shear c...IJERD Editor
 
Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’IJERD Editor
 
Reducing Corrosion Rate by Welding Design
Reducing Corrosion Rate by Welding DesignReducing Corrosion Rate by Welding Design
Reducing Corrosion Rate by Welding DesignIJERD Editor
 
Router 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationRouter 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationIJERD Editor
 
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...IJERD Editor
 
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVRMitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVRIJERD Editor
 
Study on the Fused Deposition Modelling In Additive Manufacturing
Study on the Fused Deposition Modelling In Additive ManufacturingStudy on the Fused Deposition Modelling In Additive Manufacturing
Study on the Fused Deposition Modelling In Additive ManufacturingIJERD Editor
 
Spyware triggering system by particular string value
Spyware triggering system by particular string valueSpyware triggering system by particular string value
Spyware triggering system by particular string valueIJERD Editor
 
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...IJERD Editor
 
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid SchemeSecure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid SchemeIJERD Editor
 
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...IJERD Editor
 
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web CameraGesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web CameraIJERD Editor
 
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...IJERD Editor
 
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...IJERD Editor
 
Moon-bounce: A Boon for VHF Dxing
Moon-bounce: A Boon for VHF DxingMoon-bounce: A Boon for VHF Dxing
Moon-bounce: A Boon for VHF DxingIJERD Editor
 
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...IJERD Editor
 
Importance of Measurements in Smart Grid
Importance of Measurements in Smart GridImportance of Measurements in Smart Grid
Importance of Measurements in Smart GridIJERD Editor
 
Study of Macro level Properties of SCC using GGBS and Lime stone powder
Study of Macro level Properties of SCC using GGBS and Lime stone powderStudy of Macro level Properties of SCC using GGBS and Lime stone powder
Study of Macro level Properties of SCC using GGBS and Lime stone powderIJERD Editor
 

More from IJERD Editor (20)

A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service AttacksA Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
 
MEMS MICROPHONE INTERFACE
MEMS MICROPHONE INTERFACEMEMS MICROPHONE INTERFACE
MEMS MICROPHONE INTERFACE
 
Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Influence of tensile behaviour of slab on the structural Behaviour of shear c...Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Influence of tensile behaviour of slab on the structural Behaviour of shear c...
 
Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’
 
Reducing Corrosion Rate by Welding Design
Reducing Corrosion Rate by Welding DesignReducing Corrosion Rate by Welding Design
Reducing Corrosion Rate by Welding Design
 
Router 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationRouter 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and Verification
 
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
 
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVRMitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
 
Study on the Fused Deposition Modelling In Additive Manufacturing
Study on the Fused Deposition Modelling In Additive ManufacturingStudy on the Fused Deposition Modelling In Additive Manufacturing
Study on the Fused Deposition Modelling In Additive Manufacturing
 
Spyware triggering system by particular string value
Spyware triggering system by particular string valueSpyware triggering system by particular string value
Spyware triggering system by particular string value
 
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
 
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid SchemeSecure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
 
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
 
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web CameraGesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
 
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
 
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
 
Moon-bounce: A Boon for VHF Dxing
Moon-bounce: A Boon for VHF DxingMoon-bounce: A Boon for VHF Dxing
Moon-bounce: A Boon for VHF Dxing
 
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
 
Importance of Measurements in Smart Grid
Importance of Measurements in Smart GridImportance of Measurements in Smart Grid
Importance of Measurements in Smart Grid
 
Study of Macro level Properties of SCC using GGBS and Lime stone powder
Study of Macro level Properties of SCC using GGBS and Lime stone powderStudy of Macro level Properties of SCC using GGBS and Lime stone powder
Study of Macro level Properties of SCC using GGBS and Lime stone powder
 

Recently uploaded

Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
Non Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxNon Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxAbhayThakur200703
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024christinemoorman
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Tina Ji
 
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...lizamodels9
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc.../:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...lizamodels9
 

Recently uploaded (20)

Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
Non Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptxNon Text Magic Studio Magic Design for Presentations L&P.pptx
Non Text Magic Studio Magic Design for Presentations L&P.pptx
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Best Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting PartnershipBest Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting Partnership
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
 
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc.../:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
/:Call Girls In Jaypee Siddharth - 5 Star Hotel New Delhi ➥9990211544 Top Esc...
 

Welcome to International Journal of Engineering Research and Development (IJERD)

  • 1. International Journal of Engineering Research and Development e-ISSN: 2278-067X, p-ISSN: 2278-800X, www.ijerd.com Volume 6, Issue 8 (April 2013), PP. 46-52 46 Data Acquisition System Using Master – Slave Communication through ATmega32A Microcontroller Yadav Raghvendra Satyanarayan1 , Yadav Satyendra Satyanarayan2 1, 2 M.Tech, Instrumentation & Control Engineering, Faculty of Technology Dharmsinh Desai University, Nadiad, Gujarat, India Abstract:- This paper presents a data acquisition system using master – slave communication using ATmega32A microcontroller. In this system, we can do the analog to digital conversion using slave microcontrollers. Then by using SPI (Serial Peripheral Interface) protocol we can get that slave microcontrollers data to the master microcontroller and save that analog to digital convertor data to the master microcontroller memory. We can use those data for further processing. Keywords:- ATmega32A microcontroller, Data Acquisition System, Analog to Digital Converter, Master – Slave Communication, SPI (Serial Peripheral Interface) Protocol, I. INTRODUCTION As we know that this project is based on the data acquisition system so, it is necessary to understand the data acquisition system first.[6] In data acquisition system there are number of stages involved as shown below: Fig.1: Block diagram of Data Acquisition System Each stages of this Data Acquisition system described below: A. Sensor Sensor is a device which provides a usable output in response to a specified measurand. [1] B. Signal Conditioning This is a stage of data acquisition system which converts the analog signal coming from the sensors into appropriate range of analog signal which is used for the analog to digital converter. C. Analog Multiplexer Multiplexer selects one of channel of analog signal from multiple analog signal channels. D. Sample & Hold Circuit
  • 2. Data Acquisition System Using Master – Slave Communication through…. 47 This circuit simply doing the sampling of the analog signal and holding that analog signal at a constant value for a specified period of time up to completion of the conversion of analog signal into digital, or we can say it holds on to its last sampled value until the input is sampled again.[2] E. Program Sequencer This controls the timing of the selection of analog channel of multiplexer and timing of sample – hold circuit and maintaining the perfect synchronization between these two circuits. F. Analog to Digital Converter This converts the analog signal into digital form. I have used ATmega32A (AVR Family) microcontroller because it have in-built analog to digital converter and it also supports the SPI protocol for communication. In SPI protocol, when the communication will establish between two microcontrollers at that time one will work as master microcontroller and second as slave microcontroller. In the microcontroller we can easily select one microcontroller as master and other as slave microcontroller. SPI (Serial Peripheral Interface) is a synchronous serial data link that operates in full duplex mode. SPI is four pins communication protocol which are MISO (Master In Slave Out), MOSI (Master Out Slave In), SCK (Serial Clock) and SS (Slave Select) pins. [3] We can add maximum 26 no. Of slaves for single master, but the circuitry becomes more complex so we can use fewer slaves to communicate with the master microcontroller. The selection of slave is done by the master by simply pull down (at zero voltage level) the pin PB4 (Active low “Slave Select” pin of ATmega32A) of slave microcontroller. Each microcontroller has eight channel in-built analog to digital converter. Every slave microcontrollers continuously do the analog to digital conversion of analog signals of different sensors. Sensors includes such as temperature sensor, pressure sensor, motion sensor, displacement sensor or any other sensors. Then each slave will store the A/D data into their individual memory. Then from the request of master the slave will send that data using SPI protocol to the master. II. HARDWARE We have used ATmega32A microcontroller. It has advanced RISC (Reduced Instruction Set Computing) architecture. It has 131 single cycle execution instructions. It has 32 KB of flash program memory, 1024 bytes EEPROM and 2 KB of SRAM. It has eight channel 10-bit ADC (Analog to Digital Converter) and SPI interface for communication. The SFR’s (Special Function Register) related for the in-built ADC and SPI are explained below: A. ADC related SFR’s The ADC related SFR’s are listed below: [4] i) ADMUX – ADC Multiplexer Selection Register : Bit 7:6 – REFS1:0 (Reference Selection) Bits: Select the voltage reference for the ADC, as shown in table. If these bits are changed during a conversion, the change will not go in effect until this conversion is complete (ADIF in ADCSRA is set). TABLE I Voltage Reference Selections for ADC REFS1 REFS0 Voltage Reference Selection 0 0 Aref, Internal Vref turned off 0 1 AVCC with external capacitor at Aref pin 1 0 Reserved 1 1 Internal 2.56V Voltage Reference at Aref pin Bit 5 – ADLAR (ADC Left Adjust Result): This bit affects the presentation of the ADC conversion result in the ADC Data Register. Write one to ADLAR to left adjust the result. Otherwise, the result is right adjusted. Bits 4:0 – MUX4:0 (Analog Channel and Gain Selection Bits): The value of these bits selects, which combination of analog inputs are connected to the ADC. These bits also select the gain for the differential channels. If these bits are changed during a conversion, the change will not go in effect until this conversion is complete (ADIF in ADCSRA is set). ii) ADCSRA – ADC Control and Status Register :
  • 3. Data Acquisition System Using Master – Slave Communication through…. 48 Bit 7 – ADEN (ADC Enable): Writing this bit to one enables the ADC. By writing it to zero, the ADC is turned off. Turning the ADC off while a conversion is in progress will terminate this conversion. Bit 6 – ADSC (ADC Start Conversion): In Single Conversion mode, write this bit to one to start each conversion. In Free Running Mode, write this bit to one to start the first conversion. ADSC will read as one as long as a conversion is in progress. When the conversion is complete, it returns to zero. Writing zero to this bit has no effect. Bit 5 – ADATE (ADC Auto Trigger Enable): When this bit is written to one, Auto Triggering of the ADC is enabled. Bit 4 – ADIF (ADC Interrupt Flag): This bit is set when an ADC conversion completes and the Data Registers are updated. The ADC Conversion Complete Interrupt is executed if the ADIE bit and the I-bit in SREG are set. Bit 3 – ADIE (ADC Interrupt Enable): When this bit is written to one, the ADC Conversion Complete Interrupt is activated. Bits 2:0 – ADPS2:0 (ADC Pre-scalar Select Bits): These bits determine the division factor between the XTAL frequency and the input clock to the ADC. iii) ADCL and ADCH – The ADC Data Register iv) SFIOR – Special Function IO Register : Bit 7:5 – ADTS2:0 (ADC Auto Trigger Source): If ADATE in ADCSRA is written to one, the value of these bits selects which source will trigger an ADC conversion. If ADATE is cleared, the ADTS2:0 settings will have no effect. A conversion will be triggered by the rising edge of the selected Interrupt Flag. Note that switching from a trigger source that is cleared to a trigger source that is set will generate a positive edge on the trigger signal. B. SPI related SFR’s The SPI related SFR’s are listed below: [5] i) SPDR – SPI Data Register: The SPI Data Register is a read/write register used for data transfer between the Register File and the SPI Shift Register. Writing to the register initiates data transmission. Reading the register causes the Shift Register Receive buffer to be read. ii) SPCR - SPI Control Register: Bit 7 – SPIE (SPI Interrupt Enable): This bit causes the SPI interrupt to be executed if SPIF bit in the SPSR Register is set and if the global interrupt enable bit in SREG is set. Bit 6 – SPE (SPI Enable): When the SPE bit is written to one, the SPI is enabled. This bit must be set to enable any SPI operations. Bit 5 – DORD (Data Order): When the DORD bit is written to one, the LSB of the data word is transmitted first. When the DORD bit is written to zero, the MSB of the data word is transmitted first. Bit 4 – MSTR (Master/Slave Select): This bit selects Master SPI mode when written to one and Slave SPI mode when written logic zero. If SS is configured as an input and is driven low while MSTR is set, MSTR will be cleared, and SPIF in SPSR will become set. The user will then have to set MSTR to re-enable SPI Master mode. Bit 3 – CPOL (Clock Polarity): When this bit is written to one, SCK is high when idle. When CPOL is written to zero, SCK is low when idle.
  • 4. Data Acquisition System Using Master – Slave Communication through…. 49 Bit 2 – CPHA (Clock Phase): The settings of the Clock Phase bit (CPHA) determine if data is sampled on the leading (first) or trailing (last) edge of SCK. Bits 1,0 – SPR1,SPR0 (SPI Clock Rate Select 1 and 0): These two bits control the SCK rate of the device configured as a Master. SPR1 and SPR0 have no effect on the Slave. The relationship between SCK and the Oscillator Clock frequency “fosc” is shown in the TABLE II. This SPI clock is also controlled by another bit of SPSR (SPI Status Register) which controls the speed of the SPI. That bit named as SPI2X, which increase the SPI speed doubles. TABLE II Relationship between SCK and the Oscillator Frequency SCK Frequency SPI2X SPR1 SPR0 Fosc/4 0 0 0 Fosc/16 0 0 1 Fosc/64 0 1 0 Fosc/128 0 1 1 Fosc/2 1 0 0 Fosc/8 1 0 1 Fosc/32 1 1 0 Fosc/64 1 1 1 iii) SPSR – SPI Status Register : Bit 7 – SPIF (SPI Interrupt Flag): When a serial transfer is complete, the SPIF Flag is set. An interrupt is generated if SPIE in SPCR is set and global interrupts are enabled. If SS is an input and is driven low when the SPI is in Master mode, this will also set the SPIF Flag. SPIF is cleared by hardware when executing the corresponding interrupt handling vector. Alternatively, the SPIF bit is cleared by first reading the SPI Status Register with SPIF set, then accessing the SPI Data Register (SPDR). Bit 6 – WCOL (Write Collision Flag): The WCOL bit is set if the SPI Data Register (SPDR) is written during a data transfer. The WCOL bit (and the SPIF bit) is cleared by first reading the SPI Status Register with WCOL set, and then accessing the SPI Data Register. Bit 5:1 – Reserved Bits: These bits are reserved bits in the ATmega32A and will always read as zero. Bit 0 – SPI2X (Double SPI Speed Bit): When this bit is written logic one the SPI speed (SCK Frequency) will be doubled when the SPI is in Master mode (see Table II). This means that the minimum SCK period will be two CPU clock periods. When the SPI is configured as Slave, the SPI is only guaranteed to work at fosc/4 or lower. III. SYSTEM DEVELOPMENT As we have already discussed that using SPI protocol this system has been developed. From the block diagram of system we can understand that what is happening in the system. As shown in figure the master as well as slave we have used same chip ATmega32A microcontroller. In this system we have used only two slaves which are doing the ADC of analog signals and then transfer that ADC data to the master using SPI protocol. In this system we have used LCD for display of A/D converted data. We can also use the RS232 communication using USART communication between master and a PC and we can directly log the data to the PC and we can store it also. We can also connect the master with other interfaces IC’s using SPI protocol such as external ADC IC’s such as MCP3202, DS1307 real time clock IC etc. For this we have developed PCB for this project. In which, single PCB can use as master as well as slave also. Means a single design of PCB we can use for both master as well as slave. To develop the PCB we have used “ARES Professional” software which is very easy for developing the PCB layout as well as PCB schematic for any microcontroller based project or other small projects. We have developed single layer as well as double layer PCB for this project. After developing the PCB and mounting all the components the next stage of this project is to develop the programming for the master as well as slave microcontroller.
  • 5. Data Acquisition System Using Master – Slave Communication through…. 50 Fig.2: Block diagram of Data Acquisition system using Master-Slave Communication The above figure is block diagram of the project. As we have already discussed above in this one controller works as master and others are works as slave. From above figure we can say that analog signals are given to the slave’s in-built A/D converter that transfers those data to the master using SPI protocol. For that we must have to do the programming for master as well as for slave microcontroller also. For that, we have used “AVR Studio 4” assembler to do the programming of the microcontrollers. We have used Sunrom’s ICSP (In- Circuit Serial Programmer) for programming of microcontroller. That programmer is also based on the SPI protocol and according to that it selects a microcontroller as slave and loads the program into microcontroller’s flash memory. This programmer we can use for the most of AVR Family of the Atmel microcontrollers. It is available with the USB connector so we can use it with our laptops easily and anywhere. For developing of this project we have used as hardwares are ATmega32A microcontroller, ICSP programmer as well as different types of sensors, which are generating electrical signal according to the change in measurand. Basically power supply is basic need of any project so, we have also used the +5V power supply to power up the microcontroller. We have used temperature sensor (LM35) as sensor to get the analog signal according to the temperature of its surrounding area. After developing of system, the next objective is programming and for that the flow chart of programming is necessary. IV. FLOW CHART Flowchart is the first requirement for developing the programming for any application for any microcontroller. As shown in Fig.3 the flowchart indicates the way or direction of the program. For this project the first requirement is initialization of LCD using program. We can connect the LCD with master or with slave as per our requirement. We have connected the LCD with the master controller. After that we have to select the controller as master or slave, for that we have to write “1” at the bit of “MSTR” of “SPCR” SFR of the controller, for other we will write zero so that controller will selects as slave. As we have informed above that the programming for master as well as slave are different that we can see from the flowchart of programming. By using programming skills we can easily make a program which is suitable for every slave controller. In that, master will simply polling all slaves one by one to get the ADC data of each slave. At that time each slave other than that slave (which is connected with the master using SPI protocol) will do the A/D conversion and store that A/D conversion data into their individual memory. Then master will select a slave for getting that ADC data, that time the slave will transmit that data to the master. If we use the RS232 communication using USART port of microcontroller we can directly get that data to the screen of PC and we can also do some further processing according to our requirement. We can also add the programming for the RS232 communication. We have only use the LCD for data display of the ADC of slave controllers.
  • 6. Data Acquisition System Using Master – Slave Communication through…. 51 Fig.3: Flowchart of programming of Data acquisition System using Master – Slave communication V. CONCLUSIONS This system is useful for the data acquisition process. We can use this system into home automation field as well as into building automation application. As this is based on SPI protocol we can also use Zig-Bee as slave and we can develop a wireless network using multiple Zig-Bees as slave of the master microcontroller. This is very useful for the less number of analog inputs, instead of plc for the same process. We can communicate with microcontroller or log the digital data of the microcontroller using Ethernet module. Using this module we can see the data of the process as well as we can control the process using internet connection. For complex number of analog inputs this system requires more programming of the master microcontroller, which requires more time as well as more knowledge and management of the programming.
  • 7. Data Acquisition System Using Master – Slave Communication through…. 52 REFERENCES [1]. D. Patranabis, Sensors and Transducers, 2nd Edition, Prentice – Hall of India (PHI) Publication, New Delhi, 2007. [2]. Ramakant A. Gayakwad, Op-Amps and Linear Integrated Circuits, 4th Edition, Prentice – Hall of India (PHI) Publication, New Delhi,2007. [3]. Archana Ramesh R, M.S.R.Sekhar, “Design and Verification of Serial Peripheral Interface using OVM”, International Journal of Electronics Communication and Computer Technology (IJECCT), Volume 2, Issue 6 (November 2012), pp. 267-269. [4]. “Datasheet of ATmega32A Microcontroller”, “Analog to Digital Converter”, www.alldatasheet.com and www.atmel.com, pp.209-227. [5]. “Datasheet of ATmega32A Microcontroller”, “Serial Peripheral Interface”, www.alldatasheet.com and www.atmel.com, pp.138-146. [6]. Shaikh Yusuf H., Khan A. R and Behere S. H, “AVR Microcontroller Based Data Acquisition System for Laboratory Experiments”, Advances in Applied Science Research, 2012, 3 (1), pp. 208-215.