A story about home automation

June 01, 2015

a-story-about-home-automation  Facebook  Twitter  Google +  
  vidposter.jpg

 relay circuits are "hello word" projects of electronic prototyping. Long time ago, when got my first computer i created one of them and controlled the desktop peripherals via pc software. this kind of desktop automation can really save your life if you have ADHD or something. first prototype was driven via parallel port and a visual basic application was controlling directly the motherboard resources w/o any kernel driver or something.


mark1.jpgmark2.jpg

 at the beginning, i realized the this kind of setup causing the electromagnetic interference due to mechanical relays. and eventually causing BSOD. someday i decided to create another relay box from scratch by using PIC16F877 so relay box will be declare the it's independence, as the result we won't need to worry about bsod's. i was controlling it via comport and bundled another PIC controller to reset the circuit in spesific time period. with this setup device can continue to work even if microcontroller frozen or stuck which caused by EMI

 Second attempt was in 2009, i met with the arduino in this year and created same relay box by using uno board and one relay module which purchased from ebay. i was hoping this kind of "ready to use" components will be completely robust and stable instead of my handmade boards.

 But it's not!
 I still messed with EMI problems and headed to another rubbish idea. this time, provided power to +12v relays by using set of +5v small relays which connected to arduino. and one of them was bridged with a bigger relay called contactor which designed to handle heavy electical loads. as the result, i was solved the emi problem by using three level of isolated circuits but wasted 9 relays just for 3 power outlet.

 Modernization
 Here's the starting point of this entry. the second version (black box on the picture) still working without any problem but it's getting obsolete. making too much noise, drawing unnecessary power etc.

 few weeks ago researched the solid state relay modules and decided to create a final version which will lasts about another 10 year. ssr relays are working like mosfets so they're completely emi-free. i purchased a relay module and another arduino board and just connected them together within one hour. then i found the enough time to focus the box design and it's firmware.

 as the result, final version costs me about $35~40 plus two weeks. now it's completely silent, stable and powered directly from usb which cannot draw more than +5v ~ 500 milliamps.

 Assignment
 another software controlling that box to turn on desktop peripherals upon pc boot and turning off them when user away from computer to save energy. actually that's not a big deal but this kind of small details really increasing the life quality and returns as motivation which required for development of more bigger things.

 If interested, it's source code available in devzone section.

  Fuck Spam
phjAHFsJlf0q2eEm@szWUvCdq.gov
uD2VyGd80bUtrFCx@FHhywmO7.net
vH2SrMn0fLFV7ibo@3OxUtClu.org
hcDfCHy6jJ4armYT@IfMNwWn6.org
flM6pJ8uOANnB42d@bZyxzrdE.org
omVTahuZeIcfwnyi@Tkjty9ix.com
szche4f9Ea0mZLF7@u7F3gTpX.com
bNiIRjHMr4SYAGtE@8iF4dG2I.net
VuJy4EtmQ6D9YxKL@VzHJtvqc.net
Pod4WyYqQzemSTUp@713m8iK4.org
WC4HXeqzIl8phGYS@41MDB2Wc.gov
9uqNepxsv6Ha1UOJ@byFKUIpT.com
ITraWOvp65VkSjYz@Pekp7O1j.com
c53OtRHS9mCwyzIT@ygexCP67.org
n0f1Q9GTbiI8HYks@TfOd9pCs.org
Zm1uExI782Sd49FG@XdqayZoY.net
r7YT9CgaiE4ZuNOp@lRHiM1J5.gov
VK7ROh86g2rLzcvY@e6tqsMxo.com
cUuGAFsW34I2ki57@ay9CXv8i.net
dF8DbJ5YZ3TipsSM@KHBtGhz0.gov
RXbNgmAhyijKYLM3@nVZzixob.com
Czq6MlfeKR0PX2m5@u9Flo0xv.gov
enRcFCazjHL4kmxP@9bLspOnZ.org
wrPQLY1eKxuc3oRv@iVd57uFY.org
HF6MNYSvaGqi0OW9@2aMGow1d.gov
RAvfFwWa2l0mNdY4@1PhZyD8n.net
sBmSprgz0ZxG318e@PZXHiejY.org
i62q8toazESf1M9g@aS84DWyL.net
6uXOZsvapP9ABmk0@Y9N26Day.com
ZJzFHtPAy5vfljWI@ODlxfwcR.gov
V7UP8rNFetYHOLzm@hfYoVD5M.gov
Qn6qz5CrKYSEdRDF@fgF0D9Ya.com
EKo9qtP6QykeNBfh@lJFU4qv0.net
K5TDCAL3B4o70adZ@7E5Uijwv.net
Gj51SK4vApE8wgR0@l4BhjdP9.com
9P3NVwk21iuHDpq5@zEdJlb9t.org
OJMum4tT2jLNPAzF@t38N0Jfj.org
qkY5yjQ60Hg2eFM7@7UqKFY1E.gov
qgZdlJCn9zi6XPcB@KRiY36se.net
AIZV0RGqndYDEzFs@odFlO1mU.gov
Jkbzo8yVYL1wn0rC@Ipo496Wh.org
TXPoEZC8WO3NI4Vw@4uVNEOwa.org
KlWpXAcnwYEZb7Uu@pV2sixHh.net
U0uHPhpJnaersjAM@uvzR2gBs.net
MgSXYV7jRpnUA2QH@jTXIuhD2.com
s7jaQImrlfY5vzTJ@mxcNYy92.net
YR3jeWCp0l4xPkhd@AUNn8ST3.org
OV1eW29zgvcyluow@mpbwEhcM.com
  Most Watched

Fail of week: WS2811 VU-Meter

after the few commercial projects, i got some "me-time" at last. i sold all of my geek toys and some trash on ebay except few 8 Year, 3 Month ago


Strange signals on radio ocean

2012 was SDR year. some guys (Antti Palosaari ...

Project Judith - First hardware connection tests

trying to make a connection between my virtual assistant "Judith" and a PIC16F84 based 8-bit relay interface. first step to pc b...

New gadget on desktop: Air Quality Sensor

past year i was working with a material named ...

New gadget: wireless sensor station

After the spending months to commercial projects, taken few days of break and created a new sensor node for home network. it's s...