SlideShare une entreprise Scribd logo
1  sur  25
SUBMITTED TO
Mrs .Monika Mehra
(ECE-HOD)
SUBMITTED BY
GAGANDEEP
1514002
 INDIAN SERVICE MACHINE (Abbreviated as ISM) is the
company name that our founder felt appropriate, following the
lines of IBM (International Business Machine), ambitiously to
grow to the level.
 ISM was established in the year 1994 as a small scale industry
to assemble and resale PC’s and service PC’s, immediately
diversified to offer training based on PC Technologies.
 Over the period ISM felt native training clients on Embedded
Systems, having identified their strength in Embedded System
design and development; ISM acquired expertise on this domain
and collaborated with Embedded industry to offer an industry
relevant Embedded Systems training programs.
 Introduction of Embedded system & IOT
 8-bit microcontroller (8051)
 Minor project based on (8051)
 ARM 7/cortex m-3 (32-bit microcontrollers)
 ARM Protocols
 IPC In Linux
•An embedded system is some combination of computer
hardware and software, either fixed in capability or
programmable, that is specifically designed for a
particular function
What makes Embedded systems
different?
•Real time operation
• Size
• Cost
• Time
• Reliability
• Safety
• Energy
 Microcontroller is a VLSI chip which consist of a CPU
 CPU is a device Which executes instruction
Block diagram
Hardware used:-
• 8051 Microcontroller
• RFID Reader
• GSM Module
• LCD interface
Software used:-
•Kiel μVision IDE
• Uart protocol( flash-
magic)
General assembly
• A RFID tags used to indentified the unique ID
number
•The controller then matches the unique
code to the Central Database. Stipulated
price of the toll will be deducted from his
account..
•Then an SMS will be sent to the owner
using the GSM module about how much
money has been debited from his account.
APPLICATIONS
•Thus it can be installed inside the car from where it is not visible.
•As the cars need to be at a specified position for the system to scan the number plate
which is not required in RFID based system.
•Security is an added advantage
Block diagram of ARM based microcontroller
Important Protocols of ARM
•I2C
•Features of I2C
Only two bus lines are required; a serial data line (SDA) and a serial clock line (SCL)
•Each device connected to the bus is software addressable by a unique address and simple
master/slave relationships exist at all times;
•masters can operate as master-transmitters or as master-receivers
•It’s a true multi-master bus including collision detection and arbitration to prevent data
corruption if two or more masters simultaneously initiate data transfer
•Serial, 8-bit oriented, bi-directional data transfers can be made at up to 100 kbit/s in the
Standard-mode, up to 400 kbit/s in the Fast-mode, or up to 3.4 Mbit/s in the High-speed
mode.
•On-chip filtering rejects spikes on the bus data line to preserve data integrity
•The number of ICs that can be connected to the same bus is limited only by a maximum
bus capacitance of 400 pF
Control area network (CAN)
•The CAN Bus is an automotive bus developed by Robert Bosch
•CAN is a serial bus protocol to connect individual systems and
sensors as an alternative to conventional multi-wire looms.
•The Controller Area Network (CAN) is a serial communication way,
which efficiently supports distributed real-time control with a very
high level of security.
•It allows automotive components to
communicate on a dual-wire
networked data bus up to 1Mbps
•CAN is based on the “broadcast
communication mechanism”, which
is based on a message-oriented
transmission protocol.
SPI---Serial Peripheral Interface
•The Serial Peripheral Interface (SPI) bus was
developed by Motorola to provide full-duplex
synchronous serial communication between
master and slave devices.
•SPI can be clocked up to 10 MHz.
•The SPI busis commonly used for
communication with Flash memory,
•sensors, real-time clocks (RTCs),
analog-to-digital converters, and more
•SPI
Modes in SPI
•The frame of the data exchange is described by two
parameters, the clock polarity (CPOL) and the clock phase
(CPHA).
•This diagram shows the four possible states for these
parameters and the corresponding mode in SPI
Introducation of Embedded Linux
•Linux is a 100% free operating system
• Linus Torvalds. who was then a student at the
University of Helsinki in Finland, developed
Linux in 1991
•Implementation of IPC using Pipes, FIFO,
Message Queue for IPC, System calls related to
pipes, FIFO’s & Message Queues, Using ipcs,
ipcrm, Sample program
Inter Process Communication
•Files
•Pipes
• Message Queue
• Shared Memory
• Semaphores
• Signals
• Sockets
Files System Call
Create File =int creat (const char * pathname, int flags)
int open (const char * pathname, int flags)
Flags : O_RDONLY, O_WRONLY, O_RDWRO_CREAT , O_APPEND,
O_NONBLOCK,
ssize_t write = int (fd, void *buf, size_t count)
lseek System Call = off_t lseek ( int fd, off_t offset, int where)
Where : SEEK_SET, SEEK_CUR, SEEK_END
Pipes
•We use the term pipe when we connected a data flow from one process
•to another.
•In linux we familiar with a pipe “ | ” which is used to linking shell
system call used to create pipes
int open( const char *path, O_RDONLY |O_NONBLOCK);
int read( pid, buffer , size);
int write(pid, buffer , size);
pid ----- Descriptor returned by open()
buffer ----- Character buffer
size ----- Size of buffer
Message Queue
Features of Message Queue
•Easy and efficient .
•Used between related and unrelated process.
•Provide sending block of data.
•Blocking & Synchronization problems are
..avoid.
System Calls related to Message Queue
int msgget (key_t key,int msgflag); key ------- An arbitrary number
Msgflag--------- IPC_PRIVATE
IPC_CREAT
int msgsnd (int msqid,const void*msg_ptr,size_t msg_szint msgflag);
int msgrcv (int msqid,void *msg_ptr,size_t msg_sz,long int mtype,int
msgflag) ;
Sockets
Why do we need sockets?
•Provides an abstraction for interprocess
communication
Function:-
Initiate and accept a connection
Define an “end- point” for communication
Send and receive data
Terminate a connection gracefully
Types of sockets
Stream socket :(connection- oriented socket)
– It provides reliable, connected networking service
– Error free; no out- of- order packets (uses TCP)
– applications: telnet/ ssh, http, …
Continue…
• Datagram socket :( connectionless socket)
– It provides unreliable, best- effort
networking service
– Packets may be lost; may arrive out
of order (uses UDP)
– applications: streaming audio/
video (real-player), …
Client Server
System call
Make socket sock = socket( AF_ INET, SOCK_ STREAM, 0);
Setup structure
(
memset(& sin, 0, sizeof( sin));
sin. sin_ family = AF_ INET;
sin. sin_ addr. s_ addr = htonl( INADDR_ ANY);
sin. sin_ port = htons( port);
);
Bind if (bind( sock, (struct sockaddr *) &sin, sizeof( sin)) < 0)
return -1;
return sock;
sock = accept ( listen_ socket, (struct sockaddr *) &sin, &sin_ len);
return sock;
socket()
bind()
listen()
accept()
read()
write()
read()
close()
Socket()
connect()
write()
read()
close()
TCP Client
TCP Server
Well-known port
blocks until connection from client
process request
Connection establishment
Functionallty
Ppt on six month training on embedded system & IOT

