Introduction:- Using an oscilloscope and an XIAO ESP32-C3 microcontroller, digital and analog signals are investigated and analyzed. An LED is used to monitor digital signals in the experiment, and an LDR (light-dependent resistor) sensor is used to produce analog signals. These signals are shown by the oscilloscope to aid with comprehension.
LED Daigram
![]() |
![]() |
Digital Signal With oscilloscope | Analog signal With oscilloscope |
1. Digital Signal (LED Blinking): LED ON: High Signal (3.3V) LED OFF: Low Signal (0V) The oscilloscope Output: A square wave, as the LED toggles ON/OFF dependent on LDR input. |
2. Analog Signal (Ch1's LDR Sensor): Condition of Bright Light: High voltage (about 3.3V) Low voltage (around 0V) in the dark The oscilloscope Output: An analog waveform with a smooth variation in signal strength. |
The oscilloscope's CH1 successfully displayed the LDR's analog signal, which fluctuates continually depending on light intensity.and the LED's digital signal was seen as a square wave that alternated between HIGH (3.3V) and LOW (0V).
By evaluating the circuit and software implementation, the oscilloscope assisted in confirming the behavior of the real-time signals.