Tom Sherlock from Wolfram Research has written an extensive guest post on the Raspberry Pi Foundation blog about his work which uses a Pi camera module to take astronomical photographs while the Pi itself controls the position of the telescope using Mathematica. Read the post here.