Robotics 1
Digital Sensors
Quiz
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.
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.
{
}
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
{
}