Ummm... well I don't know how to make one myself but I do have links to a couple of good references (which you could possibly reverse engineer... possibly).
(None of the below are mine)
Also! If you want a simple design there's also this one:
(can't find the links, sorry)