You are on page 1of 15

| 

 
 
       
  
   
 Technology advancements take place, so there is a need for
better methods to operate plants and improve processes.

 The data acquisition system so becomes essential part of any


automated system.

 DAS project digitizes eight analog inputs by using multiplexer and


A/D converter.

 The digitized analog samples processed and transmitted through


RS485 serial bus using MODBUS protocol.

 The 8051 core micro-


micro-controller will be used to run and control
these activities.
Π

 Learning the architecture of 8051 Micro-


Micro-Controller and its
Interfacing.

 Learning about hardware interfacing techniques, such as


Multiplexer, A/D converter,RS485 Serial Bus, Power
Distribution.

 Learning about Embedded Software coding techniques.


Examples: VB, embedded c etc.

 Learning about MODBUS protocol implementation on RS485


serial bus.
[    
 Schematic diagram preparation.

 Material procurement and assembling of Hardware.

 Passive and Active checking of Hardware.

 Checking the individual sections of the Hardware by writing


section wise software drivers.

 Control logic flow chart preparation and coding.

 Functional checking and evaluation.

 Project documentation.
^  
 
 Dt provides many functions (CPU
(CPU,, RAM
RAM,, ROM
ROM,, D/O
D/O,, interrupt logic,
timer,, etc.) in a single package
timer package..
! 8-bit ALU
ALU,, Accumulator and 8- 8-bit Registers; hence it is an 8-bit
microcontroller..
microcontroller

 On-chip RAM ± 128 bytes 8-bit data bus ± Dt can access 8 bits of
On-
data in one operation.
 16--bit address bus ± Dt can access 216 memory locations ± 64 KB
16
(65536 locations) each of RAM and ROM.
 On--chip ROM ± 4 kByte (program memory).
On
 Four byte bi-
bi-directional input/output port.
 UART (serial
(serial port).
port).
 Two 16-
16-bit Counter/timers
Counter/timers..
 Two--level interrupt priority.
Two
 Power saving mode (on some derivatives ).
         
^    
 8-bit data bus
 16--bit address bus
16
 32 general purpose registers each of 8 bits
 16 bit timers (usually 2, but may have more, or less).
 3 internal and 2 external interrupts.
 Bit as well as byte addressable RAM area of 16 bytes.
 Four 8-
8-bit ports, (short models have two 8-
8-bit ports).
 16--bit program counter and data pointer
16
[ 
 3 

 


 3  
 The port P1 is a general purpose
input/output port which can be used for a variety of interfacing
tasks. The other ports P0, P2 and P3 have dual roles or additional
functions associated with them based upon the context of their
usage.

 3  
 PORT P3 acts as a normal DO port,
but Port P3 has additional functions such as, serial transmit and
receive pins, 2 external interrupt pins, 2 external counter inputs,
read and write pins for memory access.
 3  
 PORT P2 can also be used as a
general purpose 8 bit port when no external memory is present,
but if external memory access is required then PORT P2 will act as
an address bus in conjunction with PORT P0 to access external
memory. PORT P2 acts as A8-
A8-A15, as can be seen from fig.

 3  
 PORT P0 can be used as a general
purpose 8 bit port when no external memory is present, but if
external memory access is required then PORT P0 acts as a
multiplexed address and data bus that can be used to access
external memory in conjunction with PORT P2. P0 acts as AD0-
AD0-
AD7.
^   
[  
 There are various high
high--level programming language compilers for
the 8051.
8051. Several C compilers are available for the 8051, most of
which feature extensions that allow the programmer to specify
where each variable should be stored in its six types of memory,
and provide access to 8051 specific hardware features such as the
multiple register banks and bit manipulation instructions.

 There are many commercial C compilers. SDCC is a popular open


source c compiler.

 Other highlevel languages such as Forth


Forth,, BASDC
BASDC,, Pascal
Pascal//Object
Pascal,, PL/M and Modula
Pascal Modula--2 are available for the 8051, but they
are less widely used than C and assembly.
0^

 The Electronics Dndustry Association (EDA) Recommended


Standard (RS) number 485 is the
 foundational hardware fabric for Field Bus networks. Dt is designed
to provide bi-
bi-directional
 half--duplex multi-
half multi-point data communications over a single two
two--
wire bus. Full-
Full-duplex operation
 is accomplished using a four-
four-wire, two-
two-bus, network that
completes the process loop from sensor
 to processor to actuator, and so on. The data bus can be up to
4,000 feet in length with a data
 rate at approximately 100 kbps. The maximum data rate is 10
Mbps, or so, for short runs,
 trading off distance for speed.
|

 |  is a serial communications protocol published by
Modicon in 1979 for use with its programmable logic controllers
(PLCs).
 |  allows for communication between many devices
connected to the same network, for example a system that
measures temperature and humidity and communicates the
results to a computer
computer..
 |  is often used to connect a supervisory computer with a
remote terminal unit (RTU) in supervisory control and data
acquisition (SCADA
SCADA)) systems.
THANK YOU

You might also like