Arduino Function Generator: Square Wave with Variable Duty Cycle

Andy Kong
2 min readDec 23, 2020
A beautiful but expensive piece of electronic test equipment

Hi! Not everyone can afford the $2000 for a beautiful function generator like this Agilent 33210A, but everyone deserves to have basic function generation capabilities. So, today I’m going to show you how to make a basic function generator using everyone’s favorite microcontroller: an Arduino Uno!

--

--