THIS is how I do it. Don't be in a rush, and use the smallest beading needle you can find. It's actually not the most critically important factor in making a pinhole camera. But knowing how big your aperture is, is important.
Your f/# = focal length / aperture diameter
Hope that helps