{"id":368,"date":"2017-03-14T23:06:58","date_gmt":"2017-03-15T03:06:58","guid":{"rendered":"https:\/\/blog.lufamily.ca\/kang\/?p=368"},"modified":"2017-04-03T21:53:55","modified_gmt":"2017-04-04T01:53:55","slug":"raspberry-pi-zero-w-with-relay","status":"publish","type":"post","link":"https:\/\/blog.lufamily.ca\/kang\/2017\/03\/14\/raspberry-pi-zero-w-with-relay\/","title":{"rendered":"Raspberry Pi Zero W with Relay"},"content":{"rendered":"<p>Last weekend I spent my time configuring the Raspberry Pi 3 Model B to trigger a relay. Tonight, I finally took the time to solder the 2 x 20 pin headers to the Raspberry Pi Zero W board. I wired it all up again and took a photo with a quarter coin, so you can appreciate how small the circuit is.<\/p>\n<p>I had to make a minor software adjustment, because the Node.js version that I installed on the Pi 3 did not work. Apparently I had to get the <code>armv6l<\/code> version instead of the <code>arm7l<\/code>.<\/p>\n<ul>\n<li><code><a href=\"https:\/\/nodejs.org\/dist\/latest-v7.x\/node-v7.7.3-linux-armv6l.tar.gz\">https:\/\/nodejs.org\/dist\/latest-v7.x\/node-v7.7.3-linux-armv6l.tar.gz<\/a><\/code><\/li>\n<\/ul>\n<p>After a quick re-install from the above link, I was back in business.<\/p>\n<p>Now I&#8217;m going to test the stability of the WiFi on the Pi Zero, before I make the final security touches to the software and then to the garage door opener!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last weekend I spent my time configuring the Raspberry Pi 3 Model B to trigger a relay. Tonight, I finally took the time to solder the 2 x 20 pin headers to the Raspberry Pi Zero W board. I wired it all up again and took a photo with a quarter coin, so you can &hellip; <a href=\"https:\/\/blog.lufamily.ca\/kang\/2017\/03\/14\/raspberry-pi-zero-w-with-relay\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Raspberry Pi Zero W with Relay&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":372,"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":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[49,48,51,50,47,46],"class_list":["post-368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-door","tag-garage","tag-ios","tag-opener","tag-pi","tag-raspberry"],"jetpack_featured_media_url":"https:\/\/blog.lufamily.ca\/kang\/wp-content\/uploads\/sites\/3\/2017\/03\/IMG_1477.jpg","jetpack_shortlink":"https:\/\/wp.me\/p7V6i8-5W","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":3,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"predecessor-version":[{"id":373,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/368\/revisions\/373"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/media\/372"}],"wp:attachment":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}