Home Automation With Raspberry Pi
Home Automation With Raspberry Pi
Home Automation With Raspberry Pi
Introduction
Since a kid Ive been passionate about electronic and computers.
Previously Ive done different smallr projects with arduino, like handbrake
for my gaming steering wheel, custom LED tachometer for my car, voice
controlled LEDs, flower watering system. Few months ago I bought
Raspberry PI 3 and around all the IoT hype, I started automating my home.
In the begining I didnt even thought about making it public, but in the end
I uploaded the source to Github. After most of my to-do list was done, I
posted a link from my github repo to my facebook wall and 2 times in
reddit, then I went to sleep. When I woke up in morning, I already had
about 100 github stars with over 50 upvotes on reddit and few of my
friends gave really position feedback about it. By the end of the day the
stars were over 300 and suddenly they started increasing on each refresh
and few minutes later, one of my co-workers told me that my project is 3rd
on the Hacker News homepage. When I woke up next morning there were
over 2000 stars, I found many positive emails in my inbox and bunch of
comments on every post. After that my project led github trending for 3
sequential days. I basically couldnt believe what just happened and I
didnt even intend to share my code in the begining. By the time I write
this post my Github repository has over 2500 stars, 129 forks and over
500 upvotes in the reddit posts combined.
(video at bottom)
The Hardware
RaspberryPi3 is the controlling unit. High-power devices, such as LED
strips, are powered via external 12V5Apowersupply (shared ground with
the PI). The AC is controlled via 950nm infrared LED. The heating system is
wired via relay (on and off) and servo for the thermostat as I was avoid
disassembling. Both white LED strip and the RGB strip are connected
via IRLZ34N logical transistors to the PI. There is also IR receiver, just in
case I want to record anything else. Temperature is measured via DS18B20
temperature sensor.
The wiring looks like:
Software dependencies
o Node & Npm
o Pi-Blaster
o WiringPi
o Lirc
Video