A square pulse generator (quite poor) schematics, PCB and firmware.