Search for question
Question

IN-LAB: Part 1: Arduino analog-to-digital (A/D) voltage measurement resolution, and basic Matlab serial data stream reading For this part of the lab, we are going to characterize the A/D voltage measurement

resolution of the Arduino analog input channel using the digital multimeter (DMM), and practice reading the Arduino's serial data stream using Matlab (note that USB = Universal Serial Bus). Construct a voltage divider and potentiometer circuit as is shown in Fig. 1, which will be used to provide an adjustable constant voltage source. Use a 100 kn resistor and the potentiometer provided as part of your Arduino kit. Use your digital multimeter to measure the voltage across the potentiometer resistance as you turn the potentiometer knob. Q ∞O UNO Figure 1: Setup to measure Arduino analog input channel AO A/D resolution, using the built-in 5 V Arduino power supply, with a voltage divider. The yellow box is the DMM. Make sure you set your DMM to measure DC Volts, and that you set the voltage measurement range appropriately. Typically, you want to be at the lowest setting that exceeds your expected measured value. If your DMM measurement is saturating,/nQ1: Is the variable voltage applied to channel A0 an analog or digital signal?

Fig: 1

Fig: 2