ELECTRONICS
ELECTRONICS
MATTER
Anything that occupies space and has mass is called as Matter. Matter is made up of atoms and
molecules. Atoms can further be divided into smaller particles called Electrons, Protons and
Neutrons.
NEUTRONS NO CHARGE
ROLE OF WIRES
Power sockets - source of energy
Mobile phones - power consuming load
But the mobile phone cannot be charged without plugging in the charger. Here the charging wire
acts as a path for energy to flow from source to load
Series Circuit
A circuit where components are connected end to end in a line are called a series circuit. In a
series circuit the current flowing through each load is the same, but the voltage keep’s dropping
at each load.
Parallel Circuit
A circuit where all components are connected across each other with the same terminals. In a
parallel circuit, the energy drop through each load is the same, but the current that flows through
each load is different.
SERIES PARALLEL
The same amount of current flows through all The current flowing through each component
the components. is different
The components are arranged in a line The components are arranged parallel to
each other
If one component breaks down, the whole Other components will function even if one
circuit will burn out component breaks down, each has its own
independent circuit
If Vt is the total voltage then it is equal to V1 + If Vt is the total voltage then it is equal to V1 =
V2 V2 = V3
MEASUREMENTS
VOLTAGE MEASUREMENT
● Voltage is the measure of energy stored
● Voltage is measured in volts
● Multimeter can only measure the difference in the voltage between two points. This
measure is called voltage difference or voltage drop
● To measure voltage difference, the multimeter has to be connected to a high voltage
source on the red terminal and low voltage source on the black terminal
● Voltage drop is always measured across a component that is on parallel to a component
● This is because when the voltage is at the end of a resistor is high and the other end is
low, only then the current will start to flow from higher potential to a lower potential
CURRENT MEASUREMENT
● Current is the measure of the flow of the electricity.
● Multimeters can measure current flowing through them
● They have to be placed in series with the component through which the current has to
be measured
● This is because all the current that is to be measured should be flowing through the
multimeter
● The current should always be measured with a component in series or it might destroy
the component.
RESISTANCE MEASUREMENT
● Resistance is the measure of stoppage of the current in the component
● It should be measured independently outside of a circuit as current may interfere with the
reading
● This means that only one, or a small circuit is used to measure the resistance
OHM’s LAW
OBSERVATIONS
In the first experiment, the resistance was kept constant
When voltage was increased, the current also increased
When current was increased, the voltage also increased
This means that voltage and current are directly related to each other (which means increasing
anyone quantity leads to increase in the other and vise versa)
The second and third experiments indicated that current and resistance are inversely related to
each other (which means that increasing anyone quantity leads to decrease in the other and
vise versa)
OHM’s LAW
Ohm’s law states that current flowing through the conductor is directly proportional to the
voltage across the conductor
V∝I
When we remove the proportionality symbol and replace it with an equal to symbol, we add a
constant variable .
Electrical Electronic
In the electrical circuit, electrical energy In the electronic circuit, energy consists of
consists of flow of electrons flow of electrons and hole
The electrical devices produce the voltage Electronic devices controls the voltage and
and the current the current
Electrical devices occupy large size and It occurs in small sizes. You can easily
requires more space transport the electronic circuit /pieces of
equipment
ELECTRICAL POWER
● It is the measure total energy that can be used by a component in a unit of time
● It is given by the product of voltage and current in a circuit at any given time
● Power = Voltage * Current
Note: High power equipments are generally electrical and low power equipments are electronic
TOTAL RESISTANCE
ELECTRONIC SWITCHES
We use electronic switches in our circuit which can be switched on and off by electric voltages.
These switches are called transistors.
We can apply high and low voltages to the transistor to open and close the circuits.
This component is similar to an automatic tank refilling mechanism.
When the tank is empty, the floating ball in the tank goes down and opens the path of the water
automatically to refill the tank.
ELECTRONIC GATES
● Gates are an innovation above transistors. They can sense voltage on multiple ends and
give an output depending on the voltages sensed
● There are many types of gates that can be used, namely AND gate, OR gate and NOT
gate. There are more types of gates available, but these are the main type
TRUTH TABLE
Truth table plays the most
important role while studying
the concept of electronic gates. Truth table is the table which tells the possible outcome based
on the input applied to the particular gate.
A B OUTPUT
0 0 0
0 1 0
1 0 0
1 1 1
A B OUTPUT
0 0 0
0 1 1
1 0 1
1 1 1
INPUT OUTPUT
A NOT A
0 1
1 0
IC TYPES
BREAD BOARD
● All the rows and columns exhibit a special kind of property
Where Q stands for charge, V stands for potential difference and C stands for capacitance.
MICRO CONTROLLER
A microcontroller is a small low cost micro computer which is designed to perform specific tasks
in an embedded system.
Microcontrollers are devices which can control various electronic components which are
attached to it.
They have the following things in them: Processor, Memory and Circuit.
It has input and outputs similar to computers. These inputs are provided to connect input
devices to a microcontroller. Output devices can be connected to it as well.
Input and output devices are connected to microcontrollers using pins on the microcontroller.
These inputs are processed using a microcontroller which can also be thought of as an
assembly of many logic gates.
ARDUINO: IMAGE
ARDUINO: DESCRIPTION
● Arduino UNO is powered by a power adapter and has both digital and analog pins,
power to the components connected to it can be provided to it by the board itself.
● USB port can be used to connect to a computer
● Reset button can be used to reset the board if required
● Analog pins can be used to connect Analog components
● Digital pins can be used to connect and provide digital input and output facility
DIGITAL PINS
Digital means that it will have either ON or OFF as its state. ON is represented with 1 and OFF
with 0
FEATURES:
● There are 14 digital pins in ARDUINO UNO
● These pins can be used as input as well as output
● All these pins are specified to do a certain task like turning ON and OFF the bulb
connected
● Also these pins can be used as general use of input and output too
IDE (Integrated Development Environment)
It is a software application that helps programmers develop software code efficiently. It
increases developer productivity by combining capabilities such as software editing, building,
testing, and packaging in an easy-to-use application. Just as writers use text editors,
accountants use spreadsheets and software developers use ide’s to make their job easier.
ARDUINO IDE
PLATFORM EXPLANATION
void setup()
{
pinMode(LED_BUILTIN, OUTPUT);
}
void loop()
{
digitalWrite(LED_BUILTIN, HIGH);
delay(1000); // Wait for 1000 millisecond(s)
digitalWrite(LED_BUILTIN, LOW);
delay(1000); // Wait for 1000 millisecond(s)
}
CODE EXPLANATION
Void setup ()
This is the name of the function which is used to control the Arduino. Curly braces are used to
start and end a function (functions are used to perform some particular task step by step).
pinMode ()
It is used to instruct the pin to perform some task, input or output. In this case, the digital pin
number 13 is used and it is used to output light using a LED.
Void loop ()
It is used to perform a task again and again
digitalWrite(13, HIGH)
This will set the digital pin 13 of the board as high position. This will turn ON the load connected
to 13
delay(1000)
This will make the LED stay turned on for 1000ms or 1s
digitalWrite(13, LOW)
This will set the digital pin 13 of the board as a low position. This will turn OFF the load
connected to 13
SENSORS
A sensor is a device that produces an output signal for the purpose of sensing a physical
phenomena. It detects the change in the environment and responds to some output on the other
system
FEATURES
● They detect or measure a physical property
● It can be light, sound or motion etc
● They send this data to some computation device like arduino to do some task based on
that data
SENSORS USED IN ARDUINO
There are various sensors used with arduino: for sensing light, proximity, gasses, some sounds
(mic etc)
PROXIMITY SENSOR
A proximity sensor is a sensor able to detect the presence of nearby objects without any
physical contact. A proximity sensor often emits an electromagnetic field or a beam of
electromagnetic radiation. (infrared) looks for changes in the field or return signal
EX: They are commonly used in mobile phones. During a telephone call proximity
sensors play a role in detecting accidental touch screen taps when mobiles are held to
the ears
CONNECTION
Connect the Vcc terminal of the PIR sensor to the 5V pin of the Arduino board.
Connect the Output terminal of the PIR sensor to pin 8 of the Arduino board.
Connect the GND terminal of the PIR sensor to the Ground pin of the Arduino board.
Connect the positive leg of the LED in series with 220 Ohm resistor to pin 13 of the Arduino
board.
Connect the negative terminal of the LED to the Ground pin of the Arduino board.
RELAY
An electromechanical relay is a type of relay which functions using a magnetic field produced by
an electromagnetic coil when a control signal is applied to it. It is called as electromechanical
since it has moving contacts in the output circuit which are operated by applying a electrical
signal
Relays are used where it is necessary to control a circuit by a independent low power signal, or
where several circuits must be controlled by one signal
APPLICATIONS
● Relays are used to protect the electrical system and to minimize the damage to the
equipment connected in the system due to over currents/voltages.
● The relay is used for the purpose of protection of the equipment connected with it.
● These are used to control the high voltage circuit with low voltage signal in applications
audio amplifiers and some types of modems.
● Typical application areas of the relays include:
Lighting control systems
Telecommunication
Industrial process controllers
Traffic control
Motor drives control
Protection systems of electrical power system
Computer interfaces
Automotive
Home appliances
● Every electromechanical relay consists of an consists of an:
Electromagnet
Mechanically movable contact
Switching points and
Spring
● The low voltage side has a set of four pins and a set of 3 pins
● The set at the right consists of VCC, GND, IN1 and IN2
● The second set of pins consists of GND, VCC, JD-VCC