Basic Understanding
BASIC UNDERSTANDING
Define electricity, V, I, R, & P.
V = Voltage is a force or potential difference (units volts) and it is also an abundance of electrons VS An absence of electrons VS A balance of electrons
I = Current is the rate of flow of an electric charge throughout a certain section in a circuit or entire circuit and is is the amount of electrons flowing per second at one point
R = Resistance is the function of restricting voltage flow
P = Power is the rate at which energy is taken into or created in a circuit
Define IO of GPIO
IO - Stands for Input/Output pins
States of input
High Pins
Low Pins
Floating Pins
Input Example: LED
States of output
High Pins
Low Pins
Floating Pins
Output Example: Button
analogRead() - ADC
Analog To Digital Conversion
It has the ability to find minute levels of analog
analogWrite() - PWM
It is a method for obtaining results(analog)
Current limiting, pullup, pulldown Rs
These resistors are made to either limit the current or increase/decrease it
Voltage dividers
You can use a voltage divider so that you can split the voltage
Calculate current limits in series & ||
You can calculate the series limit by finding the sum of all the resistors and this value will show the limit of the current
Calculate R for LED (advanced)
To find the Resitance of a LED you need to find out the following values: Battery voltage, LED voltage, and LED current(user's choice)
To calculate it you need to subtract the LED voltage from the Battery voltage and then divide that value by the user's LED current to get Resistance of the LED
LED Resistance = (Battery Voltage - LED Voltage)/(User's LED Current)