Tinker electronics
Tinker electronics
SUMMER COURSE
Title: FUNDAMENTALS OF ELECTRONICS AND INTERACTIVE
PROTOTYPING WITH VIRTUAL SIMULATOR
Introduction to Electronics:
What is electricity?
Electricity is basically the flow of these tiny charged particles,
usually the negative ones (called electrons), from one place to
another. Think of electric charge like having two different teams:
positive and negative.
The formula P = V x I
P = Power:
This represents the rate at which electrical energy is being transferred or used,
measured in Watts (W).
V = Voltage:
This represents the potential difference, or the "push" that forces current through
the circuit, measured in Volts (V).
I = Current:
This represents the rate of flow of electric charge, measured in Amperes (A).
Ohm's law:
Ohm's law states that the electric current through a conductor
between two points is directly proportional to the voltage across the
two points. Introducing the constant of proportionality, the
resistance, one arrives at the three mathematical equations used to
describe this relationship:
Therefore, if AC is the type of power delivered to your house and DC is the type of power
you need to charge your phone, you are going to need an AC/DC power supply in order to
convert the AC voltage coming in from the power grid to the DC voltage needed to charge your
mobile phone’s battery.
1
Battery:
A battery is a device that stores energy and then discharges it by converting
chemical energy into electricity. Typical batteries most often produce electricity
by chemical means through the use of one or more electrochemical cells. Many
different materials can and have been used in batteries, but the common battery
types are alkaline, lithium-ion, lithium-polymer, and nickel-metal hydride.
Batteries can be connected to each other in a series circuit or a parallel circuit.
3
What is a Light Emitting Diode?
Construction of LED
The construction of LED is very simple because it is designed through the deposition of three
semiconductor material layers over a substrate. These three layers are arranged one by one where
the top region is a P-type region, the middle region is active and finally, the bottom region is N-type.
The three regions of semiconductor material can be observed in the construction. In the
construction, the P-type region includes the holes; the N-type region includes elections whereas the
active region includes both holes and electrons.
When the voltage is not applied to the LED, then there is no flow of electrons and holes so they are
stable. Once the voltage is applied then the LED will forward biased, so the electrons in the N-
region and holes from P-region will move to the active region. This region is also known as the
depletion region. Because the charge carriers like holes include a positive charge whereas electrons
have a negative charge so the light can be generated through the recombination of polarity charges.
From the above diagram, we can observe that the N-type silicon is in red color including
the electrons which are indicated by the black circles.
The P-type silicon is in the blue color and it contains holes, they are indicated by the white
circles.
The power supply across the p-n junction makes the diode forward biased and pushing the
electrons from n-type to p-type. Pushing the holes in the opposite direction.
Electron and holes at the junction are combined.
The photons are given off as the electrons and holes are recombined.
4
Consider example a LED consists of Voltage (Vled) = 2Volt
& Current (Iled) = 20mA (0.02A)
5
Switch:
In electrical engineering, a switch is an electrical component that can disconnect or
connect the conducting path in an electrical circuit, interrupting the electric current or diverting
it from one conductor to another. The most common type of switch is an electromechanical
device consisting of one or more sets of movable electrical contacts connected to external
circuits. When a pair of contacts is touching current can pass between them, while when the
contacts are separated no current can flow
Slide pins as the name suggest are mechanical devices which have a slider on the top
of switch which slides from one position to another. These have a slider that moves from one
position to another. Based on the actuator type, the handle can be either flush or raised.
6
Push Button:
Piezo Buzzers
Piezoelectric sound elements have a very unique convention. There is no magnetic
field, and no coil used in the construction. Applying an electric field to a piezoelectric material
changes its size, i.e. the diaphragm expands/ retracts as charges are introduced/ removed. The
base material in the assembly remains fixed. Piezo buzzers have a wide operating voltage
ranging from 3 – 250V, and low current draws, typically <10 mA. ISL piezo buzzers feature a
unique slim-line profile since they don’t have as many internal components, and are attractive
to applications with physical size constraints. Contact our engineering team with your buzzer
requirements. 7
Design a Water Level Indication System
8
Soldering Basics - Learn to Solder
The Solder: Solder comes in many thicknesses and multiple varieties of tin and lead
construction. Most solder is made from a combination of 60% tin and 40% lead. However, due
to changes in health codes mandating that lead solder be phased out, you'll see more lead-free
alternatives available for use. Thin solder is used for detailed work, like
placing components, and thicker solder is used for wire. Then there's
some really thick stuff you'll see plumbers using on copper pipes.
Solder that has a rosin core acts as a flux when soldering to help the
connection. Silver-content solder requires more heat but flows more
smoothly and creates a stronger joint. However, be warned that you'll
have a higher risk of damaging the components.
The Soldering Tip: The tip is an attachment to the iron and the main
tool in soldering. Tip width matters depending on the size of the solder
pad you are working with. There are many different types of tips out
there to use with different projects. The following types of tips are
usually preferred because they offer more contact: conical, pointed,
screwdriver and chisel.
9
Not maintaining a clean and well tinned tip with a coat of solder at all times could lead to a
soldering nightmare. Tinning your tip will improve conductivity and add longevity to your tip
by reducing oxidation. Always keep a damp sponge or metal wool cleaner nearby to ensure
you are always working with a clean tip. If you do use a damp sponge, wipe the tip quickly so
as not to cool off the tip too much. Using a metal wool cleaner doesn't require water, so no heat
will be lost. Make sure that you have sharp diagonal or flush cutters handy to trim all excess
leads after soldering. Also, a third hand is always helpful.
Soldering
By putting too much solder on your board you may cause two pads to accidently connect
together creating a connection that shouldn't be there, called a short circuit. You can fix this by
simply using a desolder wick to remove the solder causing the connection. Sometimes running
your iron right in the middle of the solder connection between the two pads will separate the
connection easily.
10
INTRODUCTION TO ARDUINO UNO:
The Arduino UNO is a standard board of Arduino. Here UNO means 'one' in Italian. It was
named UNO to label the first release of Arduino Software. It was also the first USB board
released by Arduino. It is considered a powerful board used in various projects. Arduino. cc
developed the Arduino UNO board. Arduino UNO is based on an ATmega328P
microcontroller. It is easy to use compared to other boards, such as the Arduino Mega board,
etc. The board consists of digital and analog Input/Output pins (I/O), shields, and other circuits.
The Arduino UNO includes 6 analog pin inputs, 14 digital pins, a USB connector, a power
jack, and an ICSP (In-Circuit Serial Programming) header. It is programmed based on IDE,
which stands for Integrated Development Environment. It can run on both online and offline
platforms. The IDE is common to all available boards of Arduino.
The components of Arduino UNO board are shown below
11
PROGRAME:
void setup()
{
pinMode(13,OUTPUT);
}
void loop()
{
digitalWrite(13,HIGH);
delay(1000);
digitalWrite(13,LOW);
delay(1000);
}
CONNECTION DIAGRAM:
12