16
1 Basic Electronics Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. • (+) - A lack of electrons • (-) – A surplus of electrons • When a circuit is formed, electrons will flow to equalize out the 2 sides. Current (I): The measure of the flow of electrons. Amps. Resistance (R): Opposition to current flow. Ohms. Ohm's Law: I = V/R

1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

Embed Size (px)

Citation preview

Page 1: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

1

                      

Basic ElectronicsBasic Electronics

Voltage (V or E): Potential difference between 2 points. Volts.• (+) - A lack of electrons• (-) – A surplus of electrons• When a circuit is formed, electrons will

flow to equalize out the 2 sides.Current (I): The measure of the flow

of electrons. Amps.Resistance (R): Opposition to

current flow. Ohms.Ohm's Law: I = V/R

Page 2: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

2

                      

Page 3: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

3

                      

ResistorsResistors

Devices used to insert resistance, or oppose current flow. Used to limit current flow.

Color codes are used to indicate the value.

Page 4: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

4

                      

From Appendix C

Page 5: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

5

                      

The LEDThe LED

LED: Light Emitting DiodeDiode: Device which allows current

to flow in only one direction.To operate, is must be installed

correctly with respect to polarity.

Page 6: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

6

                      

A regular LED can be damaged if current exceed 20mA (milliamps).

Apply ohm's law to find the resistor size that will limit current to 20mAwith a 5V supply.

I = V/R

Page 7: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

7

                      

LED Circuit SchematicLED Circuit Schematic

Page 8: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

8

                      

The BreadBoardThe BreadBoard

Breadboards are used to make connections between devices.

Page 9: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

9

                      

Building the CircuitBuilding the Circuit

Page 10: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

10

                      

Pictorial or Wiring DiagramPictorial or Wiring Diagram

Page 11: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

11

                      

Code to Blink LEDsCode to Blink LEDs

Page 12: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

12

                      

TaskTask

Perform Chapter 2 up to this point (page 52), including "Your Turn- Blink the other LED"

Page 13: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

13

                      

Additional – The Speaker/BuzzerAdditional – The Speaker/Buzzer

A small piezoelectric speaker is included with your kits.

A frequency can be sounded on it using the FREQOUT command.FREQOUT pin, duration, frequency• pin: Pin it is connected to.• duration: Length of time in milliseconds.• frequency: Frequency to play,

measured in Hertz (Hz).

Page 14: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

14

                      

Sound the Speaker for 1 second at 1000Hz

Page 15: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

15

                      

GroupGroup TaskTask

Write a program that will:• Display in DEBUG Window

"Stop! Police!"• Turn ON P12 LED• Sound a tone for ½ second at 1000Hz• Turn OFF P12 LED• Turn on P13 LED• Sound a tone for ½ second at 2000Hz• Turn off P13 LED• Repeat sequence

Page 16: 1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit

16

                      

Individual TaskIndividual Task

Develop a program to act as a "Ray Gun" movie prop. Use appropriate lights and sound sequences.