Pi In The Sky Telemetry Board Released

Source www.daveakerman.com

 

High Altitude Ballooning is an increasingly popular hobby (I nearly said that interest has been “ballooning”, but fortunately I stopped myself just in time …), bringing what is termed “near space” within the reach of pretty much anyone who is willing to put in the effort and spend a moderate amount of money.

cropped-moon-and-sky-web

Although it’s possible to successfully fly and retrieve a balloon with a simple GSM/GPS tracker, the chances are that this will end in failure and tears.  GSM coverage in the UK is nowhere near 100% especially in rural areas which is where we want (and aim) the flights to land.  The next step up, in reliability and price, is a “Spot” tracker which works solely via satellites, but those don’t work if they land upside down.  Also, neither of these solutions will tell you how high the flight got, or record any science data (e.g. temperature, pressure), or indeed tell you anything about the flight until they land.  If you’re lucky.  A lost flight is a sad thing indeed.

Still-1

For some countries (e.g. USA, but not the UK), if you are a licensed amateur radio operator you can fly an APRS tracker, in which case the flight will be tracked for you via the ground-based APRS network run by other radio hams.  Sadly UK laws prohibit radio hams transmitting from an airborne vehicle, so APRS is out for us.

For these reasons, pretty much everyone involved in the hobby in the UK, and many other countries, uses radio trackers operating in an ISM (Industrial. Scientific and Medical) band where airborne usage is allowed.  These work throughout the flight, transmitting GPS co-ordinates plus temperature and anything else that you can add a sensor for.  Many radio trackers can also send down live images, meaning that you can see what your flight is seeing without having to wait for it to land.  Here’s a diagram showing how telemetry from the flight ends up as a balloon icon on a Google map:

system

What’s not shown here is that, provided you tell them, the other balloonists will help track for you.  So not only will you be receiving telemetry and images directly via your own radio receiver, but others will do to.  All received data is collated on a server so if you do lose contact with the flight briefly then it doesn’t matter.  However, this does not mean you can leave the tracking up to others!  You’ll need to receive at the launch site (you have to make sure it’s working!) and also in the chase car once it lands.  The expense of doing this is small – a TV dongle for £12 or so will do it, with a £15 aerial and a laptop, ideally with a 3G dongle or tethered to a phone.

Traditionally, balloonists build their own radio trackers, and for anyone with the skills or the time and ability to learn programming and some digital electronics, this is definitely the most rewarding route to take.  Imagine receiving pictures of the Earth from 30km up, using a piece of kit that you designed and built and programmed!  So if you are up to this challenge (and I suspect that most people reading are) then I recommend that you do just that.  It takes a while, but during the development you’ll have plenty of time to research other aspects of the hobby (how to predict the flight path, and obtain permission, and fill the balloon, etc.).  And when you’re done, you can hold in your hand something that is all your own work and has, to all intents and purposes, been to space.

Burst-1-1024x571

For some though, it’s just not practical to develop a new tracker.  Or you might be a programming whizz, but not know which end of a soldering iron to pick up.  It was with these people in mind that we (myself and Anthony Stirk – another high altitude balloonist) developed our “Pi In The Sky” telemetry board.  Our principle aim is to enable schools to launch balloon flights with radio trackers, without having to develop the hardware and software first.  It is also our hope that older children and students will write their own software or at least modify the provided (open source) software, perhaps connecting and writing code for extra sensors (the board has an i2c connection for add-ons).

The board and software are based on what I’ve been flying since my first “Pi In The Sky “flight over 2 years ago, so the technology has been very well proven (approximately 18 flights and no losses other than deliberate ones!).  So far the board itself has clocked up 5 successful flights, with the released open-source software on 3 of those.  Here’s the board mounted to a model B (though we very strongly recommend use of a model A):

pits (1)It comes in a kit complete with a GPS antenna, SMA pigtail (from which you can easily make your own radio aerial), stand-offs for a rigid mounting to the Pi board, and battery connectors.  Software is on https://github.com/piinthesky, with installation instructions at http://www.pi-in-the-sky.com/index.php?id=support, or there is a pre-built SD card image for the tragically lazy.  We do recommend manual installation as you’ll learn a lot.

