CPSC310A
Robotics

Activity 8

Digital Input

  1. According to the Starter Kit Guide, what is the purpose of the 10KΩ pull-up resistors in Circuit 5?

  2. According to the Pull-up Resistors Tutorial, what is the purpose of the 10KΩ pull-up resistors in Circuit 5?

  3. Use a multimeter to measure the voltage change over one of the 10KΩ resistors when the button is pressed and when it is floating. What are the voltage changes and why are they different?

  4. What would happen if the 10KΩ resistors were replaced with 330Ω resistors? What would happen if the 10KΩ resistors were removed? Do not modify the circuit to find out! If you are not sure, use the simulator software to find out.

  5. Use the Arduino’s internal pull-up resistor to remove the 10KΩ resistors from Circuit 5. Refer to the Pull-up Resistors Tutorial for information on the Arduino’s internal pull-up resistors.