Use an Arduino UNO R4’s DAC as a signal generator - Arduino Blog

TL;DR

The article explains how to use the Arduino UNO R4’s built-in Digital-to-Analog Converter (DAC) as a signal generator. This is particularly handy for those who need to create signals for testing electronic components without spending a fortune on dedicated equipment. The method works with both the Arduino UNO R4 WiFi and the UNO R4 Minima models, utilizing the DAC on pin A0, which provides a smooth analog output with 12-bit resolution.