Activity 1 - FOR LOOP
Activity 2 - FOR LOOP
Activity 3 - FOR LOOP (Square)
Activity 4 - FOR LOOP
Activity 5 - Play the Scholl Song every 7:25am
PROJECT 1
Activity 6 - Traffic Light
Form a group of 5.
Document your project. You can use Word Processing, PowerPoint, Slides, Google Sites, etc
Title: TRAFFIC LIGHT
Materials used - Name the materials and define each component
Python Script - Create the Python Script. Debug the sample script and add timer that will display the timer for Red, Yellow and Green
Microbit (take a photo of your Construction)
Submit your Documentation
https://docs.google.com/forms/d/e/1FAIpQLScfFS6rkW6C0Ng64NX_9g0-Na8SrpC2fH1phlumakexp0Q70A/viewform
Answer the following
What is LED?
Why is one of the pin of the LED is shorter than the other?
What is the meaning/use of pins.digital_write_pin?
What is 0 for digital_write_pin means?
What is 1 for digital_write_pin means?
What is variable?
What is Resistor?
If you add a resistor to your LED what will happen to your LED?
Using the Formula V=I * R where V is voltage, I=current, R=Resistance; I = V/R; Compute the following
Given: Voltage = 3 volts
Resistance = 220 ohms
Compute the Current?
Ohm's Law states that the current through a conductor between two points is directly proportional to the voltage. This is true for many materials, over a wide range of voltages and currents, and the resistance and conductance of electronic components made from these materials remain constant. Ohm's Law is true for circuits that contain only resistive elements (no capacitors or inductors), regardless of whether the driving voltage or current is constant (DC) or time-varying (AC). It can be expressed using a number of equations, usually all three together, as shown below.
V = I × R
R = V / I
I = V / R
Where:
V is voltage in Volts
R is resistance in Ohms
I is current in Amperes