Week 9: Input Devices

This week describes my understanding of how to use Input Devices. It also includes how to generate an analog output (PWM) using pin 9, how to use an oscilloscope and multimeter for analysis, and how to integrate different sensors with the microcontroller.

Objectives for the week

  • Probe an input device(s)'s analog levels and digital signals
  • Document your work on the group work page and reflect on your individual page what you learned
  • Interpret a Signal

    We generate an analog output (PWM) using pin 9. A LED is connected to see the signal effect, and the oscilloscope and multimeter are used for analysis.

    Description of Image


    1. Understanding DSO Components

    2. Connecting the Oscilloscope to Arduino

    A. Connect the Probe Correctly

    3. Configuring the Oscilloscope for Basic Signal Viewing

    A. Set the Channel
    B. Adjust the Voltage Scale (Vertical Setting)
    C. Adjust the Time Scale (Horizontal Setting)
    D. Set the Trigger for a Stable Display

    4. Running the Oscilloscope & Viewing the Waveform

    5. Capturing & Analyzing the Waveform

    
                    void setup() {
                    pinMode(9, OUTPUT);
                    }
                    void loop() {
                        for (int u = 0; u < 255; u++){
                        analogWrite(9, u);
                        delay(50);
                        }
                    }
                

    Video Demonstration