Professional Documents
Culture Documents
Pptonsixmonthtraining 180427093146
Pptonsixmonthtraining 180427093146
Hardware used:-
• 8051 Microcontroller
• RFID Reader
• GSM Module
• LCD interface
Software used:-
•Kiel μVision IDE
• Uart protocol( flash-
magic)
Block diagram
•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. General assembly
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
•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)
•Files
•Pipes
• Message Queue
• Shared Memory
• Semaphores
• Signals
• Sockets
Files System Call
Create File =int creat (const char * pathname, int flags)
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);
);
Socket() accept()
write()
read()
process request
write()
read()
close()
read()
close()