Tuesday 13 May 2014

Ysgol Gymraeg Prosiect Gofod (High Altitude Balloon)

I won't even try to do this in Welsh, sorry! If anyone feels like translating it that would be great...

So we're trying a High Altitude Balloon launch from Ysgol Gymraeg Aberystwyth sometime soon, and I've been tasked with getting the bits and pieces together for the launch. I started off with a "keep it simple" attitude, and I've avoided having any electronics in there that are home-grown. I've opted for a GoPro looking sideways, a simple GPS/GSM tracker and a smartphone looking down (and providing back-up tracking). I went for a Hwoyee 1000 balloon (which is almost certainly overkill) to let the kids have some payload left for a cardboard construction around the main payload capsule which is going to be a hollow polystyrene sphere.

So far I have most of the bits together:

Payload capsule halves

And the two halves slotted together

GPS/GSM tracker

The polystyrene sphere is 250mm diameter and came from Ebay for a few pounds (I bought two because they looked so useful!). The tracker was also from Ebay and is basically a cut down mobile phone. If you send it an SMS or call it it is supposed to send you an SMS back with its latitude and longitude and a link to its position in Google maps. I haven't yet installed a SIM and tested it... soon now. The balloon and parachute came from randomsolutions.co.uk who have a good range of stuff on their site.

I knocked up a spreadsheet of weights (click to view):

The long and the short of it is that with the 1000g balloon we are going to have bucket loads of lift to spare which should mean a good fast ascent and hopefully the balloon will land within a sensible distance of the launch site.

This site has a nice calculator for ascent rate etc...


And this one does trajectory estimation using the ascent rate from above (I'm working on ~6m/s):


Aberystwyth's latitude and longitude is around 52.4N 4.1W (remember that West is negative for longitude).

I need to do a little engineering to mount the GoPro and phone and I think we're supposed to be doing a parachute test with a realistic payload so a nice exercise for the kids might be to weigh and measure the internal components and make models of the correct size and weight to put in the dummy launch which will stop us from breaking the real ones in the test (and might even be a little bit educational).

9th June 2014 update:

So I've been a bit slow updating this, but there has been lots of progress!

I have now tested the GSM tracker above and it seems to work a treat. It ran for just over a week on the dashboard of one of our cars and had an accidental trip to the Eisteddfod in the meantime. I can call it from my mobile and it sends a text message with the latitude and longitude and a link to the location in Google maps. I have also put a SPOT tracker inside the polystyrene sphere and checked that it can transmit in tracking mode and it seems to work fine.

We are aiming for launch this Thursday, and it looks pretty good at the moment with light Westerly winds meaning a fairly short drive for the recovery team.

The capsule looks like this with the GoPro and phone (cheap Orange Stockholm):

And like this in the inside:

(I may use something other than sticky tape for the final release, although I might just upgrade to gaffer). The whole assembly will look like this, but hopefully with a cool cardboard and paint rocket built around the sphere:

I started the project with a "no home-brew electronics" rule, but I may have broken that now... I'm thinking about putting a moteino (very cool!) with an accelerometer, gyro, magnetometer, thermometer and altitude sensor in there. The moteino has a built-in 433MHz radio transceiver, so that would allow me to have a down-link during the early part of the flight. I may be up late on Wednesday night.

Launch conditions for Thursday look pretty good, and the trajectory prediction says it will come down somewhere near Llanidloes:

Fingers crossed!

10th June update:

So after a little high quality engineering from blwyddyn pedwar and Mr Jones (see http://www.ysgolgymraeg.ceredigion.sch.uk/staff.html for mug-shots of those concerned) the capsule has been converted into a full-on inter-planetary spacecraft:

... which is proudly displaying the logo that the children designed along with one or two of the school's sponsors:

So all the cameras are fully-charged, the trackers are set-up and ready to go and the helium is ready and waiting. What have I forgotten? I don't know... if I knew then it wouldn't be forgotten would it?! 

Weather still looks good for a touchdown somewhere around the Llangurig, Llanidloes, Rhayader triangle. I expect the flight to last a little less than 3 hours with around 1.5 hours of communications black-out when the balloon is too high for the GSM network to allow communication and when the satellite tracker is also above its rated communication altitude. It'll be a bit scary not knowing where it is for that long.

The last little frill I'm hoping to add is this:

... which is a moteino from http://lowpowerlab.com with a GPS module and a "10 DOF" inertial measurement unit. Moteino's have a 433MHz radio module built-in and I'm hoping to find time tomorrow to write the code to relay live the position, temperature and altitude to a ground station. I have a nice big 433MHz Yagi antenna which should mean that we can receive data for the first few thousand metres of the ascent, but with no time to test beforehand it's a bit of a gamble, but adds a bit more fun to the whole thing. It works on my living-room floor, so it's bound to work at 10,000m isn't it?

11th June update:

So it's 11pm and I just finished the code for the moteino. It now logs the temperature, altitude and position in the on-board flash (in a format that I can recover sensibly) and transmits it as well. The ground station is a nice high gain (11dB) Yagi antenna with a second moteino wired in to it. No time for any software for the laptop, so it's just logging through minicom to a file for eyeball analysis. Despite it being a bit of a lash-up I'm quite pleased with how the receiver looks and works:

The black blob at the end is a heat-shrink covered moteino soldered directly to the antenna connection cable.

Looks a bit odd to have a USB cable coming straight off the antenna, but it seems to work quite nicely. It'll be interesting to see how much range we get from this arrangement.

And last but not least my very high-tech checklist (every project needs one). All ready and nearly 12 hours to spare!

12th June update:

We went down to the school this morning around 8am for radio interviews and set-up, all went well apart from it taking a long time to fill the balloon (around an hour!). I think I need to invest in a better filling mechanism... the payload was attached and the balloon was released (after the obligatory countdown) at around 10.45am. The moteino radio relay worked beautifully up to around 3,000m, and then we watched it for a further 15 mins or so as it disappeared into a clear blue sky. Then it was all very quiet... for a while... until around 1.30pm when we got a position back from the GSM tracker (don't ask about the SPOT!). So the recovery team are en-route to pick it up from a field a bit North of Llandrindod Wells. Hopefully some of the images will be worth having and I will try to post some tonight when I get the memory cards back. I'll also post the data from the moteino if it's worked properly. Watch this space!

Picture I stole from Hannah taken just before launch.

And away she goes...

13th June update:

So after a bit of a drive and some wandering around Emma and Nic and the children found the almost completely undamaged capsule (pic to follow sometime). I then spent about 10 minutes trying to open the GoPro case (it was "full" of vacuum), which involved prodding the sealing rubber with a knife to allow air to re-enter the case. Then I took the images off... Wow! Some really amazing ones. Please feel free to use the images, but I would appreciate it if you make sure to credit them to Dr. Mark Neal, Aberystwyth University, and ideally to mention Ysgol Gymraeg Aberystwyth too:

First image after lift-off

Looking South

Aberystwyth University campus and Waun Fawr

Mid-altitude looking South


Looking North (Aberdyfi)

Higher altitude with nice black sky

The moment the balloon burst... we were amazingly lucky to get this shot! The parachute is still folded, and I suspect deployed fairly rapidly after this shot. Estimated altitude of 31,000 metres. This is based on data from the on-board monitors and the time elapsed after they failed (future post will describe the (badly corrupted) data that was stored on the moteino flash.

The whole of Cardigan Bay and hints of Eire in the background.

Looking South over the Severn estuary to Devon

I will post again when I've extracted all the good data that I can from the altitude and temperature log.