Robotics 1
Digital Sensors
Quiz
Your ID Code:
Question 2:  What does a sensor produce as its output?
Question 3:  Which of the following describes the meaning of a 'transducer'?
Question 4:  I have a 'lever switch' that has three terminals: COM, NO, and NC.  I have connected a +5V signal to the COM port.  When I press the switch, what will happen?
Question 5:  What is the purpose of a pull-down resistor when wiring switches?
Question 6:  When we are checking to see if a pin is high in PSoC, how do we write that 'if' statement?
Question 7:  Which sensor term means 'the smallest change in the physical property that the sensor can detect'?
Question 8:  Suppose that you have an encoder that has 512 counts per revolution, and no gearbox, what is the smallest angle change (in units of degrees) that can be detected?  Round your answer to 2 decimal places.
Question 9:  Suppose that you are going to use the motor/encoder combination from your kit to measure the motor speed.  When you set the counter resolution to 4x and the motor shaft speed to 10 rpm, how many 'counts' will you read per second? Round your answer to two decimal places.
Question 10:  Now, suppose that you are going to use the motor/encoder combination from your kit to measure motor speed, and suppose you have set the counter resolution to 4x.  If you can count 'counts' at a maximum speed of 1 count per millisecond, what is the fastest motor speed, in units of rpm, that you can measure?  Round your answer to 2 decimal places.
Undergraduate/Graduate Questions (both undergraduates AND graduates should answer these questions):
Question 1: What does a sensor take as its input?
An electrical property
A physical property
A mechanical property
A program property
A device that produces sound from an electrical signal
A device that converts input signals into output signals
A device that produces electrical outputs from mechanical inputs
A device that converts energy from one form to another
NO and NC will both be low
NO and NC will both be high
A pull-down resistor connects a digital input pin to ground when a switch is open.
A pull-down resistor prevents a current spike from occurring when a switch is closed.
A pull-down resistor sets a digital pin high when a switch is closed.
A pull-down resistor provides some inductance to allow a switch to activate.
if (Switch_1_Read()==1)
{
}
Graduate Questions (ONLY graduates need to answer these questions):
An electrical property
A physical property
A mechanical property
A program property
NO will be high, and NC will be low
NO will be low, and NC will be high
if (Switch_1_Read()=1)
{
}
if (Switch_1_Read()==0)
{
}
if (Switch_1_Read()=0)
{
}
Precision
Accuracy
Repeatability
Resolution
Questions 11-14:  Shown here is a kinematic diagram.  Find the Jacobian matrix, then use the drop-down boxes to fill in the missing values. 
Question 15:  Which of these equations does come from the Jacobian matrix in questions 11-14?