Uploaded May 2025 | Updated September 2026, 2 weeks ago
This video is the second part of Activity 4, from my upcoming course Introduction to Electronics: First-order filters. In this course, you’ll learn foundational concepts of electronics through a practical approach that includes theoretical analysis, simulations, and hands-on experimentation. Core topics include resistor-capacitor (RC) filters, frequency response analysis, interpreting Bode plots, and effectively using lab equipment and software tools like oscilloscopes, waveform generators, and spectrum analyzers.
You can read the blog post here: techexplorations.com/blog/course/rc-high-pass-filters-analog-discovery-experiment
If you are interested in this course, go to techexplorations.com and sign up to my newsletter so that I can inform you once its published (and, of course, you'll be getting a generous discount coupon!).
In this second part of Activity 4, I demonstrate how the RC high-pass filter’s behavior changes at higher frequencies compared to lower frequencies. I use the Analog Discovery 3 device to measure signal amplitude attenuation and phase shift at frequencies above the filter’s cutoff frequency, clearly showing how the filter allows high-frequency signals to pass through with minimal attenuation. Additionally, this lecture covers practical usage of the Spectrum Analyzer and Network Analyzer tools within the WaveForms software, enabling you to visualize the frequency spectrum and experimentally determine the filter’s frequency response.
Finally, I introduce a demonstration Python script that plots theoretical sine waves and calculates the filter’s phase shift across various frequencies. This allows you to compare your experimental measurements with theoretical expectations, strengthening your understanding of electronic filter behavior.
Timestamps:
- 00:00 - Introduction: Overview of frequency measurements.
- 00:08 - Testing Frequencies: Setting up for 2,000 hertz.
- 01:10 - Phase Shift Measurement: Calculating delta time and phase at 2,000 hertz.
- 01:58 - Attenuation Observations: Discussing amplitude attenuation at higher frequencies.
- 02:55 - Analyzing with Spectrum Analyzer: Examining outputs through the spectrum analyzer.
- 03:51 - Frequency Selection: Setting spectrum parameters to understand signal propagation.
- 06:15 - Low Frequency Analysis: Observing response at 200 hertz and its effect on attenuation.
- 07:37 - Network Analysis Tool: Understanding experimental frequency response.
- 10:12 - Frequency Response Plotting: Practical demonstration of the frequency response.
- 12:04 - Python Script Demonstration: Running a Python script to analyze the high-pass filter.
Resources Mentioned:
- Analog Discovery 3: digilent.com/shop/analog-discovery-3
- Digilent WaveForms Software: digilent.com/shop/software/digilent-waveforms
- Python for Engineering Applications (Tutorials):
- Python for Engineers: python.org
You can copy the demo Python script from Github Gists: gist.github.com/futureshocked/ce9a0b8bc4d1baf36e7866661cc47aa3
#ElectronicsTutorial #AnalogDiscovery3 #RCHighPassFilter #FrequencyResponseAnalysis #NetworkAnalyzer #SpectrumAnalyzer #WaveformsSoftware #PythonFrequencyPlot #BodePlot #PhaseShiftMeasurement #ElectronicsForBeginners #PracticalElectronics #TechExplorationsElectronics #ElectronicsExperiment
This video is the second part of Activity 4, from my upcoming course Introduction to Electronics: First-order filters. In this course, you’ll learn foundational concepts of electronics through a practical approach that includes theoretical analysis, simulations, and hands-on experimentation. Core topics include resistor-capacitor (RC) filters, frequency response analysis, interpreting Bode plots, and effectively using lab equipment and software tools like oscilloscopes, waveform generators, and spectrum analyzers.
You can read the blog post here: techexplorations.com/blog/course/rc-high-pass-filters-analog-discovery-experiment
If you are interested in this course, go to techexplorations.com and sign up to my newsletter so that I can inform you once its published (and, of course, you'll be getting a generous discount coupon!).
In this second part of Activity 4, I demonstrate how the RC high-pass filter’s behavior changes at higher frequencies compared to lower frequencies. I use the Analog Discovery 3 device to measure signal amplitude attenuation and phase shift at frequencies above the filter’s cutoff frequency, clearly showing how the filter allows high-frequency signals to pass through with minimal attenuation. Additionally, this lecture covers practical usage of the Spectrum Analyzer and Network Analyzer tools within the WaveForms software, enabling you to visualize the frequency spectrum and experimentally determine the filter’s frequency response.
Finally, I introduce a demonstration Python script that plots theoretical sine waves and calculates the filter’s phase shift across various frequencies. This allows you to compare your experimental measurements with theoretical expectations, strengthening your understanding of electronic filter behavior.
Timestamps:
- 00:00 - Introduction: Overview of frequency measurements.
- 00:08 - Testing Frequencies: Setting up for 2,000 hertz.
- 01:10 - Phase Shift Measurement: Calculating delta time and phase at 2,000 hertz.
- 01:58 - Attenuation Observations: Discussing amplitude attenuation at higher frequencies.
- 02:55 - Analyzing with Spectrum Analyzer: Examining outputs through the spectrum analyzer.
- 03:51 - Frequency Selection: Setting spectrum parameters to understand signal propagation.
- 06:15 - Low Frequency Analysis: Observing response at 200 hertz and its effect on attenuation.
- 07:37 - Network Analysis Tool: Understanding experimental frequency response.
- 10:12 - Frequency Response Plotting: Practical demonstration of the frequency response.
- 12:04 - Python Script Demonstration: Running a Python script to analyze the high-pass filter.
Resources Mentioned:
- Analog Discovery 3: digilent.com/shop/analog-discovery-3
- Digilent WaveForms Software: digilent.com/shop/software/digilent-waveforms
- Python for Engineering Applications (Tutorials):
- Python for Engineers: python.org
You can copy the demo Python script from Github Gists: gist.github.com/futureshocked/ce9a0b8bc4d1baf36e7866661cc47aa3
#ElectronicsTutorial #AnalogDiscovery3 #RCHighPassFilter #FrequencyResponseAnalysis #NetworkAnalyzer #SpectrumAnalyzer #WaveformsSoftware #PythonFrequencyPlot #BodePlot #PhaseShiftMeasurement #ElectronicsForBeginners #PracticalElectronics #TechExplorationsElectronics #ElectronicsExperiment


![[150] Arduino Getting Started: Analog output and fading LED
In this video, we delve into using Pulse Width Modulation (PWM) to control the brightness of an external LED connected to Digital Pin 11 of an Arduino Uno. This tutorial builds on our previous LED blink project, using the same circuit setup to demonstrate how PWM can simulate analog output for varied device control, including LEDs and motors. By varying the duty cycle of the PWM signal, we achieve a smooth fade-in and fade-out effect on the LED, showcasing the versatility and practical applications of PWM.
This series is possible thanks to the kind support of Sunfounder, an online store that sells high-quality hardware and kits for Makers. Visit Sunfounder at https://sunfounder.com.
In this series, I use the SunFounder 3 in 1 Ultimate Starter Kit with Original Arduino Uno R4 Minima, including high-quality sensors, actuators, power supplies, and Original Arduino Uno R4 Minima for diverse projects and skill-building. Get it (affiliate link): https://www.sunfounder.com/collections/arduino-kits/products/sunfounder-3-in-1-ultimate-starter-kit-with-original-arduino-uno-r4-minima?ref=bXS65iah
🕒 Timestamps:
00:00 - Introduction to controlling LED brightness with PWM.
00:05 - Explanation of PWM and its role in simulating analog outputs.
00:20 - Overview of PWM applications for LEDs and motors.
00:36 - Reminder that no changes are needed to the circuit setup from the previous LED blink tutorial.
00:47 - Quick invitation to newcomers to watch the previous LED blink video for setup instructions.
01:02 - Introduction to the coding phase for implementing PWM.
01:17 - Starting the Arduino programming for fading effects.
01:31 - Detailed coding instructions for increasing and decreasing LED brightness using PWM.
02:07 - Configuration of digital pin 11 as an output pin.
02:21 - Code walkthrough for the continuous fade-in and fade-out effects.
02:35 - Explanation of the PWM brightness control loop.
03:25 - Description of the code that gradually decreases the LEDs brightness.
03:56 - Final steps to upload the code and observe the LED in action.
04:09 - Discussion on the practical implications and possibilities of using PWM.
04:20 - Call to action: like, subscribe, and comment for more Arduino tutorials.
04:30 - Closing remarks and encouragement to continue exploring Arduino projects.
For additional insights and upcoming projects, make sure to subscribe and follow our channel. Happy making! [150] Arduino Getting Started: Analog output and fading LED](https://i.ytimg.com/vi/lXvHp4AAIrM/mqdefault.jpg)




![[170] Arduino Getting Started: Analog input potentiometer example
In this tutorial, we demonstrate how to use a potentiometer as an analog input to control the brightness of an LED using an Arduino. We cover the code in detail, showing how to read the potentiometers value, map it to control an LED, and print the value to the serial monitor.
🕒 Timestamps
00:00 - 00:05: Introduction
00:05 - 00:35: Declaring Variables
00:35 - 00:47: Setup Function
00:47 - 01:07: Reading Potentiometer Value
01:07 - 01:23: Mapping Value for LED Brightness
01:23 - 01:36: Setting LED Brightness
01:36 - 01:55: Sending Value to Serial Monitor
01:55 - 02:08: Adding Delay
02:08 - 02:22: Demonstration Recap
02:22 - 02:34: Upload and Test
02:34 - 02:57: Application and Uses
02:57 - 03:05: Conclusion
This series is possible thanks to the kind support of Sunfounder, an online store that sells high-quality hardware and kits for Makers. Visit Sunfounder at https://sunfounder.com.
In this series, I use the SunFounder 3 in 1 Ultimate Starter Kit with Original Arduino Uno R4 Minima, including high-quality sensors, actuators, power supplies, and Original Arduino Uno R4 Minima for diverse projects and skill-building. Get it (affiliate link): https://www.sunfounder.com/collections/arduino-kits/products/sunfounder-3-in-1-ultimate-starter-kit-with-original-arduino-uno-r4-minima?ref=bXS65iah
📖 Main Learning Objectives
Understand how to declare and initialize variables for Arduino projects.
Learn to set up and configure pins for input and output.
Read analog values from a potentiometer using analogRead.
Map analog values to a different range suitable for controlling outputs.
Control LED brightness using analogWrite.
Send data to the serial monitor for debugging and monitoring.
Implement a delay to improve the readability of the serial output.
Invitation to Subscribe
If you found this tutorial helpful, please give it a thumbs up and subscribe to our channel for more Arduino tutorials. Your support motivates us to keep crafting content that fuels your maker journey. Until next time, keep experimenting and exploring. [170] Arduino Getting Started: Analog input potentiometer example](https://i.ytimg.com/vi/mzv6Yj0Lfu4/mqdefault.jpg)


