create account

Not blowing up the Pi by steevc

View this thread on: hive.blogpeakd.comecency.com
· @steevc · (edited)
$10.10
Not blowing up the Pi
<html>
<p>I've <a href="https://steemit.com/iot/@steevc/echo-location">mentioned</a> before that I plan to improve my home automation system using a <a href="https://www.raspberrypi.org/">Raspberry Pi</a> running <a href="https://home-assistant.io/">Home Assistant</a>. I'll be replacing an old system which lacks connectivity. The new system will allow me to use all sorts of new technology. They <a href="https://home-assistant.io/components/">list over 400</a> 'components' for everything from wifi lights to Bitcoin price feeds.&nbsp;</p>
<p>My first step is to get my existing PIR sensors and door switches working with the Pi. The sensors run off at least 9V, so I was very wary of overloading the Pi inputs that only handle 3.3V. I did some playing around with resistors and opto-isolators, but it looks like it just needs a resistor on the output. Although I did a degree in electronics many years ago I've worked mostly on software and my hardware experience is limited and rusty. I was able to write a little Python program to poll the input and see when movement was detected.</p>
<p><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/640px-RaspberryPi.jpg" width="640" height="427"/></p>
<p>Image from <a href="https://commons.wikimedia.org/wiki/File:RaspberryPi.jpg">Wikimedia</a>.</p>
<p>The next step is to get Home Assistant to use this. I'll be switching lights using old <a href="https://www.x10.com/x10-home-automation.html">X10 technology</a> as it's what I already have. The Pi will connect to an interface via a USB to serial adaptor. Eventually I hope to get some more modern devices, but I'm not looking to spend lots of money right now.</p>
<p>I've also finally tried to use the <a href="https://www.raspberrypi.org/products/pi-zero/">Pi Zero</a> I got free with a magazine. I don't have adaptors to plug it into much, but I read that it was possible to get access <a href="http://blog.gbaman.info/?p=791">purely over USB</a>. I had some 2GB micro SD cards, so I flashed one of those with <a href="https://www.raspbian.org/">Raspbian</a> Linux. My PC can see the Pi, but it looks like SSH may not be active, so I need to look further into that. I may buy some cheap add-ons for the Zero. There's a <a href="https://thepihut.com/collections/raspberry-pi-hats/products/scroll-phat">scrolling LED display</a> that I could use to show useful alerts, e.g. when a whale votes my posts up!</p>
<p>Update: There's a comment on the USB post above about getting this working with Ubuntu. Just had to tweak a network setting. I've had to change the name of that Pi as the PC was getting confused about ssh keys.</p>
<p>I've been trying to find more time to play with this stuff. It's fun and not too expensive, but time is in short supply. I'll post further updates as I make progress. If anyone wants further details then let me know.</p>
<p><img src="https://steevc.keybase.pub/steemit/steevc.png" width="200" height="200"/></p>
</html>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 119 others
properties (23)
authorsteevc
permlinknot-blowing-up-the-pi
categoryhomeautomation
json_metadata{"tags":["homeautomation","linux","technology","homeassistant","raspberrypi"],"image":["https://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/640px-RaspberryPi.jpg","https://steevc.keybase.pub/steemit/steevc.png"],"links":["https://steemit.com/iot/@steevc/echo-location","https://www.raspberrypi.org/","https://home-assistant.io/","https://home-assistant.io/components/","https://commons.wikimedia.org/wiki/File:RaspberryPi.jpg","https://www.x10.com/x10-home-automation.html","https://www.raspberrypi.org/products/pi-zero/","http://blog.gbaman.info/?p=791","https://www.raspbian.org/","https://thepihut.com/collections/raspberry-pi-hats/products/scroll-phat"]}
created2016-11-01 08:11:33
last_update2016-11-01 20:44:33
depth0
children12
last_payout2016-12-02 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value7.636 HBD
curator_payout_value2.467 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,985
author_reputation1,394,624,988,394,417
root_title"Not blowing up the Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id1,664,089
net_rshares36,279,819,479,499
author_curate_reward""
vote details (183)
@jahtech ·
Hi looking forward to your future articles. I am waiting delivery off a orange pi which i hope to use for mining. cheers and good luck
👍  
properties (23)
authorjahtech
permlinkre-steevc-not-blowing-up-the-pi-20161101t082348416z
categoryhomeautomation
json_metadata{"tags":["homeautomation"]}
created2016-11-01 08:23:51
last_update2016-11-01 08:23:51
depth1
children5
last_payout2016-12-02 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length134
author_reputation335,243,507,964
root_title"Not blowing up the Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,664,129
net_rshares3,772,325,477
author_curate_reward""
vote details (1)
@steevc ·
I've not looked at the Orange, but it looks like a bargain. What will you be mining with it?
properties (22)
authorsteevc
permlinkre-jahtech-re-steevc-not-blowing-up-the-pi-20161101t083502549z
categoryhomeautomation
json_metadata{"tags":["homeautomation"]}
created2016-11-01 08:33:54
last_update2016-11-01 08:33:54
depth2
children4
last_payout2016-12-02 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length92
author_reputation1,394,624,988,394,417
root_title"Not blowing up the Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,664,158
net_rshares0
@jahtech ·
Not to sure im pretty new to the hole cryptocurrency thing theres a lot to learn .but im finding it all realy interesting . i was thinking litecoin. At the moment im mining burstcoin which has been a pretty good coin for a learner.still got a few kinks to iron out so i can be more efficient. Have a three week Christmas brake so i hope to use that time to experiment with the orange pi .
👍  
properties (23)
authorjahtech
permlinkre-steevc-re-jahtech-re-steevc-not-blowing-up-the-pi-20161101t103726300z
categoryhomeautomation
json_metadata{"tags":["homeautomation"]}
created2016-11-01 10:37:30
last_update2016-11-01 10:37:30
depth3
children3
last_payout2016-12-02 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length388
author_reputation335,243,507,964
root_title"Not blowing up the Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,664,555
net_rshares3,773,761,249
author_curate_reward""
vote details (1)
@katharsisdrill ·
Cool project :) Building the internet of things yourself. That's the way to go.
👍  
properties (23)
authorkatharsisdrill
permlinkre-steevc-not-blowing-up-the-pi-20161101t091135775z
categoryhomeautomation
json_metadata{"tags":["homeautomation"]}
created2016-11-01 09:11:36
last_update2016-11-01 09:11:36
depth1
children2
last_payout2016-12-02 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length79
author_reputation338,731,233,564,946
root_title"Not blowing up the Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,664,266
net_rshares3,773,761,249
author_curate_reward""
vote details (1)
@steevc ·
I like to have control of the technology I use, but it is more work to do it yourself.  Once it's all set up it should be fairly easy to use.
properties (22)
authorsteevc
permlinkre-katharsisdrill-re-steevc-not-blowing-up-the-pi-20161101t091527007z
categoryhomeautomation
json_metadata{"tags":["homeautomation"]}
created2016-11-01 09:14:18
last_update2016-11-01 09:14:18
depth2
children1
last_payout2016-12-02 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length141
author_reputation1,394,624,988,394,417
root_title"Not blowing up the Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,664,275
net_rshares0
@katharsisdrill · (edited)
I always do it myself too, the time is just the price of being curious. All these projects...
👍  
properties (23)
authorkatharsisdrill
permlinkre-steevc-re-katharsisdrill-re-steevc-not-blowing-up-the-pi-20161101t114122580z
categoryhomeautomation
json_metadata{"tags":["homeautomation"]}
created2016-11-01 11:41:21
last_update2016-11-01 11:43:39
depth3
children0
last_payout2016-12-02 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length93
author_reputation338,731,233,564,946
root_title"Not blowing up the Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,664,799
net_rshares3,773,761,249
author_curate_reward""
vote details (1)
@linkback-bot-v0 ·
This post has been linked to from another place on Steem.


  - [Advanced Steem Metrics Report for 1st November 2016](https://steemit.com/steemit/@ontofractal/advanced-steem-metrics-report-for-1st-november-2016) by @ontofractal




Learn more about and upvote to support [**linkback bot v0.5**](https://steemit.com/steemit/@ontofractal/steem-linkback-bot-v0-5-the-reddit-awareness-release). Flag this comment if you don't want the bot to continue posting linkbacks for your posts.

Built by @ontofractal
properties (22)
authorlinkback-bot-v0
permlinkre-steevc-not-blowing-up-the-pi-linkbacks
categoryhomeautomation
json_metadata{}
created2016-11-02 18:57:00
last_update2016-11-02 18:57:00
depth1
children0
last_payout2016-12-02 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length504
author_reputation1,915,954,976,722
root_title"Not blowing up the Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,674,201
net_rshares0
@opheliafu ·
Exciting stuff! Looking forward to your updates on this.
👍  
properties (23)
authoropheliafu
permlinkre-steevc-not-blowing-up-the-pi-20161101t083528147z
categoryhomeautomation
json_metadata{"tags":["homeautomation"]}
created2016-11-01 08:35:33
last_update2016-11-01 08:35:33
depth1
children0
last_payout2016-12-02 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length56
author_reputation509,110,007,513,463
root_title"Not blowing up the Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,664,161
net_rshares3,773,683,524
author_curate_reward""
vote details (1)
@virtualgrowth ·
https://img1.steemit.com/192x192/https://s15.postimg.org/hlkpghmkr/Spot_light.png
[Included in Steemprentice Spotlight](https://steemit.com/steemprentice/@virtualgrowth/steemprentice-spotlight-sharing-steemit-stuff-and-skills) :)
Tweeted by [SteemLand](https://twitter.com/Steem_Land)
http://www.onlinesignature.in/animateText/text785697588.gif
👍  
properties (23)
authorvirtualgrowth
permlinkre-steevc-not-blowing-up-the-pi-20161102t162948222z
categoryhomeautomation
json_metadata{"tags":["homeautomation"],"image":["https://img1.steemit.com/192x192/https://s15.postimg.org/hlkpghmkr/Spot_light.png","http://www.onlinesignature.in/animateText/text785697588.gif"],"links":["https://steemit.com/steemprentice/@virtualgrowth/steemprentice-spotlight-sharing-steemit-stuff-and-skills","https://twitter.com/Steem_Land"]}
created2016-11-02 16:29:48
last_update2016-11-02 16:29:48
depth1
children0
last_payout2016-12-02 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length344
author_reputation194,277,377,425,680
root_title"Not blowing up the Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,673,275
net_rshares4,342,898,110
author_curate_reward""
vote details (1)