{"id":2202,"date":"2017-08-16T14:42:32","date_gmt":"2017-08-16T14:42:32","guid":{"rendered":"http:\/\/www.daveakerman.com\/?p=2202"},"modified":"2017-08-16T14:42:32","modified_gmt":"2017-08-16T14:42:32","slug":"pi-lora-868mhz-flight","status":"publish","type":"post","link":"http:\/\/www.daveakerman.com\/?p=2202","title":{"rendered":"Pi LoRa 868MHz Flight"},"content":{"rendered":"<p>This was a simple flight, partly to try out a fisheye camera for the Pi Zero, partly to try streaming the launch to YouTube from a new camcorder, and partly to get a launch in while the weather is good for it!<\/p>\n<h2>Streaming<\/h2>\n<p>I wrote <a href=\"http:\/\/www.daveakerman.com\/?p=2134\">previously<\/a>\u00a0about how to stream to YouTube from a D-SLR. \u00a0That technique used the USB connection from the camera, but better quality is possible by feeding the HDMI output from a suitable camera into a HDMI to USB video capture device. \u00a0However, many DSLRs superimpose focus rectangles and other items onto their HDMI output, which is not what we want. \u00a0For some Canon DSLRs (but sadly not my EOS 760D!) some third-party firmware can make the HDMI output clean, so I needed to find another camera to use. \u00a0One option was to buy a cheap\/older Canon DSLR, but in the end I opted for a <a href=\"http:\/\/www.panasonic.com\/uk\/consumer\/cameras-camcorders\/camcorders\/hd-camcorders\/hc-v160.html\">Panasonic V160<\/a>\u00a0which has a 38x optical zoom, is small and very light (perhaps too light!), and can accept a larger than standard battery for longer run time (or can run from USB power). \u00a0I paired this with a cheapish fluid head on a heavyish tripod.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large\" src=\"http:\/\/hdvcam.net\/wp-content\/uploads\/Panasonic-HC-V160.jpg\" width=\"500\" height=\"330\" \/><\/p>\n<p>For capturing the HDMI feed, I bought an <a href=\"https:\/\/www.amazon.co.uk\/dp\/B00I0QZMPE\/ref=pe_1909131_77697121_tnp_email_TE_AMZLdp_2\">AverMedia HDMI to USB capture device<\/a>\u00a0which had HDMI in and out sockets, and a USB connection to a PC. \u00a0It&#8217;s really very very good, once you get past the rather odd software user-interface which wants to be a game rather than a program. \u00a0The software can stream to various services including YouTube, and will authenticate to YouTube so you don&#8217;t have to mess around with URLs or video ID codes. \u00a0Provided you have the uplink bandwidth (which for me means using 4G rather than the pathetically slow FTTC connection) then streaming is very smooth indeed, mainly as a result of the device doing H.264 compression internally.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large\" src=\"http:\/\/www.alina.se\/images\/produktbilder\/thumb\/800\/tn_2cc56b1a2dc5d229b2c057d02d04278d.jpg\" width=\"800\" height=\"400\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>I streamed the launch live to YouTube, and you can see the results <a href=\"https:\/\/www.youtube.com\/watch?v=5eORdh-EF1s\">here<\/a> in my channel.<\/p>\n<h2>Payload<\/h2>\n<p>I made the tracker a few weeks ago, similar to <a href=\"http:\/\/www.daveakerman.com\/?p=2101\">this design<\/a>\u00a0but using a <a href=\"https:\/\/thepihut.com\/products\/zerocam-fisheye-camera-for-raspberry-pi-zero?variant=36696831121\">fisheye camera from Pi Hut,<\/a>\u00a0using an 868MHz LoRa module so I could send fairly large images down during the flight. \u00a0As the range of these wideband transmissions is much shorter than for more normal settings, I set up a LoRa gateway connected to a high-gain Yagi antenna atop an ex-Army 12 metre Clark mast. \u00a0This gateway uplinked messages to the flight, for <a href=\"http:\/\/www.daveakerman.com\/?p=2195\">re-sending any missing image packets<\/a>, and separately another gateway listened only, from a 1\/4 wave antenna through a <a href=\"https:\/\/store.uputronics.com\/index.php?route=product\/product&amp;path=59&amp;product_id=51\">filtered pre-amp<\/a>.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large\" src=\"https:\/\/pbs.twimg.com\/media\/DE9CIJzWsAIINR1.jpg:large\" width=\"2048\" height=\"1536\" \/><\/p>\n<p>For the flight, I removed the tracker from that case and placed it inside a foam plastic box from Hobbycraft, powered by a cheap AA*2 powerbank. \u00a0However, this combination failed to gain a GPS lock, so I swapped the powerbank for a 4*AA model and used 2 cases taped together so I could keep the powerbank away from the GPS aerial (1\/4 wave wire as in the photo above). \u00a0The result had no problem at all getting a good GPS lock with plenty of satellites, however the weight went up from 95g to 195g. \u00a0Balloon was a 1600g Hwoyee with hydrogen.<\/p>\n<h2>Flight<\/h2>\n<p>The launch was delayed by the GPS issue and wanting to wait until I had some help, by which time the wind had gone from &#8220;nothing at all&#8221; to &#8220;mainly blustery&#8221;. \u00a0So filling the balloon was fun, as can be seen on the video, and I had to take the balloon down to near some trees before launching it. \u00a0After that, the flight itself went smoothly, and pretty close to the prediction, albeit a bit higher finally bursting at 43,014 metres (I expected 41-42km).<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-2203\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/pi868-1024x398.png\" alt=\"\" width=\"640\" height=\"249\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/pi868-1024x398.png 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/pi868-300x117.png 300w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/pi868-768x299.png 768w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/pi868.png 1222w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>We tracked the flight in our chase car, both via the live map and also with direct reception using the 868MHz LoRa gateway in the dashboard. \u00a0As I mentioned, range on 868 isn&#8217;t that good, so for a long time we had no direct data or images, but once we got in range reception was very good. \u00a0We were about 10 minutes away from the flight when it landed, and got our last position when it was at about 775m altitude. \u00a0We then tapped the predicted landing position (as sent by the tracker itself) into my phone and drove up to the landing spot easily. \u00a0When we got there, Julie first spotted the payload and parachute just metres away from the road.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large\" src=\"https:\/\/pbs.twimg.com\/media\/DHHyJspXcAIGzQh.jpg:large\" width=\"2048\" height=\"1152\" \/><\/p>\n<p>Even better, there was an open gate just behind where we parked, so a very very easy recovery.<\/p>\n<p>Finally, some photos from the flight.<\/p>\n<p>Just after launch:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-2205\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/12_24_38-1024x768.jpg\" alt=\"\" width=\"640\" height=\"480\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/12_24_38-1024x768.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/12_24_38-300x225.jpg 300w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/12_24_38-768x576.jpg 768w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/12_24_38.jpg 1280w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Near peak altitude:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-2204\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/14_33_49-1024x765.jpg\" alt=\"\" width=\"640\" height=\"478\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/14_33_49-1024x765.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/14_33_49-300x224.jpg 300w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/14_33_49-768x574.jpg 768w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Just before landing:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-2206\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/15_42_22-1024x768.jpg\" alt=\"\" width=\"640\" height=\"480\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/15_42_22-1024x768.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/15_42_22-300x225.jpg 300w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/15_42_22-768x576.jpg 768w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2017\/08\/15_42_22.jpg 1280w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was a simple flight, partly to try out a fisheye camera for the Pi Zero, partly to try streaming the launch to YouTube from a new camcorder, and partly to get a launch in while the weather is good for it! Streaming I wrote previously\u00a0about how to stream to [&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\/2202"}],"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=2202"}],"version-history":[{"count":1,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/2202\/revisions"}],"predecessor-version":[{"id":2207,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/2202\/revisions\/2207"}],"wp:attachment":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2202"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}