"Is this something that would require a microcontroller or something of that sort, or could I do it with some sort of circuit involving only capacitors?" . . . .