{"id":1706,"date":"2015-01-20T17:29:35","date_gmt":"2015-01-20T17:29:35","guid":{"rendered":"http:\/\/www.daveakerman.com\/?p=1706"},"modified":"2015-01-20T17:43:42","modified_gmt":"2015-01-20T17:43:42","slug":"pi-in-the-sky-board-for-pi-ab","status":"publish","type":"post","link":"http:\/\/www.daveakerman.com\/?p=1706","title":{"rendered":"Pi In The Sky Board for Pi A+\/B+"},"content":{"rendered":"<p>Here (at last &#8211; sorry for the delays) is our new version of our Pi In The Sky Board, designed for the Raspberry Pi models A+ and B+.<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/pits+-1000.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1707\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/pits+-1000.jpg\" alt=\"pits+-1000\" width=\"1000\" height=\"735\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/pits+-1000.jpg 1000w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/pits+-1000-300x220.jpg 300w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a> These new Pi models required a few changes:<\/p>\n<ul>\n<li>New smaller form-factor<\/li>\n<li>Connector to fit the new, larger, GPIO pin header<\/li>\n<li>Mounting points in all 4 corners<\/li>\n<li>New higher capacity switch-mode PSU<\/li>\n<\/ul>\n<p>We opted for a stackable GPIO connector, so that the board can be used in conjunction with some add-on boards that we are developing (see below for some details). \u00a0Unlike the model A and B, the &#8220;+&#8221; versions cannot be powered solely from 3.3V so we no longer use the trick of connecting 3.3V to the 5V rail, but instead simply supply 5V as normal. \u00a0The total run time is therefore slightly shorter than before, but not much as the Pi PSU is itself more efficient than on the previous boards.<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/pits+-1000-2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1708\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/pits+-1000-2.jpg\" alt=\"pits+-1000-2\" width=\"1000\" height=\"677\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/pits+-1000-2.jpg 1000w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/pits+-1000-2-300x203.jpg 300w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a> The board is on sale now at the <a href=\"http:\/\/ava.upuaut.net\/store\/index.php?route=product\/product&amp;path=75&amp;product_id=104\">HAB Supplies store<\/a>. \u00a0Software is available on <a href=\"https:\/\/github.com\/PiInTheSky\/pits\">Github<\/a>\u00a0and is only slightly modified from that used by the previous board (and the same software works with either). \u00a0Support is available <a href=\"http:\/\/www.pi-in-the-sky.com\/\">here<\/a>. Now, those add-on boards. \u00a0These are not yet in production, as we need them to get a few flights under their belts so we know that they&#8217;re reliable. \u00a0First is the LoRa (Long Range Radio) board:<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1214.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-1709\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1214-1024x768.jpg\" alt=\"IMG_1214\" width=\"640\" height=\"480\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1214-1024x768.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1214-300x225.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a> I have flown LoRa trackers a few times now, with some very good results. \u00a0The above board has yet to fly but that will happen soon. \u00a0LoRa promises some advantages over the traditional RTTY system, with probably similar range at low speeds but with the option of higher download speeds and the possibility of an uplink (e.g. to request that the payload detaches from the balloon). \u00a0If you wish to experiment with LoRa I have uploaded both <a href=\"https:\/\/github.com\/PiInTheSky\/pits\/tree\/LoRa\">tracker <\/a>and <a href=\"https:\/\/github.com\/PiInTheSky\/lora-gateway\">gateway<\/a>\u00a0software for the Pi to the above Github account, plus <a href=\"https:\/\/github.com\/daveake\/FlexTrack\">Arduino tracker software<\/a> to my personal account. Here&#8217;s the prototype LoRa board attached to a model B+ with the PITS+ underneath.<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1213.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-1710\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1213-1024x768.jpg\" alt=\"IMG_1213\" width=\"640\" height=\"480\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1213-1024x768.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1213-300x225.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Our other prototype is an APRS add-on for PITS+. \u00a0APRS is useful in countries which (unlike the UK) allow the transmission of amateur radio signals from airborne transmitters. \u00a0APRS is particularly prevalent in the USA where it is used much more than the UKHAS RTTY standard used by the PITS+ board. \u00a0If you want to try APRS with a Pi, using your own hardware, you can download our code from <a href=\"https:\/\/github.com\/PiInTheSky\/pits\/tree\/APRS\">github<\/a> (<strong>not<\/strong> flight-tested).<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1215.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-1711\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1215-1024x768.jpg\" alt=\"IMG_1215\" width=\"640\" height=\"480\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1215-1024x768.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1215-300x225.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a> This particular board has a\u00a0144.8MHz transmitter (European standard) but we expect most customers to opt for the 144.39MHz (North America) version. Here&#8217;s a tracker-from-hell, with the PITS+, LoRa and APRS boards stacked (and yes, the PITS+ PSU\u00a0has ample capacity for this configuration!)<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1216.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-1712\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1216-1024x768.jpg\" alt=\"IMG_1216\" width=\"640\" height=\"480\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1216-1024x768.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2015\/01\/IMG_1216-300x225.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a> I&#8217;ll blog here about flights using these boards as they happen. Now, some general advice on High Altitude Ballooning. \u00a0Much of this is copied from a previous blog post, but I&#8217;m repeating it here (and\u00a0<strong>emphasising<\/strong> a few points) because a lack of proper preparation will almost certainly result in the loss of your flight. \u00a0Do not, as one recent launcher did, rely on blind luck to get your payload back;\u00a0<strong>test<\/strong> everything and especially test that you can track the flight yourself. \u00a0<strong>Do not<\/strong> try to rush things, and\u00a0<strong>do not<\/strong>\u00a0leave preparation until 2 days before your flight. \u00a0If you do, you will very likely lose your flight, and will deserve to do so. Although it&#8217;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. \u00a0GSM coverage in the UK is nowhere near 100% especially in rural areas which is where we want (and aim) the flights to land. \u00a0The next step up, in reliability and price, is a &#8220;Spot&#8221; tracker which works solely via satellites, but those don&#8217;t work\u00a0if they land upside down. \u00a0Also, 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. \u00a0If you&#8217;re lucky. \u00a0A lost flight is a sad thing indeed.<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/Still-1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1642\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/Still-1.jpg\" alt=\"Still-1\" width=\"942\" height=\"529\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/Still-1.jpg 942w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/Still-1-300x168.jpg 300w\" sizes=\"(max-width: 942px) 100vw, 942px\" \/><\/a> 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. \u00a0Sadly\u00a0UK 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. \u00a0These work throughout the flight,\u00a0transmitting GPS co-ordinates plus temperature and anything else that you can add a sensor for. \u00a0Many 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. \u00a0Here&#8217;s a diagram showing how telemetry from the flight ends up as a balloon icon on a Google map:<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/system.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-1644\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/system-1024x813.jpg\" alt=\"system\" width=\"640\" height=\"508\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/system-1024x813.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/system-300x238.jpg 300w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/system.jpg 1042w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a> What&#8217;s not shown here is that, provided you tell them, the other balloonists will help track for you. \u00a0So not only will you be receiving telemetry and images directly via your own radio receiver, but others will do to. \u00a0All received data is collated on a server so if you do lose contact with the flight briefly then it doesn&#8217;t matter. \u00a0<strong>However, this\u00a0does not mean you can leave the tracking up to others!<\/strong>\u00a0\u00a0<strong>You&#8217;ll need to receive at the launch site (you have to make sure it&#8217;s working!) and also in the chase car once it lands.<\/strong> \u00a0The expense of doing this is small &#8211; a TV dongle for \u00a312 or so will do it, with a \u00a315 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. \u00a0Imagine receiving pictures of the Earth from 30km up, using a piece of kit that you designed and built and programmed! \u00a0So if you are up to this challenge (and I suspect that most people reading are) then I recommend that you do just that. \u00a0It takes a while, but during the development you&#8217;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.). \u00a0And when you&#8217;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.<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/Burst-1-1024x571.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1645\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/Burst-1-1024x571.jpg\" alt=\"Burst-1-1024x571\" width=\"1024\" height=\"571\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/Burst-1-1024x571.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2014\/07\/Burst-1-1024x571-300x167.jpg 300w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a> For some though, it&#8217;s just not practical to develop a new tracker. \u00a0Or you might be a programming whizz, but not know which end of a soldering iron to pick up. \u00a0It was with these people in mind that we (myself and Anthony Stirk &#8211; another high altitude balloonist) developed our &#8220;Pi In The Sky&#8221; telemetry boards. \u00a0Our principle aim is to enable schools to launch balloon flights with radio trackers, without having to develop the hardware and software first. \u00a0It 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&#8217;ve been flying since my first &#8220;Pi In The Sky &#8220;flight over 2 years ago, so the technology has been very well proven (over 20\u00a0flights and no losses other than deliberate ones!). \u00a0It 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. \u00a0Software 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. \u00a0We do recommend manual installation as you&#8217;ll learn a lot. <strong>By now you&#8217;re probably itching to buy a board and go fly it next weekend. \u00a0Please don&#8217;t.<\/strong> \u00a0Well, 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. \u00a0For 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&#8217;t going to be given). \u00a0Permission is provided\u00a0together with\u00a0a NOTAM (NOtice To AirMen) which tells said pilots what\/where\/when your launch will be, so they can take a different path. \u00a0You also need to learn about predicting the flight path so that it lands well away from towns or cities or motorways or airports. \u00a0I hope I don&#8217;t\u00a0need to explain how important all of this is. There&#8217;s lots more to learn about too, for example:<\/p>\n<ul>\n<li>How to track the flight &#8211; <strong>remember you MUST NOT\u00a0rely on others to track it for you<\/strong> &#8211; you HAVE to be able to track the flight yourself both at launch (to confirm it&#8217;s all working) and after landing (so you can find it).<\/li>\n<li>How to fill a balloon<\/li>\n<li>Where to buy the balloon<\/li>\n<li>What size balloon? \u00a0What size parachute? \u00a0How to tie it all together?<\/li>\n<\/ul>\n<p>None of this is complicated (it&#8217;s not, ahem &#8220;rocket science&#8221;), but there is a lot to know. \u00a0Don&#8217;t be surprised if the time between &#8220;I&#8217;ll do it!&#8221; and &#8220;Wow, I did it!&#8221; is measured in months. \u00a0Several of them. \u00a0<strong>In fact, worry if it&#8217;s less than that &#8211; this research takes time, as does practice in tracking.<\/strong>\u00a0 If at all possible, practice your tracking skills by tracking someone else&#8217;s flight before your own. \u00a0At a minimum, send a friend off, with tracker in hand, to play &#8220;hide and seek&#8221; after which you then go and locate him using nothing your tracking setup. \u00a0He should be at least half a mile away perhaps further. \u00a0If you cannot find your friend then you&#8217;re not going to be able to find a balloon payload either! We will be producing some teaching materials, but meantime please see the following links:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.pi-in-the-sky.com\/\">Pi In The Sky information<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/PiInTheSky\/pits\">PITS board on github<\/a><\/li>\n<li><a href=\"http:\/\/www.ukhas.org.uk\/\">UKHAS Wiki<\/a><\/li>\n<li><a href=\"http:\/\/ukhas.org.uk\/guides:tracking_guide\">Tracking A Flight<\/a><\/li>\n<li><a href=\"http:\/\/ukhas.org.uk\/guides:sdr_tracker\">Using an SDR to track<\/a><\/li>\n<li><a href=\"http:\/\/ava.upuaut.net\/store\/\">To buy the PITS board<\/a><\/li>\n<li><a href=\"http:\/\/randomsolutions.co.uk\/Random_Aerospace\/Welcome.html\">Balloons and Parachutes etc<\/a><\/li>\n<li><a href=\"http:\/\/www.daveakerman.com\">My blog<\/a><\/li>\n<\/ul>\n<p>As for the board, it provides a number of features borne out of a large number of successful flights:<\/p>\n<ul>\n<li>Efficient built-in power regulator providing run time of over 20 hours from 4 AA cells (using a model A Pi)<\/li>\n<li>Highly sensitive UBlox GPS receiver approved for altitudes up to 50km<\/li>\n<li>Temperature compensated, license-free (Europe) frequency agile, 434MHz radio transmitter<\/li>\n<li>Temperature sensor<\/li>\n<li>Battery voltage monitoring<\/li>\n<li>Sockets for external i2c devices, analog input, external temperature sensor<\/li>\n<li>Allows use of Raspberry Pi camera<\/li>\n<li>Mounting holes and spacers for a solid connection to the Pi<\/li>\n<\/ul>\n<p>The open-source software provides these features:<\/p>\n<ul>\n<li>Radio telemetry with GPS and sensor data using UKHAS standard<\/li>\n<li>Radio image download using SSDV standard<\/li>\n<li>Multi-threaded to maximize use of the radio bandwidth<\/li>\n<li>Variable image size according to altitude<\/li>\n<li>Stores full-definition images as well as smaller transmitted images<\/li>\n<li>Automatically chooses better images for download<\/li>\n<li>Configurable via text file in the Windows-visible partition of the SD card<\/li>\n<li>Supplied as github repository with instructions, or SD card image<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here (at last &#8211; sorry for the delays) is our new version of our Pi In The Sky Board, designed for the Raspberry Pi models A+ and B+. These new Pi models required a few changes: New smaller form-factor Connector to fit the new, larger, GPIO pin header Mounting points [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1706"}],"collection":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1706"}],"version-history":[{"count":6,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1706\/revisions"}],"predecessor-version":[{"id":1718,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1706\/revisions\/1718"}],"wp:attachment":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1706"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}