Contenu connexe

Tendances

Smart sensors and their Application
Smart sensors and their ApplicationSmart sensors and their Application
Smart sensors and their ApplicationYash Kant
 
Alcohol detection system with gsm and gps (fiem , ece)
Alcohol detection system with gsm and gps (fiem , ece)Alcohol detection system with gsm and gps (fiem , ece)
Alcohol detection system with gsm and gps (fiem , ece)ANUBHAVGHOSHDASTIDAR
 
2. block diagram and components of embedded system
2. block diagram and components of embedded system2. block diagram and components of embedded system
2. block diagram and components of embedded systemVikas Dongre
 
Electronics project presentation
Electronics project presentationElectronics project presentation
Electronics project presentationZahidul Islam Razu
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller pptRahul Kumar
 
Iot based health monitoring system
Iot based health monitoring systemIot based health monitoring system
Iot based health monitoring systemShaswataMohanta
 
Iot architecture
Iot architectureIot architecture
Iot architectureAnam Iqbal
 
Remote control for home appliances
Remote control for home appliancesRemote control for home appliances
Remote control for home appliancesBharath University
 
Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.sayed78
 
Project report on Iot Based Garbage Monitoring System
Project report on Iot Based Garbage Monitoring System  Project report on Iot Based Garbage Monitoring System
Project report on Iot Based Garbage Monitoring System alok pal
 
Arduino based health monitoring system
Arduino based health monitoring systemArduino based health monitoring system
Arduino based health monitoring systemYousuf Shaikh
 
