{"id":599,"date":"2014-07-07T21:58:02","date_gmt":"2014-07-07T21:58:02","guid":{"rendered":"http:\/\/www.oaktreelabs.co.uk\/blog\/?p=599"},"modified":"2014-11-06T19:46:39","modified_gmt":"2014-11-06T19:46:39","slug":"remote-farm-camera-experimenting-with-wifi","status":"publish","type":"post","link":"https:\/\/www.richardmudhar.com\/blog\/2014\/07\/remote-farm-camera-experimenting-with-wifi\/","title":{"rendered":"Remote Farm camera &#8211; experimenting with WiFi"},"content":{"rendered":"<p>Clive from the Raspberry Pi Foundation very kindly let us have a Pi Model A and camera, so it&#8217;s time to take this project forward a stage. At the moment the alpha test version is in service keeping an eye on our new piglets. Although the original purpose was to keep an eye on our <a href=\"http:\/\/www.the-oak-tree.co.uk\/blog\/2014\/06\/cattle-arrive-at-the-oak-tree\/\">newly arrived cattle<\/a> pigs are more enterprising, so it&#8217;s good to know where they are<\/p>\n<figure id=\"attachment_600\" aria-describedby=\"caption-attachment-600\" style=\"width: 625px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/cam01pigs.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-600 size-large\" src=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/cam01pigs-1024x768.jpg?resize=625%2C468\" alt=\"Our camera on the pigs\" width=\"625\" height=\"468\" srcset=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/cam01pigs.jpg?resize=1024%2C768&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/cam01pigs.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/cam01pigs.jpg?resize=624%2C468&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/cam01pigs.jpg?w=1296&amp;ssl=1 1296w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-600\" class=\"wp-caption-text\">Our camera on the pigs<\/figcaption><\/figure>\n<p>Development was stalled however since it&#8217;s not easy to work on a piece of kit in service.\u00a0 Ideally one MiFi box could serve a number of cameras. This would reduce the camera power drain and consolidate.<\/p>\n<p>The trouble is that the site is on the edge of town, a couple of hundred metres from the nearest houses, and I want to use BT Wi-Fi<\/p>\n<figure id=\"attachment_603\" aria-describedby=\"caption-attachment-603\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/1407_yagi_P7070105.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-603 size-medium\" src=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/1407_yagi_P7070105-300x225.jpg?resize=300%2C225\" alt=\"Yagi wifi antenna\" width=\"300\" height=\"225\" srcset=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/1407_yagi_P7070105.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/1407_yagi_P7070105.jpg?resize=624%2C468&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/1407_yagi_P7070105.jpg?w=1024&amp;ssl=1 1024w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-603\" class=\"wp-caption-text\">Yagi wifi antenna<\/figcaption><\/figure>\n<p>I acquired one of these from ebay I didn&#8217;t have much hope for the integrity of the device, and to gain height I needed to go 250m further way from any likely source of WiFi. But it worked a treat, as a WISP client, I&#8217;m amazed. I was able to see 18 access points, five of which were BT WiFi , 3 of which were 5dB or above. The TP-Link gives a decent link at more than 5 and nothing at 2. I streamed a video to confirm the stability of the link.<\/p>\n<figure id=\"attachment_606\" aria-describedby=\"caption-attachment-606\" style=\"width: 496px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/1407_P7070100.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-606 size-full\" src=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/1407_P7070100.jpg?resize=496%2C244\" alt=\"TP Link signal strength with yagi\" width=\"496\" height=\"244\" srcset=\"https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/1407_P7070100.jpg?w=496&amp;ssl=1 496w, https:\/\/i0.wp.com\/www.richardmudhar.com\/blog\/wp-content\/uploads\/2014\/07\/1407_P7070100.jpg?resize=300%2C147&amp;ssl=1 300w\" sizes=\"auto, (max-width: 496px) 85vw, 496px\" \/><\/a><figcaption id=\"caption-attachment-606\" class=\"wp-caption-text\">TP Link signal strength with yagi<\/figcaption><\/figure>\n<p>I use it with a TP-Link TL-WA5110G which has the advantage of having a sma antenna socket and a native power supply of 12V. Although the adaptor is specced at 1A I measured the power drain at about 210 mA (~2.5W @12V). Which isn&#8217;t great but not terrible<\/p>\n<h4>A WISP client is not a\u00a0 repeater<\/h4>\n<p>The trouble with using the tP link as a WISP client is the signal is presented as Ethernet, and I&#8217;d then want to re-radiate the signal on a different Wi-Fi network.\u00a0 I could set it as a repeater, but then every Raspberry Pi would have the hurt of logging into BT WiFi. Whereas if I use a Raspberry Pi connected via ethernet to the TP-link and a WiPi dongle to connect to the farm I can collect pictures from the cameras on the farm network and perhaps power-manage the TP Link to only update every so often.<\/p>\n<p>So an unexpected win, and I can look at using a Model B as a concentrator<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Clive from the Raspberry Pi Foundation very kindly let us have a Pi Model A and camera, so it&#8217;s time to take this project forward a stage. At the moment the alpha test version is in service keeping an eye on our new piglets. Although the original purpose was to keep an eye on our &hellip; <a href=\"https:\/\/www.richardmudhar.com\/blog\/2014\/07\/remote-farm-camera-experimenting-with-wifi\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Remote Farm camera &#8211; experimenting with WiFi&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[57,275,10,13,14],"tags":[284],"class_list":["post-599","post","type-post","status-publish","format-standard","hentry","category-electronics","category-greenmantle","category-raspberry-pi","category-sensors","category-smallholding","tag-pigcam"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5aOO7-9F","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts\/599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/comments?post=599"}],"version-history":[{"count":3,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts\/599\/revisions"}],"predecessor-version":[{"id":1416,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/posts\/599\/revisions\/1416"}],"wp:attachment":[{"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/media?parent=599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/categories?post=599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.richardmudhar.com\/blog\/wp-json\/wp\/v2\/tags?post=599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}