Paul wrote an article a few years ago now, about
Creating a Hartman Mask.
I used to use one for planetary imaging but now find that I can get the best results by focusing on a moon (if available). I also find it much easier to get focus right at fast frame rates (eg: 30fps) so a brightish object is needed.