AuroraCam: the BGS aurora camera

In early 2016, the geomagnetism team decided to install an experimental camera at the Eskdalemuir observatory to see if we could observe the aurora borealis during times of heightened geomagnetic activity.

Aurorae are caused by large electrical currents flowing in the ionosphere around 110 km above our heads. These current systems are normally found in an oval around the magnetic pole at high latitudes (such as over Iceland), but during geomagnetic storms the oval expands southwards and can move to lower latitudes.

When it does, the magnetic field recorded at our observatories starts to vary rapidly — first at the station furthest north in Lerwick (Shetland), then in Eskdalemuir (Scottish Borders) and, if the storm is large enough, in Hartland (Devon). During these stormy periods, the aurora may become visible, though it's not always guaranteed. The geomagnetism team do try to issue alerts if we think the aurora may be visible in the next day or two.


Raspberry Pi with camera

We decided to see if we could capture images of the aurora ourselves, by using a camera automatically triggered from magnetic-field variations at an observatory. We've been working with Raspberry Pi computers for our school magnetometer project over the past few years so we are familiar with them. As you can now buy a cheap, five megapixel camera for the Pi, it seemed a good system to experiment with. There is plenty of advice on the internet about how to build a time-lapse camera like this.


Once the hardware had been built, the next step was to write the software to drive it. As the Raspberry Pi comes with the Python language, it seemed the obvious one to use.

We wrote a small piece of code to check if it is dark and to check if the geomagnetic activity measured at our observatories is high (above some particular threshold). If these conditions are met, the camera is triggered and takes a six-second exposure. A timestamp is placed onto the image and a note is made in a log file and then the system goes to sleep for five minutes. The camera continues to take images every five minutes until the geomagnetic activity declines or the sun rises.

Installing the camera


The camera was installed in June 2016. The first task was to lay the cables for power and communications from the ground-floor office to the roof. This involved passing a cable through two floors, a window and up to the balcony where we wanted to mount the camera. Once the wire was laid, the camera was mounted on some unused scaffolding.

Aurora pictures?

Aurora image

There have only been a few large storms since we set up the camera. However, the camera has been triggered by a few periods of higher activity but usually it is raining or cloudy. The best image we have was captured at 04:34am on 28 September 2016. It shows stars and a very faint aurora on the horizon. The photo has been processed to increase the gain and the colours have been autocorrected using an image processing package.

Future plans

We plan to add images of the aurora to our alert pages the following day once they have been processed. It will be interesting to see if this relatively cheap setup will survive the cold and stormy winter months in Scotland.

More information

For more information please visit AuroraCam's website or contact Ciarán Beggan.