This document discusses the programmable peripheral interface 8255 and its applications. It describes the architecture and operating modes of the 8255 including bit set reset mode and I/O modes 0, 1, and 2. It then provides examples of interfacing the 8255 to keyboards, LED displays, analog to digital converters, digital to analog converters, temperature sensors, stepper motors, and traffic light systems. Diagrams and flowcharts are included to illustrate the interfacing between these peripheral devices and the microprocessor using the 8255.
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE ravis205084
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE 9
Introduction – Architecture of 8255, Keyboard interfacing, LED display –interfacing, ADC and
DAC interface, Temperature Control – Stepper Motor Control – Traffic Control interface.
ijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j i
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE ravis205084
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE 9
Introduction – Architecture of 8255, Keyboard interfacing, LED display –interfacing, ADC and
DAC interface, Temperature Control – Stepper Motor Control – Traffic Control interface.
ijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j iijfij fi fjijfij fijfijif if iji j i
About
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Technical Specifications
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
Key Features
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface
• Compatible with MAFI CCR system
• Copatiable with IDM8000 CCR
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
Application
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Welcome to WIPAC Monthly the magazine brought to you by the LinkedIn Group Water Industry Process Automation & Control.
In this month's edition, along with this month's industry news to celebrate the 13 years since the group was created we have articles including
A case study of the used of Advanced Process Control at the Wastewater Treatment works at Lleida in Spain
A look back on an article on smart wastewater networks in order to see how the industry has measured up in the interim around the adoption of Digital Transformation in the Water Industry.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
Democratizing Fuzzing at Scale by Abhishek Aryaabh.arya
Presented at NUS: Fuzzing and Software Security Summer School 2024
This keynote talks about the democratization of fuzzing at scale, highlighting the collaboration between open source communities, academia, and industry to advance the field of fuzzing. It delves into the history of fuzzing, the development of scalable fuzzing platforms, and the empowerment of community-driven research. The talk will further discuss recent advancements leveraging AI/ML and offer insights into the future evolution of the fuzzing landscape.
Water scarcity is the lack of fresh water resources to meet the standard water demand. There are two type of water scarcity. One is physical. The other is economic water scarcity.
Final project report on grocery store management system..pdfKamal Acharya
In today’s fast-changing business environment, it’s extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
Immunizing Image Classifiers Against Localized Adversary Attacksgerogepatton
This paper addresses the vulnerability of deep learning models, particularly convolutional neural networks
(CNN)s, to adversarial attacks and presents a proactive training technique designed to counter them. We
introduce a novel volumization algorithm, which transforms 2D images into 3D volumetric representations.
When combined with 3D convolution and deep curriculum learning optimization (CLO), itsignificantly improves
the immunity of models against localized universal attacks by up to 40%. We evaluate our proposed approach
using contemporary CNN architectures and the modified Canadian Institute for Advanced Research (CIFAR-10
and CIFAR-100) and ImageNet Large Scale Visual Recognition Challenge (ILSVRC12) datasets, showcasing
accuracy improvements over previous techniques. The results indicate that the combination of the volumetric
input and curriculum learning holds significant promise for mitigating adversarial attacks without necessitating
adversary training.
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
Terzaghi's soil bearing capacity theory, developed by Karl Terzaghi, is a fundamental principle in geotechnical engineering used to determine the bearing capacity of shallow foundations. This theory provides a method to calculate the ultimate bearing capacity of soil, which is the maximum load per unit area that the soil can support without undergoing shear failure. The Calculation HTML Code included.
2. Content
• Introduction
• Architecture of 8255
• Keyboard interfacing
• LED display –interfacing
• ADC and DAC interface
• Temperature Control
• Stepper Motor Control
• Traffic Control interface
3. Introduction
• To communicate with the outside world,
microprocessor use peripherals (I/O devices)
• Input devices – Keyboards, A/D converters
etc.,
• Output devices – CRT, Printers, LEDs etc.,
• Peripherals are connected to the
microprocessors through electronic circuit
known as interfacing circuits.
4. Microprocessors unit with I/O devices
Input
devices
(keyboard)
Micro
processors
Output
devices
(LED)
Input
peripherals
Output
peripherals
5. • Some of the general purpose interfacing devices
– I/O ports
– Programmable peripherals interface (PPI)
– DMA controllers
– Interrupt controller
• Some of the special purpose interfacing devices
– CRT controller
– Keyboard
– Display
– Floppy Disc controllers
6. Peripheral interfacing Chips are used
generation of I/O ports
• Programmable peripherals interface Inter 8255 (PPI)
• Programmable Interrupt controller (PIC) Intel 8259
• Programmable communication interface (PCI) Intel
8251
• Keyboard display Controller Intel 8279
• Programmable counter /Inverter timer Intel 8253
• A/D and D/A Converter Interfacing
7. Microprocessors unit with I/O devices
Input
devices
(key
board)
PPI
8255
Micro
proce
ssors
8279
Display
Output
device
(LED)
Peripheral
Interface
Display
Interface
8. Address Space Partitioning
• The Microprocessors uses 16 bit wide address
bus for addressing memories and I/O devices.
• Using 16 bit wide address bus, it can access
216 = 64k bytes of memory and I/O devices
• Two schemes for the allocation of addresses
to memories and I/O devices
– Memory mapped I/O
– I/O mapped I/O
9. Memory mapped I/O
• It has only one address space
• Address space is defined as the set of all possible
addresses that a microprocessor can generate
• Some addresses assigned to memories and Some
addresses to I/O devices
• Memory locations are assigned with addresses
from 8000 to 84FF
• I/O devices are assigned with addresses from
8500 to 85FF
10. I/O mapped I/O scheme
• In this scheme, addresses assigned to
memories locations can also be assigned to
I/O devices
• Since the same address may be assigned to
memories locations or an I/O devices
• The microprocessor has a signal to distinguish
whether the address on the address bus is for
memories locations or an I/O devices
11. I/O mapped I/O scheme
• When signal is high, then address on the address bus is
for an I/O devices
• When signal is low, then address on the address bus is
for memory locations
• Two extra instruction IN and OUT are used to address
I/O devices.
• The IN instruction is used to read the data of an input
devices.
• The OUT instruction is used to send the data of an
input devices.
• This scheme is suitable for a large system.
15. I/O Mode
• The 8255 has the following 3 modes of
operation
– Mode 0 – Simple Input/output
– Mode 1 – Input / Output with the Handshake or
strobed
– Mode 2 – Bi-directional I/O
16. I/O Mode
Mode 0 – Simple Input/output
– Port A and port B are used as two simple 8-bit I/O
port
– Port C as two 4-bit port
• Features
– Outputs are latched
– Inputs are buffered not latched
– Ports do not have handshake or interrupt
capability
17. I/O Mode
• Mode 1 – Input / Output with the Handshake
– Input or output data transfer is controlled by
handshaking signals.
– Handshaking signals are used to transfer data
between devices whose data transfer speeds are
not same.
– Port A and Port B are designed to operate with the
Port C.
– When Port A and Port B are programmed in Mode
1, 6 pins of port C is used for their control.
18. I/O Mode
• D0-D7 data bus
– bi directional, tri state data bus line
– It is used to transfer data and control word from
8085 to 8255
• RD (Read)
– When this pin is low, the CPU can read data in the
port or status word through the data buffer
• WR (write)
– When this pin is low, the CPU can write data in the
port or in the control register through the data
buffer
19. I/O Mode
• Mode 2 – Bi-directional I/O
• Port A can be programmed to operate as a
bidirectional port.
• The mode 2 operation is only for port A
• When port A is programmed in Mode 2, the
Port B can be used in either Mode 1 or Mode
0.
• Mode 2 operation the port a is controlled by
PC3 to PC7 of port C.
22. PROGRAMMING and OPERATION of
8255
• Programming in MODE 0
• D7 –set to 1
• D6,D5,D2- all set to 0 –MODE 0
• D4,D3,D1 and D0- determine weather the
corresponding ports are to configured as input
or output
23. A B GROUP A GROUP B
D4 D3 D1 D0 PORT A PORTC U PORT B PORT C L
0 0 0 0 OUT OUT OUT OUT
0 0 0 1 OUT OUT OUT IP
0 0 1 0 OUT OUT IP OUT
0 0 1 1 OUT OUT IP IP
0 1 0 0 OUT IP OUT OUT
0 1 0 1 OUT IP OUT IP
0 1 1 0 OUT IP IP OUT
0 1 1 1 OUT IP IP IP
1 0 0 0 IP OUT OUT OUT
1 0 0 1 IP OUT OUT IP
1 0 1 0 IP OUT IP OUT
1 0 1 1 IP OUT IP IP
1 1 0 0 IP IP OUT OUT
1 1 0 1 IP IP OUT IP
1 1 1 0 IP IP IP OUT
1 1 1 1 IP IP IP IP
53. TEMPERATURE CONTROL
• Temperature sensor –convert temp to
electrical signal by thermistor
• Transducer convert physical data into
electrical signal
• Physical data –temp, light, flow, speed etc…
• LM34 & LM35 –temperature sensor by
NATIONAL SEMICONDUCTOR CO-OPERATION
54. • LM34
• Output voltage is
linearly proportional to
Fahrenheit temp
• No external calibration
• 10mV for each degree
of Fahrenheit temp
• LM35
• Output voltage is
linearly proportional to
Celsius temp
• No external calibration
• 10mV for each degree
of Centigrate temp
55.
56. STEPPER MOTOR CONTROL interface
• Digital motor used to translate electrical pulse
into mechanical movement
• Center tap winding connected to 12 V supply
• Motor can be excited by grounding four
terminals of the two windings
• ROTOR-Stepper motor has permanent magnet
rotor .It is also known as shaft
• STEP ANGLE-It is minimum degree of rotation
associated with a single step
60. Traffic Light Control System
• Allow traffic from W to E and E to W transition
for 20 seconds
• Give transition period of 5 seconds (yellow
bulbs ON)
• Allow traffic from N to s and S to n for 20
seconds
• Give transition period of 5 seconds (yellow
bulbs ON)
• Repeat the process