By now you’re probably itching to buy a board and go fly it next weekend.  Please don’t.  Well, buy the board by all means, but from the moment you decide that this is the project for you, you should task yourself with finding out all you can about how to make your flight a safe success.  For a start, this means learning about applying for flight permission (which, if you want to launch from your garden at the end of an airport runway, isn’t going to be given).  Permission is provided together with a NOTAM (NOtice To AirMen) which tells said pilots what/where/when your launch will be, so they can take a different path.  You also need to learn about predicting the flight path so that it lands well away from towns or cities or motorways or airports.  I hope I don’t need to explain how important all of this is.

IMG_0690

There’s lots more to learn about too, for example:

  • How to track the flight
  • How to fill a balloon
  • Where to buy the balloon
  • What size balloon?  What size parachute?  How to tie it all together?

None of this is complicated (it’s not, ahem “rocket science”), but there is a lot to know.  Don’t be surprised if the time between “I’ll do it!” and “Wow, I did it!” is measured in months.  Several of them.  In fact, worry if it’s less than that – this research takes time.  We will be producing some teaching materials, but meantime please see the following links:

As for the board, it provides a number of features borne out of a large number of successful flights:

  • Efficient built-in power regulator providing run time of over 20 hours from 4 AA cells (using a model A Pi)
  • Highly sensitive UBlox GPS receiver approved for altitudes up to 50km
  • Temperature compensated, license-free (Europe) frequency agile, 434MHz radio transmitter
  • Temperature sensor
  • Battery voltage monitoring
  • Sockets for external i2c devices, analog input, external temperature sensor
  • Allows use of Raspbery Pi camera
  • Mounting holes and spacers for a solid connection to the Pi

The open-source software provides these features:

  • Radio telemetry with GPS and sensor data using UKHAS standard
  • Radio image download using SSDV standard
  • Multi-threaded to maximize use of the radio bandwidth
  • Variable image size according to altitude
  • Stores full-definition images as well as smaller transmitted images
  • Automatically chooses better images for download
  • Configurable via text file in the Windows-visible partition of the SD card
  • Supplied as github repository with instructions, or SD card image

Finally, anyone interested in high altitude ballooning, using our board or not, should come to the UKHAS Conference on 16th August 2014 at the University of Greenwich.  Anthony and I will be presenting our board during the morning sessions, and will run a workshop on the board in the afternoon.  For tickets click here.

Posted in Weather Balloon | Leave a comment

Pi In The Sky Project – Successful Test Flight

This was the third flight of the “Pi In The Sky” board, but the first flight of the new open-source software written specifically for it (previous flights used a modified version of my usual Pi tracker software). The new software is a single multi-threaded program (instead of a collection of separate programs) and is configured via a text file so that for most users no recompilation is needed.

For this flight I used a foam polystyrene egg bought from HobbyCraft. The Pi and tracker board fit neatly inside one half:

IMG_0690

whilst the camera, GPS antenna and battery pack fit inside the other. No other packing was needed and the 2 halves were glued together with UHU Por polystyrene adhesive. Here’s the result:

IMG_0689

 

The glue is strong, but just to make sure I put some tape around the egg to keep the halves together.  Here’s the resulting payload, as I start to inflate the balloon:

IMG_0554

 

The launch was easy, and we watched for a while as the flight broke through the clouds and started to download some nice images, after which we set out to chase.  We were expecting the flight to land east of Ludlow, and we initially stopped near Leominster till the balloon turned west, then nearer Tenbury Wells as we waited for the burst.  That happened at 31644 metres, nearly 2km above the calculated figure, and pretty good for a 500g balloon.  Here’s the full flight path:

1

We were about 3 miles away when it landed, which isn’t bad considering the narrow winding roads in the area.  Landing spot was 4.5 miles from the prediction which is also pretty good.  Once it landed we headed for the last position, and when about half a mile away we received a signal strong enough to decode.  We then had the final position which was near a farmhouse:

2

We parked up and spoke to a farm worker and then the farmer who was very helpful, allowing us to wander round trying to find the payload.  Initially we went to the wrong place, having transcribed the co-ordinates wrongly!  So we went back to the car, got the correct position, and checked the view from the payload’s camera which the farmer recognized:

small_445

Once we had that information it only took a couple of minutes to locate the flight, which was on the ground with the line going over a bush.

So, a successful first flight for the new software and third flight for the new board.  There’ll be another test flight soon, hopefully next weekend.  Meanwhile, some photos from the flight:

medium_245

medium_238

Advertisements

One thought on “Pi In The Sky Telemetry Board Released

  1. Pingback: Balloon News Awards for 2014 | Balloon News

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s