There is a rule that photographers use to figure out how long of an exposure you can do on a camera before you’ll start to see star trails. This assumes, of course, that you’re not TRYING to get star trails. Instead, you want those lovely little pinpoint stars. The classic rule says you take a set number of 600 and divide it by the effective focal length of the camera lens. If you have a nifty 50 lens, that means you would be able to do about 12 seconds of exposure before streaking occurs.
Most astronomers feel that the 600 number is a little high. More like 500. So then you would say 10 seconds. There’s a small extra factor in there if it is a crop sensor instead of a full-frame, and so for most DSLRs, you have to divide further by 1.6. So the article attached calculates that down to 7.5 seconds. » Read the rest