TARDIS And Raspberry Pi In “Space”

Raspberry Pi in a TARDIS takes stratospheric self-portrait

A120_cropped

For my fourth Raspberry PI weather balloon flight I wanted to pack as much into the flight as I could, making full use of what the Pi has to offer:

  • 3G link for video and backup telemetry
  • Send telemetry over 3G from the launch site
  • A live video stream from payload itself, with telemetry overlay, before and for the first few seconds of launch site, over 3G
  • Radio telemetry and SSDV images as usual
  • Transmit larger photos than before, using twice the transmission speed
  • Switch to taking and sending even larger photos when above 30km
  • Take full-size images for storage on the SD card
  • 3G to automatically reconnect on landing
  • Send the landing position over 3G
  • Live video stream from the landing site (hopefully in the middle of an empty field)
  • Upload all images to a web server by ftp after landing

That’s quite a lot more than before, and with all the overall control software written the day before launch I wouldn’t have been at all surprised to see things go wrong! In the event, the only part that failed was the ftp upload (the very last thing I added).

With more electronics than usual to pack inside the payload, what better choice than a TARDIS? Sadly I must have missed my university class on transdimensional engineering, so I had to build a fairly large TARDIS to fit everything inside. Actually the real reason for choosing the TARDIS over say an Apollo Command Module (that’s for next time) was that it’s easy to make from flat sheets of extruded polystyrene! Unsurprisingly, the internet is full of plans and diagrams so it didn’t take long to find what I needed, including the vital fact that the correct colour paint is Prussian Blue :-). A flashing white LED completed the construction.

tardis

For the inside I built mounted the electronics either side of corrugated plastic sheet. One side carried the Pi itself (a model B – I needed both USB ports), plus switched-mode regulators for the 3.3V and 5V lines, and a USB 3G dongle for the live video stream and backup telemetry:

1

On the other side went the 6 Lithium AA cells plus a custom board carrying the NTX2 radio transmitter, UBlox GPS receiver, BMP085 pressure/temperature sensor and an A/D to monitor the battery voltage. A second temperature sensor was added outside the base.

2

Last but not least I needed a camera to photograph the TARDIS, and again I used a Logitech C270 webcam this time mounted in a fluorescent pink ball (easy to spot at distance after it lands!). You can see that mounted precariously at the back of this image:

3

The launch day was overcast and cold, but my main concern was the flight path. Too far west and the landing spot would be near Bath; too far east and it would be near Salisbury Plain (where men play with their toys). So I planned the ascent rate//descent rate and burst altitude to land between those extremes. Anthony Stirk (who helped out on my first Pi launch) came along to help, and to launch his own balloon too which he successfully got to float and was last seen flying over Germany. Also Alex Eames of http://raspi.tv/ came to record the launch on video. We launched Anthony’s flight first and then the TARDIS:

4

The live video streaming from the payload worked well for the launch, though it soon hit the low cloud and then the 3G dropped out (as expected). At 4km the flight software stopped trying to connect through 3G, closed the streaming program, and started to take still images which were then transmitted over the radio link. I’d tested all this stuff with a pretend flight but it was great to see it actually work for real! I’d chosen to transmit images and telemetry at 600 baud, which may sound slow but it’s twice the rate normally used for images and 12 times the normal telemetry speed, and I was concerned that we’d lose lots of image data. However we lost very little – more than on a 300 baud flight, but not enormously so especially considering it was a midweek launch with fewer listeners than normal. here’s one of the images it sent:

snap84

With the launch kit packed back in the car, we stopped by at home so I could tune my receiver there in to help with the downloading, then we set off in the general direction of where the flight was supposed to land. We took my 4×4 which has a car PC installed with a touchscreen on the dash (top of the pic below), plus a Google Nexus 7 mounted below for the map. Anthony had his netbook plus mine to use.

IMG_1483

