Download presentation
Presentation is loading. Please wait.
Published byMalcolm Nash Modified over 8 years ago
1
Bdps 2 Lecture 2
2
Circuits and Ohm's Law For resistive circuits
3
Series and Parallel Circuits Series circuit Same current, voltage divides Parallel circuit Same voltage, current divides
4
Illustration on Board
5
Series Example
6
Parallel Example
7
Our First Circuit Blink an LED Determine the resistor value Use a switch to activate the circuit
8
Components Battery(power supply) Resistor LED Switch
9
Functions Battery to power circuit LED to produce the light Resistor to control circuit current suitable for the LED Switch to turn the circuit 'on'
10
Draw Schematic
11
Determine Values LED rated for 11mA(milliampere) forward current at 2V (volts) For a 5V battery power and 2V across the LED the remaining 3V need to appear across the resistor Since LED is rated at 11mA(0.011A) and is in series with resistor, same current flows through resistor. So resistor value should be 3/0.011 = 272.7ohm. We will use 270 ohm.
12
Calculation on Board
13
Physical Setup and Demo
14
Using Arduino Control LED Use a digital output line Control timing
15
Arduino IDE
16
Free Download http://arduino.cc/ http://arduino.cc/en/Main/Software
17
Software Introduction File input/output System setup Serial communication Program upload Help and reference
18
Software Introduction Comments Setup section Subroutine section Main program
19
Blink LED Programming Select output pin System setup DigitalWrite function Delay() function
20
Demo Physical setup Write program for arduino Upload program Run system
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.