This repository relates to a simple PWM dimmer designed ostensibly for the Ikea Jansjö LED lamp.
See the full article for more details.
Experimental data from the prototypes:
The variation of frequency with duty-cycle.
$ gnuplot plotit.scr $ open out.pdf
Various screen captures from the scope showing current against time.
Manufacturers' data for parts in the project.
PCB files as sent to the board manufacturer (Elecrow).
A Haskell program to generate a PDF to laser cut the front panel.
$ stack build $ stack exec pdf-exe $ open *.pdf