Documente Academic
Documente Profesional
Documente Cultură
1. Label each circuit as either parallel or series and draw an arrow for the direction of
conventional current flow.
2. Label each component (B) for a battery, (R) for a resistor, (S) for a switch, and (L) for a lightbulb.
3. For circuit 1, calculate the resistance of the lightbulb if the ammeter reads 3A.
4. For circuit 1, calculate the power used by the lightbulb only if the ammeter reads 3A.
7. For circuit 3, the ammeter reads 1A, if I wanted it to read 2A should I move the arrow on the
variable resistor left or right?
8. For circuit 3, which common electrical component is represented by the variable resistor?
10. For circuit 4, assuming all the lightbulbs were identical and the ammeter read 5A, calculate the
resistance of each bulb (difficult, extra credit only).
Name:____________________________________________________________ Date:___________________
Programming
For each of the following questions refer to the program below:
#pragma config(Sensor, in1, pot, sensorPotentiometer)
#pragma config(Motor, port1, motor1, tmotorVex393_HBridge, openLoop)
Void P()
{ While(SensorValue(pot) != 10)
{ if(SensorValue(pot) > 10
{ setMotor(port1, 30);
}
Else
{ setMotor(port1, -30);
}
}
}
Void T()
{ While(SensorValue(pot) != 70)
{ if(SensorValue(pot) > 70
{ setMotor(port1, 50);
}
Else
{ setMotor(port1, -50);
}
}
}
task main()
{
T();
setMotor(port1, 0);
wait(1);
P();
setMotor(port1, 0);
}
1. If the program was started and the value for pot = 30 what is the first speed the motor be set
to?
2. If the program was started and the value for pot = 70 what is the first speed the motor would
be set to?
3. What condition has to be true for the program to move on from T()?
4. Based on the code, setting the motor speed to a positive value will do what to the value of pot?
6. If positive values turn the motor clockwise and turning the potentiometer clockwise reduces
the value of pot, sketch how the potentiometer and motor may be geared together.