msc_notes
msc_notes
1) What is Ethernet?
Ethernet is a networking technology that connects computers on a network over a wired
connection. It is widely used LAN protocol . it connects computer within Local area network and
wide area netwotk.Since it’s wired connection it provides provides higher speeds, lower latency,
and greater security. than Wi-Fi (WLAN).
Q.5) What are the different short range wireless communication technology:
1) Bluetooth, NFC, RFID, Wifi
Perception Layer
These layer supports sensors and installed systems are used. These sensors collect huge
amount of information depending on the requirements.
This also contains edge devices, sensors, and actuators that connect with the surroundings. It
can find specific spatial parameters or find other intelligent things /objects in the
surroundings.
Network Layer
The network layer generates a logical association between the sender and the user by
providing a logical method. This layer switches and routes message packets as
important to receive them to their destination.
It is important for sending and delivering message packets. The network layer makes routing
decisions and promotes the packets for devices that are farther away than a single
connection.
The network layer can also break huge packets into small blocks if the packet is larger than
the most considerable data link layer. The network reassembles the fragments into packets at
the receiving end.
Application Layer
This layer supports services for client and software functions. It decides how the user
will use the data network. It allows the client to use the structure.
Raspberry Pi Features
CPU: The brain of the computer, responsible for processing information.
RAM: Temporary storage for data the CPU is actively using.
WiFi and Bluetooth: Wireless communication capabilities.
Ethernet: Wired internet connection.
USB Ports: Connect to peripherals like keyboards, mice, and external
storage.
HDMI: Connects to displays for video output.
SD Card Slot: For storing operating systems, applications, and data.
Audio Jack: For connecting headphones or speakers.
GPIO Pins: General-purpose input/output pins for connecting to
external devices.
Power Supply: Provides electricity to the board.
What is Arduino
Arduino is an open-source electronics platform that combines a
programmable circuit board (hardware) with a development environment
(software) for writing and uploading code to the board to perform specific
functions. It is known for its user-friendly nature, affordability, and extensive
community support, which makes it widely accessible, particularly for
beginners.
Arduino Features
Microcontroller: Serves as the core processing unit, handling simple
commands in real time.
GPIO Pins: General-purpose input/output pins for connecting to
external devices.
Power Supply: Provides electricity to the board.
USB: Connects to a computer for programming and power.
Reset Button: Restarts the board.
PWM: Modulates the width of pulses to simulate varying output levels
and can be used to control LED brightness or motor speed.
Serial Communication: Sends and receives bits sequentially.
Parallel Communication: Sends multiple bits simultaneously.
Interrupts: Responds to external events.
Timers: Precisely controls timing.
ADC: Converts analog signals to digital.
Memory: Stores programs and data.
Crystal Oscillator: Provides stable timing for the board.
#define echoPin 6
#define trigPin 7
long duration;
int distance;
void setup()
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
Serial.begin(9600);
void loop()
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" cm");
}
MAC protocol
The description of four types of MAC protocols is listed below −
It is used for accessibility purposes. To transmit the data from one node
to another node, before initiation it will check for the nearest nodes and
their positions and also examine the carrier status. The accessibility of the
channel is specified by the carrier status. If the value is ideal, then it can
start the transmission of data. If it is not then the node has to wait for a
while. This mechanism will reduce the collision and simultaneous
accessing of resources. It is flexible even the network grows or shrinks.
There is no guarantee of transmission of data and it is solely dependent
on the sender. Under contention-based, there are sender-based and
receiver-based sender-based transmissions that can start by the sender.
The receiver initiates the Connection.