We took the wrong road out of Marlborough which did slow us a little but the flight path meant we had enough time. Once the balloon burst we could see that the landing point was going to be near Melsham, so we headed there, and then on to Whitley as the landing prediction homed in. After a short stop for fuel, and a shorter stop for another purpose (the garage didn’t have a toilet!) we parked up by the main road expecting the payload to land about 300 metres away. In the event it was about 1.3km away, so we didn’t see it. The radio signal dropped out on landing, and the last position we had was for it 200 metres above the ground. We jumped back in the car and headed there, and very soon the map updated with the actual landing position, sent over the GSM link. About that time the live video link burst back into life too! Here’s a still from that:

landed

We parked up about 200 metres from the payload. I entered the co-ords into my Android phone and we followed the directions from that, but pretty soon Anthony spotted the flight lying in the field:

IMG_1488

Here’s the flight path to the landing spot (top-right downwards) and the path we took carrying the payload back to the car. Note the HV electricity lines! By my calculation the TARDIS was 37 metres above the ground when it crossed them ….

3

And here’s the video that the Pi streamed live as Anthony and I recovered it!

That will be the last flight of that particular Raspberry PI – after 4 successful flights I think this is a good time to retire it! My next Pi flight will be a model A with the new Pi camera. Watch this space!

Thanks go to Anthony Stirk for helping with the launch and providing his backup tracker, Alex Eames for recording the launch and preparations, Philip Heron for supplying the SSDV software and recording the landing video stream for me, and the CUSF team for their work on the infrastructure that all us UK HABbers (and some abroad) rely on.

Stop Press Alex just now put up his story and video. Thanks Alex!

Links:

Flickr Set 1 from the flight

Flickr Set 2 from the flight

Article in The Register

This entry was posted in Raspberry Pi, Weather Balloon. Bookmark the permalink.