Project presentation on wireless lpg leakage detector
Project presentation on wireless lpg leakage detectorProject presentation on wireless lpg leakage detector
Project presentation on wireless lpg leakage detectorPETER ASIGRI
 
Project report on wireless based traffic control for emergency vehicle
Project report on wireless based traffic control for emergency vehicleProject report on wireless based traffic control for emergency vehicle
Project report on wireless based traffic control for emergency vehicleNeeraj Lohani
 
Humidity and Temperature Measurement Using Arduino
Humidity and Temperature Measurement Using ArduinoHumidity and Temperature Measurement Using Arduino
Humidity and Temperature Measurement Using Arduinodollonhaider
 

Tendances (20)

Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
Smart sensors and their Application
Smart sensors and their ApplicationSmart sensors and their Application
Smart sensors and their Application
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
 
Alcohol detection system with gsm and gps (fiem , ece)
Alcohol detection system with gsm and gps (fiem , ece)Alcohol detection system with gsm and gps (fiem , ece)
Alcohol detection system with gsm and gps (fiem , ece)
 
2. block diagram and components of embedded system
2. block diagram and components of embedded system2. block diagram and components of embedded system
2. block diagram and components of embedded system
 
Electronics project presentation
Electronics project presentationElectronics project presentation
Electronics project presentation
 
Smart street light system
Smart street light systemSmart street light system
Smart street light system
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
Iot based health monitoring system
Iot based health monitoring systemIot based health monitoring system
Iot based health monitoring system
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
 
Iot architecture
Iot architectureIot architecture
Iot architecture
 
Remote control for home appliances
Remote control for home appliancesRemote control for home appliances
Remote control for home appliances
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.Internet of Things (IoT) Based Smart Security & Home Automation System.
Internet of Things (IoT) Based Smart Security & Home Automation System.
 
Project report on Iot Based Garbage Monitoring System
Project report on Iot Based Garbage Monitoring System  Project report on Iot Based Garbage Monitoring System
Project report on Iot Based Garbage Monitoring System
 
Arduino based health monitoring system
Arduino based health monitoring systemArduino based health monitoring system
Arduino based health monitoring system
 
Project presentation on wireless lpg leakage detector
Project presentation on wireless lpg leakage detectorProject presentation on wireless lpg leakage detector
Project presentation on wireless lpg leakage detector
 
Project report on wireless based traffic control for emergency vehicle
Project report on wireless based traffic control for emergency vehicleProject report on wireless based traffic control for emergency vehicle
Project report on wireless based traffic control for emergency vehicle
 
Humidity and Temperature Measurement Using Arduino
Humidity and Temperature Measurement Using ArduinoHumidity and Temperature Measurement Using Arduino
Humidity and Temperature Measurement Using Arduino
 
PPT ON Arduino
PPT ON Arduino PPT ON Arduino
PPT ON Arduino
 

Similaire à Ppt on six month training on embedded system & IOT

RTOS based Confidential Area Security System
RTOS based Confidential Area Security SystemRTOS based Confidential Area Security System
RTOS based Confidential Area Security Systemajinky gadewar
 
Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة salih mahmod
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptxPratik Gohel
 
Low cost embedded system
Low cost embedded systemLow cost embedded system
Low cost embedded systemece svit
 
Brain wave controlled robot
Brain wave controlled robotBrain wave controlled robot
Brain wave controlled robotRahul Wagh
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scopeArshit Rai
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scopeArshit Rai
 
Cdot Max ng architecture working models
Cdot Max ng  architecture working modelsCdot Max ng  architecture working models
Cdot Max ng architecture working modelsRahmanScholar
 
Asic implementation of i2 c master bus
Asic implementation of i2 c master busAsic implementation of i2 c master bus
Asic implementation of i2 c master busVLSICS Design
 
Presentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharmaPresentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharmaAbhishekSharma2517
 
Ramprasad-CV_3+yrs
Ramprasad-CV_3+yrsRamprasad-CV_3+yrs
Ramprasad-CV_3+yrsRamprasad B
 
Ip interfaces by faststream technologies
Ip interfaces by faststream technologiesIp interfaces by faststream technologies
Ip interfaces by faststream technologiesVishalMalhotra58
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...Arti Parab Academics
 

Similaire à Ppt on six month training on embedded system & IOT (20)

