{"id":1412,"date":"2013-10-25T18:32:38","date_gmt":"2013-10-25T18:32:38","guid":{"rendered":"http:\/\/www.daveakerman.com\/?p=1412"},"modified":"2013-10-25T18:58:19","modified_gmt":"2013-10-25T18:58:19","slug":"update-chase-car-raspberry-pi-with-gps-video-streaming","status":"publish","type":"post","link":"http:\/\/www.daveakerman.com\/?p=1412","title":{"rendered":"Update &#8211; Chase Car Raspberry Pi with GPS, Video Streaming"},"content":{"rendered":"<p>Following my <a href=\"http:\/\/www.daveakerman.com\/?p=1398\">previous post<\/a>, I\u2019ve now packaged up my Pi Chase Car system, using the new <a href=\"http:\/\/ava.upuaut.net\/store\/index.php?route=product\/product&#038;path=59_60&#038;product_id=95\">Raspberry Pi GPS Board<\/a> from <a href=\"http:\/\/ava.upuaut.net\/store\/\">HAB Supplies<\/a>.<\/p>\n<p>The original GPS receiver, purchased on ebay, just wasn&#8217;t up to the task of getting a good GPS signal inside a Raspberry Pi case. \u00a0The HAB Supplies board has an SMA socket for use with an external GPS antenna which can then be placed in a suitable position in or on (using a magmount antenna) the chase car. \u00a0For a car especially, where the sky is partially blocked by the roof (and perhaps by a heat-reflective windscreen) this is a much better arrangement.<\/p>\n<p>The board has a couple of other nice features. \u00a0Firstly there&#8217;s a backup battery (supplied) so the receiver will regain lock very quickly after power-up. \u00a0Secondly, all of the GPIO pins are connected to two rows of holes on the board, making it easy to connect to LEDs, switches or anything else. \u00a0For my chase car computer, I wanted to connect 2 switches to enable or disable a couple of functions, so this was ideal. \u00a0Here&#8217;s the board connected to a model A:<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080908.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-1413\" alt=\"P1080908\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080908-1024x682.jpg\" width=\"640\" height=\"426\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080908-1024x682.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080908-300x200.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The yellow\/black wires connect to two small and very neat rocker switches bought from <a href=\"http:\/\/www.maplin.co.uk\/slim-line-rocker-switch-98091\">Maplin<\/a> for 99p each.  I fitted one into each half of a <a href=\"https:\/\/www.modmypi.com\/raspberry-pi-cases\/cyntech-black-raspberry-pi-case\">Cyntech Blackberry Raspberry Pi Case<\/a>, by cutting (carefully, with a sharp scalpel) the RJ45 aperture (not needed of course as this is a model A Pi).  No doubt other cases are just as suitable though ones made from harder plastic will require cutting with a Dremel or similar rather than a knife.  This case is nice as it includes an SD card cover \u2013 essential for use in a car where the card could get knocked, breaking the card and\/or holder.  After cutting I glued the switches in place, firstly with some super-glue to get them into position, and then with some hot melt to secure them further.  Here\u2019s the outside of the case showing the switches, plus the WLAN adapter and the GPS cable coming out of the case where the model B\u2019s double USB socket would have been:<br \/>\n<a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080915.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-1414\" alt=\"P1080915\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080915-1024x682.jpg\" width=\"640\" height=\"426\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080915-1024x682.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080915-300x200.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>One switch controls the position uploads to spacenear.us, whilst the other controls streaming to batc.tv.<\/p>\n<p>Lastly, I mounted the Pi camera on the case using a <a href=\"http:\/\/shop.pimoroni.com\/products\/camera-mount\"> Pimoroni Camera Mount<\/a>, used upside-down to normal.  I\u2019ve yet to install everything in my chase car, and when do I may have to move the camera for a better view, so a permanent fixture can wait.<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080911.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-1415\" alt=\"P1080911\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080911-1024x682.jpg\" width=\"640\" height=\"426\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080911-1024x682.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/P1080911-300x200.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a>External connections to the box are a standard micro-USB car power adapter, and of course the 4.3&#8243; foldaway LCD screen showing the basic car and balloon information needed on a chase:<\/p>\n<p><a href=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/carpi.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-large wp-image-1407\" alt=\"carpi\" src=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/carpi-1024x682.jpg\" width=\"640\" height=\"426\" srcset=\"http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/carpi-1024x682.jpg 1024w, http:\/\/www.daveakerman.com\/wp-content\/uploads\/2013\/10\/carpi-300x200.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following my previous post, I\u2019ve now packaged up my Pi Chase Car system, using the new Raspberry Pi GPS Board from HAB Supplies. The original GPS receiver, purchased on ebay, just wasn&#8217;t up to the task of getting a good GPS signal inside a Raspberry Pi case. \u00a0The HAB Supplies [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,4],"tags":[],"_links":{"self":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1412"}],"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=1412"}],"version-history":[{"count":5,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1412\/revisions"}],"predecessor-version":[{"id":1420,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1412\/revisions\/1420"}],"wp:attachment":[{"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1412"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.daveakerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}