An initiative, named 'Road to 4IR' was taken by EMK Center -Maker Lab for training 30x4= 120 students (60 Male & 60 Female) in 04 cohorts in the technology of the 4th Industrial Revolution.
This session was the 4th of total of 04 sessions- where the initially trained participants will be further trained under the supervision of expert mentors to materialize the training by planning, designing, and making a scientifically proven concept paper/ robot/solution.
In this Session-04, students were introduced with basic electronics and Raspberry Pi. Topics were: Current, Voltage, Diode, Capacitor, Inductor, etc.
The program was held on 07th December, 2021. Both 3rd & 4th Cohort attended from 7:30 pm - 9:00 pm.
Both sessions were taken by Redwan Ferdous, Mentor of Embedded system of MakerLab, EMK Center, Dhaka, Bangladesh.
1. 2nd Phase Mentoring:
Road to 4IR
For Cohort-3 & 4 (Grade-07)
Birshreshtha Munshi Abdur Rouf Public College
4th & Final Session
07th December, 2021 | Thursday
Redwan Ferdous | Mentor, Maker Lab
ferdousr@emk.com.bd | redwanferdous.com
2. Today’s Agenda
Electrical, mechanical & programming excellence in Problem-
solving (plan, design and deploy): part-02
AND
- Open Platform for discussing+ Mentor Assignment
- Personal Project Portfolio development
- How to fill-up the project proposal form of EMK
07th December, 2021 2
4. Electricity can be broken down into:
• Electric Charge
• Voltage
• Current
• Resistance
07th December, 2021 4
5. Electrons
• The smallest amount of electrical charge having the quality
called negative polarity.
• Electrons orbit the center of atoms.
07th December, 2021 5
6. Protons
• The proton is a basic particle with positive polarity.
• Protons are located in the nucleus of atoms along with
neutrons, particles which have neutral polarity.
07th December, 2021 6
8. Electrically, all materials fall into 1 of 3
classifications:
• Conductors
• Insulators
• Semi-Conductors
07th December, 2021 8
9. Conductors
• Have 1 valence electron
• Materials in which electrons can move freely from atom to atom
are called conductors.
• In general all metals are good conductors.
• The purpose of conductors is to allow electrical current to flow
with minimum resistance.
07th December, 2021 9
10. Insulators
• Have 8 valence electrons
• Materials in which electrons tend to stay put and do not flow
easily from atom to atom are termed insulators.
• Insulators are used to prevent the flow of electricity.
• Insulating materials such as glass, rubber, or plastic are also
called dielectrics, meaning they can store charges.
• Dielectric materials are used in components like capacitors
which must store electric charges.
07th December, 2021 10
11. Semi-Conductors
• Have 4 valence electrons
• Materials which are neither conductors nor insulators
• Common semi conductor materials are carbon, germanium and
silicone.
• Used in components like transistors
07th December, 2021 11
12. The Symbol for Charge
• The symbol for charge is Q which stands for quantity.
• The practical unit of charge is called the coulomb (C).
• One coulomb is equal to the amount of charge of 6.25X1018
electrons or protons stored in a dielectric.
07th December, 2021 12
15. Voltage
• Potential refers to the possibility of doing work.
• Any charge has the potential to do the work of attracting a
similar charge or repulsing an opposite charge.
• The symbol for potential difference is E (for electromotive force)
• The practical unit of potential difference is the volt (V)
• 1 volt is a measure of the amount of work required to move 1C
of charge
07th December, 2021 15
17. Current
• When a charge is forced to move because of a potential
difference (voltage) current is produced.
• In conductors - free electrons can be forced to move with
relative ease, since they require little work to be moved.
• So current is charge in motion.
• The more electrons in motion the greater the current.
07th December, 2021 17
18. Current
• Uniform flow of electrons thru a circuit is called current.
WILL USE CONVENTIONAL FLOW NOTATION ON ALL
SCHEMATICS
07th December, 2021 18
19. • To measure current, must break circuit and install meter in line.
• Measurement is imperfect because of voltage drop created by meter.
07th December, 2021 19
20. Amperes
• Current indicates the intensity of the electricity in motion. The
symbol for current is I (for intensity) and is measured in
amperes.
• The definition of current is: I = Q/T
• Where I is current in amperes, Q is charge in coulombs, and T
is time in seconds.
07th December, 2021 20
21. 1 ampere = 1 coulomb per second
07th December, 2021 21
22. Resistance
• Opposition to the flow of current is termed resistance.
• The fact that a wire can become hot from the flow of current is
evidence of resistance.
• Conductors have very little resistance.
• Insulators have large amounts of resistance.
07th December, 2021 22
23. Resistance
• All materials have a resistance that is dependent on cross-sectional
area, material type and temperature.
• A resistor dissipates power in the form of heat
07th December, 2021 23
29. Power dissipation
• Resistance generates heat and the component
must be able to dissipate this heat to prevent
damage.
• Physical size (the surface area available to dissipate
heat) is a good indicator of how much heat
(power) a resistor can handle
• Measured in watts
• Common values ¼, ½, 1, 5, 10 etc.
07th December, 2021 29
30. Resistors in Circuits
Series
• Looking at the
current path, if there
is only one path, the
components are in
series.
07th December, 2021 30
32. Resistors in Circuits
Parallel
• If there is more than
one way for the
current to complete
its path, the circuit is
parallel
07th December, 2021 32
34. Ohms
• The practical unit of resistance is the ohm designated by the
Greek letter omega: Ω
• A resistor is an electronic component designed specifically to
provide resistance.
07th December, 2021 34
35. Diodes
Most modern diodes are semiconductor devices,
but are considered passive since they do not
contribute any amplification or gain to a circuit.
Cathode Anode
36. Diode types
May be classified by semiconductor material
silicon, germanium, gallium arsenide, etc.
Or classified by circuit function
Small signal detector or switching diode
Light-emitting diode (LED)
Rectifier diode
39. Comparison of DC & AC
DC Voltage AC Voltage
Fixed polarity Reverses polarity
Can be steady or vary in
magnitude
Varies in magnitude
between reversals in
polarity
Steady value cannot be
stepped up or down by a
transformer
Used for electrical power
distribution
Easier to measure Easier to amplify
Heating Effects the same for both AC and DC current
07th December, 2021 39
40. Many Circuits Include both AC & DC
Voltages
• DC circuits are usually simpler than AC circuits.
• However, the principles of DC circuits also apply to AC circuits.
07th December, 2021 40
41. Ohm’s Law
• The amount of current in a circuit is dependent on its resistance
and the applied voltage. Specifically I = E/R
• If you know any two of the factors E, I, and R you can calculate
the third.
• Current I = E/R
• Voltage E = IR
• Resistance R = E/I
07th December, 2021 41
42. Current is Directly Proportional to Voltage for a
Constant Resistance
OHM’s LAW
07th December, 2021 42
43. Power
• The unit of electrical power is the watt.
• Power is how much work is done over time.
• One watt of power is equal to the work done in one second by
one volt moving one coulomb of charge. Since one coulomb a
second is an ampere:
• Power in watts = volts x amperes
• P = E x I or P = V x I
07th December, 2021 43
44. 3 Power Formulas
• P = V x I
• P = I2 x R
• P = V2 / R
07th December, 2021 44
45. Conversion Factors
Prefix Symbol Relation to
basic unit
Examples
Mega M 1,000,000
or 1x106
5MΩ =
5x106 Ω
Kilo k 1,000 or
1x103
18kV =
18x103 V
Milli m .001 or
1x10-3
48 mA =
48x10-3A
Micro .000001 or
1x10-6
15V =
15x10-6V
07th December, 2021 45
46. What is a breadboard?
What are they good for?
Creatings, organizing, and prototyping a circuit.
Literally started out as a bread board with nails.
07th December, 2021 46
47. What are LEDs?
Light Emitting Diodes
Diode Symbol + Arrows for light
Points to ground
07th December, 2021 47
48. Hello World for a Circuit
Light and LED
Parts:
Battery
Resistor
LED
Why:
Power Source
An LED will light up when enough voltage is supplied but can
also burn out if too much is allowed to pass through. The
resistor will limit the voltage to prevent damage.
Do:
Connect Battery, Resistor, LED
07th December, 2021 48
52. Purpose
• Add and remotely control sensors, motors, actuators, GPIO boards,
and more
• Create triggers and threshold alerts for devices, events, and actions
• Schedule one-time or multi-device events for easy automation
07th December, 2021 52
55. What is Cayenne ???
• Cayenne is an app for smart phones and computers
• It allows you to control the Raspberry Pi and the Arduino through the
use of an elegant graphical interface and a solid nice communication
protocol.
07th December, 2021 55
56. Features of Cayenne
• Add and remotely control sensors, motors, actuators, GPIO boards,
and more
• Customizable dashboards with drag-and-drop widgets for connection
devices
• Create triggers and threshold alerts for devices, events, and actions
• Schedule one-time or multi-device events for easy automation
• Quick and easy setup - connect your Pi in minutes
07th December, 2021 56
57. How to connect & communicate
between Cayenne & Raspberry pi
???
07th December, 2021 57
58. Step 1: Sign Up to Cayenne
• Go to Cayenne site and Sign Up. After download the file and install the Cayenne system on your Raspberry
Pi.
• Link : https://mydevices.com/cayenne/landing/create-raspberry-pi-projects-with-cayenne/
07th December, 2021 58
59. Step 2: Connect your pi to internet
•Connect your Raspberry at your LAN by
cable
Or
•Connect your Raspberry to wifi network
07th December, 2021 59
60. Step 3: Download the App and Install
Cayenne
•Install in your
phone device :
Download from
play store or
Apple store
07th December, 2021 60
61. Step 4: Install manually Cayenne on your
Raspberry Pi by using Terminal of Raspberry
Pi
• Wget https://cayenne.mydevices.com/dl/rpi_b8w8pn82i9.sh
• sudo bash rpi_b8w8pn82i9.sh –v
•Please be patient 10 minute to
ultimate the installation process.
After this reboot your Raspberry.
07th December, 2021 61
62. Step 4: Install manually Cayenne on your
Raspberry Pi by using Terminal of Raspberry
Pi
07th December, 2021 62
63. Step 5 : See Your Device on Cayenne
Dashboard
07th December, 2021 63
64. Step 5 : See Your Device on Cayenne
Dashboard
• By using Computer you can see your device
on:https://cayenne.mydevices.com/
• By using a Smartphone you can open the app and see
your devices.
07th December, 2021 64
72. Step 7 : Connect a Led to Your Raspberry Pi
07th December, 2021 72
73. Step 7 : Connect a Led to Your Raspberry Pi
• Now you can connect a led to GPIO port of Raspberry
Pi.
• Use ALWAYS a resistor in series to led. If you don't use
a resistor, you can burn the led or the Raspberry Pi.
• See the photo and connect the led to pin number 11
or GPIO 17.
07th December, 2021 73
74. Step 8 : Switch ON the Led
07th December, 2021 74
75. Step 8 : Switch ON the Led
• Then Select the Pin 17 and click on Input. Setup the pin like Output,
and after click on LOW button.
• The button below Green and the word HIGH appear on it. Now your
led in ON!
• You can switch on the led by using your Raspberry Pi by LAN, and also
by a different Network Area.
• This is because Cayenne use a proprietary proxy.
07th December, 2021 75