RTOS based Confidential Area Security System
RTOS based Confidential Area Security SystemRTOS based Confidential Area Security System
RTOS based Confidential Area Security System
 
Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptx
 
Low cost embedded system
Low cost embedded systemLow cost embedded system
Low cost embedded system
 
Training report on embedded sys_AVR
Training report on embedded sys_AVRTraining report on embedded sys_AVR
Training report on embedded sys_AVR
 
Brain wave controlled robot
Brain wave controlled robotBrain wave controlled robot
Brain wave controlled robot
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
 
Ijetr042175
Ijetr042175Ijetr042175
Ijetr042175
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
 
Smart logic
Smart logicSmart logic
Smart logic
 
Ens
EnsEns
Ens
 
Cdot Max ng architecture working models
Cdot Max ng  architecture working modelsCdot Max ng  architecture working models
Cdot Max ng architecture working models
 
Core of the ES
Core of the ESCore of the ES
Core of the ES
 
Asic implementation of i2 c master bus
Asic implementation of i2 c master busAsic implementation of i2 c master bus
Asic implementation of i2 c master bus
 
Presentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharmaPresentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharma
 
Ramprasad-CV_3+yrs
Ramprasad-CV_3+yrsRamprasad-CV_3+yrs
Ramprasad-CV_3+yrs
 
Processors selection
Processors selectionProcessors selection
Processors selection
 
Ip interfaces by faststream technologies
Ip interfaces by faststream technologiesIp interfaces by faststream technologies
Ip interfaces by faststream technologies
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV  Designing Embedded System with 8051...
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT IV Designing Embedded System with 8051...
 
Project_updated
Project_updatedProject_updated
Project_updated
 

Dernier

Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf203318pmpc
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 

Dernier (20)

Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 