73 Responses to TARDIS And Raspberry Pi In “Space”

  1. Really glad to hear that the flight went well from your perspective. It was thrilling following it via the live map and IRC. I’m looking forward to the next one, whenever that may be!

  2. Pingback: Dave Akerman reports on his 4th #RaspberryPi launch | Raspberry PiPod

  3. Pingback: Raspberry Pi-powered Tardis blasts off from ‘Blighty’s Baikonur’ | Algesr

  4. Pingback: Raspberry Pi in near space 35.5km from earth » RasPi.TV

  5. Pingback: Raspberry Pi-powered Tardis blasts off from ‘Blighty’s Baikonur’ | My Blog

  6. Menachem Began says:

    Congratulations. Thank you for doing and sharing.

  7. James says:

    Brilliant! love the live 3G connection. Does the temp fall low enough to effect the lithium batteries?

  8. Pingback: Raspberry Pi ?????????????????? | Raspberry Pi Thailand

  9. Pingback: Raspberry Pi-powered Tardis blasts off from ‘Blighty’s Baikonur’ « ToneSquelch

  10. Pingback: Raspberry Pi-powered Tardis blasts off from ‘Blighty’s Baikonur’ :: WES Computing

  11. Pingback: Launch ! (Sans APRS) | Ava High Altitude Balloon Project

  12. Gavin O'Brien ( RaspPi novice) says:

    Wonderful stuff! May I ask what type of 3G dongle you used? I connect to the internet with Vodafone Mobile Connect ( Huwei K3565 3G dongle) on a Windows machine, and presume it wouldn’t work on the RaspPi for want of the correct drivers.
    Best Regards,
    Gavin.

  13. dave says:

    Gavin, I used a Huawei E173. The main issue with these things is that they install as a hard drive and you have to run a couple of commands to get it to show up as a modem. After that I used Sakis3g to connect and disconnect. Take a look at http://shkspr.mobi/blog/2012/07/3g-internet-on-raspberry-pi-success/ which should be enough to get you going.

    Dave

  14. Pingback: Win a pre-production camera board! | Ready Made Pi

  15. CVBruce says:

    Wish we could us 3g in the US. Unfortunately, there is an FCC rule against it for balloon flights.

    • dave says:

      It’s for use on the ground, for the live video streaming of the launch and from the landing spot. 3G doesn’t work at altitude. The main system, over which I send telemetry and still images, uses licence-free radio transmitters that are allowed to be used airborne.

  16. Pingback: Competitions – win a blue #RaspberryPi and a Camera Module | Raspberry PiPod

  17. Pingback: Win a pre-production Raspberry PI camera board! |

  18. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | TechCrunch

  19. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | TechKudos

  20. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces · Geekews

  21. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | SafetyFist.com

  22. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | GabsGroup

  23. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | 1v8 NET

  24. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | Modulates.com

  25. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | tech news, high tech, hi tech, tech pc, tech support, computer tech, weather tech

  26. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | LiMiT

  27. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | News Line Blog

  28. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | My Daily Feeds

  29. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | CfpDir.com

  30. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces

  31. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | Tech & Comms News

  32. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | boodle

  33. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | fd4y.com

  34. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | CrowdBacon – The Startup Blog

  35. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | MoreDailyFeeds

  36. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | Mr Gee

  37. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | 5 For Business

  38. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | shpot

  39. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces - Channel News 1

  40. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces - Unofficial Network

  41. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | Netbook

  42. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | Nayana Sri's Blog

  43. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces

  44. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | Buzzlicious

  45. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces

  46. Pingback: The Capitals™ – Capitalists' Magazine | ????? | Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces

  47. Pingback: iPhoneNation.com: Apple News and Technology Insiders – Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces

  48. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces « Whella – Latest News on Wireless Topics

  49. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | SnaggStuff.com Blog

  50. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | Matt Briney

  51. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces - Social Smashing

  52. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | Bitmag

  53. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces | BLog Profits Tips

  54. Pingback: Raspberry Pi’s Eye Landing In April, Call For Testers To Put Camera Through Its Paces ← Redmondpie

  55. Pingback: ?????????Raspberry Pi?4???, ???????????????????????

  56. BDdoak says:

    Very cool! Even with all the cloud cover, striations are fantastic. Kudos to your successful build, launch, track and recovery. What would you have been responsible for had it become stranded on those high-voltage lines?

  57. Pingback: A szerencsések ingyen vihetik a Raspberry Pi-hez való kamerát | Weball Magyarország

  58. Pingback: The world didnt stand still | Paul n Julia

  59. Pingback: Blue Note Tech Blog » Celebrate Pi Day With These 9 High-Tech Raspberry Pi Hacks

  60. Pingback: Celebrate Pi Day With These 9 High-Tech Raspberry Pi Hacks « Online Scoop Magazine

  61. Pingback: Celebrate Pi Day With These 9 High-Tech Raspberry Pi Hacks | Wireless Sensors

  62. John says:

    Hi, How are you powering your USB hub for the 3G? I know they consume a lot of amps. I see a switching regulator?? in the picture. Is this powering just the USB hubs or everything?

    • dave says:

      No USB hub involved. The webcam and the 3G dongle connect direct to the Pi. I had to short out the USB fuses (this was an early Pi) and connect the SMPS direct to the TP1/TP2 test points (thius bypassing the power line fuse).

      Dave

  63. Nikki says:

    It is so amazing.I have quick question.I was wondering what kind wind sensors did use in order to measure wind speed and direction?

  64. Pingback: The life of Pi: how Britain’s biggest hardware hit for a generation came to be | Web Design Basic

  65. Ryan Kopf says:

    That is beautiful. Have you thought about what you could do to get it to *stay* up there for a long time – days/weeks/etc – and see how far you can get around the world? I think my ultimate goal would be to have something solar powered staying in the sky forever that I can access from the ground.

    • dave says:

      A couple of days or so is possible with latex balloons, but more requires different materials and can get expensive. It’s been done but not by amateurs, as far as I know.

  66. Pingback: Design award for Raspberry Pi | Latest Digitals

  67. chris says:

    Hi I was wondering what the coldest temp you recorded on the RPi. I want to use one for arctic research but am not sure how well they work in the cold. Seems like you show that it should be fine.

    • David Akerman says:

      About -60 outside, with minimal insulation. The Pi gives off a fair amount of heat and the CPU is generally 20C above ambient.

      I’m saw someone test one down to -100 or so and it still worked.,

      Dave

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>