Arduino
Arduino
BREADBOARD
This diagram shows how the breadboard
holes are connected:
SESSION 9
Rt = R1 + R2 + R3…
Using this formula, you find that the total resistance of the circuit is:
RT = 15 Ω + 5 Ω + 20 Ω = 40 Ω
Series circuit
The total current in a series circuit is the same as the current through
any resistance of the circuit.
It = I1 = I2 = I3…
Given 120 V as the total voltage, and having determined the total
resistance of the circuit as 40 Ω, you can now apply Ohms law to
determine the total current in this circuit:
IT = 120 V/ 40 Ω = 3 A
This total circuit current would remain the same through all the
individual circuit resistors.
The total voltage in a series circuit is equal to the sum of all the
individual voltage drops in the circuit.
ET = E1 + E2 + E3…
Using Ohms law you can determine the
voltage across each resistor.
3 A × 15 Ω = 45 V
3 A × 5 Ω = 15 V
3 A × 20 Ω = 60 V
45 V + 15 V + 60 V = 120 V
Voltage: The voltage is equal across all components in a parallel circuit.
Current: The total circuit current equals the sum of the individual branch currents.
Resistance: The total resistance of a parallel circuit is less than any of the individual brand resistances
This is the second principle of parallel circuits: the total parallel circuit current equals the
sum of the individual branch currents.
Light Emitting Diode - LED
● Semi-conductor diode that converts electric
energy into electromagnetic radiation at a visible
and near infrared frequencies when its pn
junction is forward biased.
42 V
R2 = 8 Ω
R3 = 10 Ω
Format:
Given :________ 27
________
________
________
Solution: Rt = ____________
Rt = ____________
Rt = ____________
It=_____________
It=_____________
It=_____________
76 V
R2 = 8 Ω
R3 = 16 Ω
3. Parallel Circuit: Find the ,
R1= 8 Ω
80 V
R2= 4 Ω
R3 = 10 Ω
Format:
Given :________ 30
________
________
________
Solution: Rt = ____________
Rt = ____________
Rt = ____________
Vt=_____________
IR1=_____________
IR2=_____________
IR3=_____________
Itotal = __________
__________
__________
4. Parallel Circuit: Find the ,
R1 =12 Ω
30 V
R2 = 6 Ω
R3 = 14 Ω
32
33
Performance Task Format 34
SESSION 10
Control Structures
Conditional Structures
● Makes conditions or expression that evaluate to
either true or false.
●&&
logical AND
(return TRUE if condition A AND condition B are true, otherwise return
FALSE.)
●II
logical OR
(return TRUE if condition A OR condition B is true, otherwise return
FALSE.)
●!!
logical NOT
(return TRUE if condition A is false, otherwise return FALSE.)
Example: (A<10)
49
Serial Monitor
SE 55
Serial Monitor 56
Used
for communication between the Arduino board and a
computer or other devices
Types of Switches
59
1. Push Button / Tact Switch
Reacts to user interaction with the button or
switch when contacting with the control panel
beneath
60
1. Push Button / Tact Switch
Reacts to user interaction with the button or
switch when contacting with the control panel
beneath
https://www.instructables.com/How-to-use-a-Push-Button-Arduino-Tutorial/
61
62
2. Single Pole Single Throw Switch (SPST)