Ppt on six month training on embedded system & IOT

  • 1. SUBMITTED TO Mrs .Monika Mehra (ECE-HOD) SUBMITTED BY GAGANDEEP 1514002
  • 2.  INDIAN SERVICE MACHINE (Abbreviated as ISM) is the company name that our founder felt appropriate, following the lines of IBM (International Business Machine), ambitiously to grow to the level.  ISM was established in the year 1994 as a small scale industry to assemble and resale PC’s and service PC’s, immediately diversified to offer training based on PC Technologies.  Over the period ISM felt native training clients on Embedded Systems, having identified their strength in Embedded System design and development; ISM acquired expertise on this domain and collaborated with Embedded industry to offer an industry relevant Embedded Systems training programs.
  • 3.  Introduction of Embedded system & IOT  8-bit microcontroller (8051)  Minor project based on (8051)  ARM 7/cortex m-3 (32-bit microcontrollers)  ARM Protocols  IPC In Linux
  • 4. •An embedded system is some combination of computer hardware and software, either fixed in capability or programmable, that is specifically designed for a particular function What makes Embedded systems different? •Real time operation • Size • Cost • Time • Reliability • Safety • Energy
  • 5.
  • 6.  Microcontroller is a VLSI chip which consist of a CPU  CPU is a device Which executes instruction
  • 7. Block diagram Hardware used:- • 8051 Microcontroller • RFID Reader • GSM Module • LCD interface Software used:- •Kiel μVision IDE • Uart protocol( flash- magic)
  • 8. General assembly • A RFID tags used to indentified the unique ID number •The controller then matches the unique code to the Central Database. Stipulated price of the toll will be deducted from his account.. •Then an SMS will be sent to the owner using the GSM module about how much money has been debited from his account. APPLICATIONS •Thus it can be installed inside the car from where it is not visible. •As the cars need to be at a specified position for the system to scan the number plate which is not required in RFID based system. •Security is an added advantage
  • 9. Block diagram of ARM based microcontroller
  • 10. Important Protocols of ARM •I2C •Features of I2C Only two bus lines are required; a serial data line (SDA) and a serial clock line (SCL) •Each device connected to the bus is software addressable by a unique address and simple master/slave relationships exist at all times; •masters can operate as master-transmitters or as master-receivers •It’s a true multi-master bus including collision detection and arbitration to prevent data corruption if two or more masters simultaneously initiate data transfer •Serial, 8-bit oriented, bi-directional data transfers can be made at up to 100 kbit/s in the Standard-mode, up to 400 kbit/s in the Fast-mode, or up to 3.4 Mbit/s in the High-speed mode. •On-chip filtering rejects spikes on the bus data line to preserve data integrity •The number of ICs that can be connected to the same bus is limited only by a maximum bus capacitance of 400 pF
  • 11. Control area network (CAN) •The CAN Bus is an automotive bus developed by Robert Bosch •CAN is a serial bus protocol to connect individual systems and sensors as an alternative to conventional multi-wire looms. •The Controller Area Network (CAN) is a serial communication way, which efficiently supports distributed real-time control with a very high level of security.
  • 12. •It allows automotive components to communicate on a dual-wire networked data bus up to 1Mbps •CAN is based on the “broadcast communication mechanism”, which is based on a message-oriented transmission protocol.
  • 13. SPI---Serial Peripheral Interface •The Serial Peripheral Interface (SPI) bus was developed by Motorola to provide full-duplex synchronous serial communication between master and slave devices. •SPI can be clocked up to 10 MHz. •The SPI busis commonly used for communication with Flash memory, •sensors, real-time clocks (RTCs), analog-to-digital converters, and more •SPI
  • 14. Modes in SPI •The frame of the data exchange is described by two parameters, the clock polarity (CPOL) and the clock phase (CPHA). •This diagram shows the four possible states for these parameters and the corresponding mode in SPI
  • 15. Introducation of Embedded Linux •Linux is a 100% free operating system • Linus Torvalds. who was then a student at the University of Helsinki in Finland, developed Linux in 1991 •Implementation of IPC using Pipes, FIFO, Message Queue for IPC, System calls related to pipes, FIFO’s & Message Queues, Using ipcs, ipcrm, Sample program
  • 16. Inter Process Communication •Files •Pipes • Message Queue • Shared Memory • Semaphores • Signals • Sockets
  • 17. Files System Call Create File =int creat (const char * pathname, int flags) int open (const char * pathname, int flags) Flags : O_RDONLY, O_WRONLY, O_RDWRO_CREAT , O_APPEND, O_NONBLOCK, ssize_t write = int (fd, void *buf, size_t count) lseek System Call = off_t lseek ( int fd, off_t offset, int where) Where : SEEK_SET, SEEK_CUR, SEEK_END
  • 18. Pipes •We use the term pipe when we connected a data flow from one process •to another. •In linux we familiar with a pipe “ | ” which is used to linking shell system call used to create pipes int open( const char *path, O_RDONLY |O_NONBLOCK); int read( pid, buffer , size); int write(pid, buffer , size); pid ----- Descriptor returned by open() buffer ----- Character buffer size ----- Size of buffer
  • 19. Message Queue Features of Message Queue •Easy and efficient . •Used between related and unrelated process. •Provide sending block of data. •Blocking & Synchronization problems are ..avoid. System Calls related to Message Queue int msgget (key_t key,int msgflag); key ------- An arbitrary number Msgflag--------- IPC_PRIVATE IPC_CREAT int msgsnd (int msqid,const void*msg_ptr,size_t msg_szint msgflag); int msgrcv (int msqid,void *msg_ptr,size_t msg_sz,long int mtype,int msgflag) ;
  • 20. Sockets Why do we need sockets? •Provides an abstraction for interprocess communication
  • 21. Function:- Initiate and accept a connection Define an “end- point” for communication Send and receive data Terminate a connection gracefully Types of sockets Stream socket :(connection- oriented socket) – It provides reliable, connected networking service – Error free; no out- of- order packets (uses TCP) – applications: telnet/ ssh, http, … Continue…
  • 22. • Datagram socket :( connectionless socket) – It provides unreliable, best- effort networking service – Packets may be lost; may arrive out of order (uses UDP) – applications: streaming audio/ video (real-player), … Client Server
  • 23. System call Make socket sock = socket( AF_ INET, SOCK_ STREAM, 0); Setup structure ( memset(& sin, 0, sizeof( sin)); sin. sin_ family = AF_ INET; sin. sin_ addr. s_ addr = htonl( INADDR_ ANY); sin. sin_ port = htons( port); ); Bind if (bind( sock, (struct sockaddr *) &sin, sizeof( sin)) < 0) return -1; return sock; sock = accept ( listen_ socket, (struct sockaddr *) &sin, &sin_ len); return sock;
  • 24. socket() bind() listen() accept() read() write() read() close() Socket() connect() write() read() close() TCP Client TCP Server Well-known port blocks until connection from client process request Connection establishment Functionallty

Notes de l'éditeur

  1. Gagandeep