Training Report
Training Report
LTD
2024-2025
Submitted By:-
Submitted To:-
Table of Content
1. Basic Electronics
2. C & C++
3. PCB DESGINING
4. EMBEDDED SYSTEM
5. IOT
6. ROBOTICS
7. PLC
Basic Electronics
Resistance
Diode
Capacitor
Transistor
IC’S
Resistance
Resistance:- A passive electrical component with two
terminals that are used for either Limiting or regulating the
flow of electric current in electrical circuits.
Resistance
Types of Resistors
Resistors are available in different shapes and sizes. Common
types that are available are through-hole and surface mount. A
resistor might be static, standard resistor, special, or a pack of
variable resistors.
Capacitor Symbol
Classification of Capacitors:-
Capacitors come in a variety of sizes and shapes, ranging
from very small capacitors used in resonant circuits to
enormous capacitors needed to stabilize HVDC (High
Voltage Direct Current Transmission) lines. Capacitors
are mainly divided into Fixed and Variable capacitors
Some common types of capacitors are:
Ceramic capacitors
Silver mica, glass, silicon, air-gap, and vacuum
capacitors
Film and paper capacitors
Double-layer capacitors
Aluminum, tantalum, and niobium electrolytic
capacitors
Polymer capacitors
Hybrid capacitors
Pseudo capacitors
The different types of capacitors based on their structure are
as follows:
Symbol of Diode
Diode Construction
Diodes can be made of either of the two semiconductor materials, silicon and
germanium. When the anode voltage is more positive than the cathode voltage, the
diode is said to be forward-biased, and it
conducts readily with a relatively low-
voltage drop. Likewise, when the cathode
voltage is more positive than the anode, the
diode is said to be reverse-biased. The
arrow in the diode symbol represents the
direction of conventional current flow when
the diode conducts.
Reverse-biased Diode
A diode is said to be reverse-biased when the battery’s voltage is
dropped completely. For silicon diodes, the reverse current is -20μA and
for germanium, -50μA is the reverse current. The potential energy
across the p-type material is negative and across the n-type material, the
potential energy is positive.
Zero-biased Diode
When the diode is zero-biased, the voltage potential across the
diode is zero.
Diode Applications
Following are the applications and uses of the diode:
Diodes as a rectifier
Diodes in the clipping circuit
Diodes in clamping circuits
Diodes in logical gates
Diodes in reverse current protection
Transistors
A transistor is a type of semiconductor device that
can be used to conduct and insulate electric current
or voltage. A transistor basically acts as a switch
and an amplifier. In simple words, we can say that a
transistor is a miniature device that is used to control
or regulate the flow of electronic signals.
Transistors are one of the key components in most of the
electronic devices that are present today. Developed in the
year 1947 by three American physicists, John Bardeen,
Walter Brattain and William Shockley, the transistor is
considered one of the most important inventions in the
history of science.
Types of Transistors
There are mainly two types of transistors, based on how
they are used in a circuit.
Analog Design
Digital Design
Mixed Design
INTEGRATED CIRCUIT
C & C++
History of C Language:-
If Statement:-
1.#include<stdio.h>
2.int main(){
3.int number=0;
4.printf("Enter a number:")
;
5.scanf("%d",&number);
6.if(number%2==0){
7.printf("%d is even numbe
r",number);
8.}
9.return 0;
10. }
If-else Statement:-
1.
#include<stdio.h>
2.int main(){
3.int number=0;
4.printf("enter a number:");
5.scanf("%d",&number);
6.if(number%2==0){
7.printf("%d is even number",number);
8.}
9.else{
10. printf("%d is odd number",number);
11. }
12. return 0;
13. }
C Program to print "hello" without
semicolon:-
Using if statement
1. #include<stdio.h>
2. int main()
3. {
4. if(printf("hello world")){}
5. return 0;
6. }
OUTPUT:-
Enter the number to check prime:56
Number is not prime
OUTPUT:-
Enter a number:654
Sum is=15
Enter a number:123
Sum is=6
C Program to reverse number:-
1. #include<stdio.h>
2. int main()
3. {
4. int n, reverse=0, rem;
5. printf("Enter a number: ");
6. scanf("%d", &n);
7. while(n!=0)
8. {
9. rem=n%10;
10. reverse=reverse*10+rem;
11. n/=10;
12. }
13. printf("Reversed Number: %d",reverse);
14. return 0;
15. }
OUTPUT:-
1.#include<stdio.h>
2.int main()
3.{
4. int i,fact=1,number;
5. printf("Enter a number: ");
6. scanf("%d",&number);
7. for(i=1;i<=number;i++){
8. fact=fact*i;
9. }
10. printf("Factorial of %d is: %d",number,fact);
11. return 0;
12. }
OUTPUT:-
Enter a number: 5
Factorial of 5 is: 120
Factorial Program in C:-
1.#include<stdio.h>
2.int main()
3.{
4. int i,fact=1,number;
5. printf("Enter a number: ");
6. scanf("%d",&number);
7. for(i=1;i<=number;i++){
8. fact=fact*i;
9. }
10. printf("Factorial of %d is: %d",number,fact);
11. return 0;
12. }
OUTPUT:-
Enter a number: 5
Factorial of 5 is: 120
Count the number of digits in C:-
1.#include <stdio.h>
2.int main()
3.{
4. int n; // variable declaration
5. int count=0; // variable declaration
6. printf("Enter a number");
7. scanf("%d",&n);
8. while(n!=0)
9. {
10. n=n/10;
11. count++;
12. }
13.
14. printf("\nThe number of digits in an integer is
: %d",count);
15. return 0;
16. }
PCB DESGINING
Printed circuit boards (PCBs) are the boards that are used as
the base in most electronics – both as a physical support
piece and as the wiring area for the surface-mounted and
socketed components. PCBs are most commonly made out
of fiberglass, composite epoxy, or another composite
material.
The different types of PCBs available are
Single-Sided PCBs
Double-Sided PCBs
Multilayer PCBs
Rigid PCBs
Flex PCBs
Rigid-Flex PCBs
Rigid PCBs
A rigid PCB is a circuit board that cannot be
twisted or folded. The board’s base material is a
rigid substrate, which gives the board rigidity and
strength. They are composed of multiple layers
including a substrate layer, a copper layer, a solder
mask layer, and a silk screen layer which are
adhered together with adhesive and heat. Although
some circuit boards are either single-sided, double-
sided, or multi-layered, rigid PCBs may be any of
these depending on the needs.
Rigid PCBs are used in GPS equipment, computer,
laptops, tablets, mobile phones, X-rays, heart
monitors, CAT scans, MRI systems, temperature
sensors, control tower instrumentation, etc.
Flex PCBs
3d view:-
IR SENSOR
Schematic View:-
PCB Layout:-
2D & 3D Diagram:-
EMBEDDED SYSTEM
An Embedded System is a system that has
software embedded into computer-hardware,
which makes a system dedicated for a variety of
application or specific part of an application or
product or part of a larger system.
An embedded system can be a small independent
system or a large combinational system. It is a
microcontroller-based control system used to
perform a specific task of operation.
An embedded system is a combination of three major
components:
Apsd St
ARDUINO PROJECT
Blinking Led
Components Required:-
1 × Breadboard
1 × Arduino Uno R3
1 × LED
1 × 330Ω Resistor
2 × Jumper
Procedure:-
Sketch:-Open the Arduino IDE software on your computer. Coding
in the Arduino language will control your circuit. Open the new sketch
File by clicking New.
ARDUINO CODE:-
/*
Blink
Turns on an LED on for one second, then off for one second,
repeatedly.
*/
// the setup function runs once when you press reset or power the
board
void loop() {
digitalWrite(2, HIGH); // turn the LED on (HIGH is the voltage
level)
delay(1000); // wait for a second
digitalWrite(2, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Arduino - Ultrasonic Sensor
The HC-SR04 ultrasonic sensor uses SONAR to determine the
distance of an object just like the bats do. It offers excellent non-
contact range detection with high accuracy and stable readings in
an easy-to-use package from 2 cm to 400 cm or 1” to 13 feet.
Components Required:-
o 1 × Breadboard
o 1 × Arduino Uno R3
o 1 × ULTRASONIC Sensor (HC-SR04)
PROCEDURE:-
Arduino Code
const int pingPin = 7; // Trigger Pin of Ultrasonic
Sensor
const int echoPin = 6; // Echo Pin of Ultrasonic Sensor
void setup() {
Serial.begin(9600); // Starting Serial Terminal
}
void loop() {
long duration, inches, cm;
pinMode(pingPin, OUTPUT);
digitalWrite(pingPin, LOW);
delayMicroseconds(2);
digitalWrite(pingPin, HIGH);
delayMicroseconds(10);
digitalWrite(pingPin, LOW);
pinMode(echoPin, INPUT);
duration = pulseIn(echoPin, HIGH);
inches = microsecondsToInches(duration);
cm = microsecondsToCentimeters(duration);
Serial.print(inches);
Serial.print("in, ");
Serial.print(cm);
Serial.print("cm");
Serial.println();
delay(100);
}
long
microsecondsToInches(long microseconds) {
return microseconds / 74 / 2;
}
Procedure:-
Arduino Code
#include <Servo.h>
Servo myservo; // create servo object to
control a servo
int potpin = 0; // analog pin used to connect
the potentiometer
int val; // variable to read the value from
the analog pin
void setup() {
myservo.attach(9); // attaches the servo on
pin 9 to the servo object
}
void loop() {
val = analogRead(potpin);
// reads the value of the potentiometer
(value between 0 and 1023)
val = map(val, 0, 1023, 0, 180);
// scale it to use it with the servo (value
between 0 and 180)
myservo.write(val); // sets the servo
position according to the scaled value
delay(15);
}
Arduino LCD Display
The LCD (Liquid Crystal Display) is a type of display that uses
the liquid crystals for its operation.
Hardware Required:-
The components required for the project are listed below:
Features of IOT
The most important features of IoT on which it works are
connectivity, analyzing, integrating, active engagement, and
many more. Some of them are listed below:
IoT Architecture
There is not such a unique or standard consensus on the Internet of
Things (IoT) architecture which is universally defined. The IoT
architecture differs from their functional area and their solutions.
However, the IoT architecture technology mainly consists of four
major components:
o Sensors/Devices
o Gateways and Networks
o Cloud/Management Service Layer
o Application Layer
IOT PROJECTS
IoT project of controlling home light using WiFi Node MCU,
and Relay module
Hardware Requirements
1. Wi-Fi Node MCU ESP8266
2. Standard USB cable to connect Node MCU
3. 4 Channel Relay module (5V)
Software requirements:-
1. Arduino software
2. Blynk app
Mobile data.
ROBOTICS
Robotics is a branch of Artificial Intelligence (AI), it
is mainly composed of electrical engineering,
mechanical engineering and computer science
engineering for construction, designing and
application of robots.
Robotics is science of building or designing an
application of robots. The aim of robotics is to
design an efficient robot.
First use of the word "Robotics":
The word robot was firstly introduced to public by
Czech writer Karel Capek in his play Rossum's
Universal Robots (R.U.R), published in 1920. The
play begins with a factory that makes artificial
people known as robots.
The word "Robotics", was coined accidentally by
the Russian-born, American scientist, Issac Asimov
in 1940s .
Types of PLC:-
functions.
PS:-
PS stands for Power Supply. The power supply acts as a power source
for the PLC system. It converts the high voltage into low voltage or
DC, such as 120V AC to 24V DC.
The Linear power supply is less complicated than the other modes
of power supply.
SMPS:-
It stands for Switch Mode Power Supply. SMPS is power conversion and
a high-frequency power conversion device. It converts the voltage
level into the specifically required voltage. SMPS uses solid stat
switches to convert the AC supply into the smooth DC supply.
PLC Cycle:-
The PLC system is often expensive. The incorrect programming or
design of PLC can result in loss of productivity. To save the time to
design of PLC control applications, simulation software like PLC
Logix are recommended. Such software saves time and also
increases the safety associated with the PLC equipment.
Scan cycle of PLC:-
The PLC continuously scans the process because the
inputs are random (can change any time). The scan cycle
is divided into three parts, named Input scan, Output
scan, and program execution.
o Siemens
It is the German multinational company that
manufactures PLC. It is well known and most used
PLC all over the world.
o Rockwell Automation
It is an American company that also took over the
Allen Bradley brand. It is the largest manufacturer of
PLCs and well known in the United States.
o ABB
The ABB is a Swiss multinational company that
provides PLCs within vast industries and applications.
o Omron
It is a Japan-based electronics company.
o GeneralElastic
It is an American based PLC company.
o Delta
It deals with all types of automation machines. It is a
Taiwan- based PLC manufacturer.
o Schneider
The Schneider is a French-based PLCs manufacturer.
o Mitsubishi
It is a Japanese MNC group that manufactures PLC.
o Koyo Electronics Corporation Limited
It manufactures the Direct Logic PLC brand. It is a
Japanese based industry.
PLC Programming:-
PLC programming is a crucial task of implementing and
designing control applications as per the user
requirements. It is the set of instructions that can be in
the graphical or textual form.
Ladder Logic
ST (Structured Text)
IL (Instruction List)
Here, A and B are the inputs, while L is the lamp. The lamp will
glow when the current flows through the circuit and reaches the
lamp. Otherwise, the lamp will not glow.
The lamp will not light because the starting button is OFF. The
current will not flow.
Here, the lamp will light. Hence, the condition of the AND gate is
satisfied.
Similarly, we will create a ladder diagram for all the gates using
the same logic, as discussed above.
Applications of PLC
We generally use a desktop or laptop for
programming.
Some of the applications of PLC are
listed below:
o Controlling elevators
o Controlling traffic signals
o Washing machines
o Amusement rides
o Machinery control
o Bottle filling system
o Water tank level control
o These PLCs are available in failsafe and
standard versions.
o It comes with extended communication
functions and improved data transfer.
o It allows the transfer of sensitive machine
data.
o It supports predictive maintenance.
o It also supports data transfer with other
controllers.
o It enables data storage.
H A P P Y E N D IN G