Sunday, February 7, 2016

Controlling your lights and power-outlets with your phone using arduino

I have been XXXX around with som cheap items from the Nexa system for a while now. As I'm finally getting somewhere with this I figured I should take the time to share some of the things I've done.

While doing my bachelor's degree in software engineering I started getting into microcontrollers and all the things you could do with it. Which led me to start studying electronics- and automation engineering. But thats an other story.

Anywayz. For about a year ago I stumbled over the idea that alot of those things you can buy at your local XXXstore to control the lights at home has to receive som kind of signal to be controlled. Well I did some quick research and found out that a lot of these components are receiving radio frequency signals (RF). So I went to the nearest Clas Ohlsson, which is like a type of hardware-store here in Scandinavia, and bought som different Nexa-components who happend to be using RF433Mhz:




1. http://www.clasohlson.com/no/Nexa-EYCR2-2300-2-pack-fjernstr%C3%B8mbrytere/36-4603
2. http://www.clasohlson.com/no/Nexa-CMR-101-dimmermottaker/36-5273
3. http://www.clasohlson.com/no/Nexa-WMR-252-universaldimmer-/36-5271

Now, with using an Arduino Uno, RF-transmitter and RF-receiver I managed to decode the original RF-signal and putting it on my Arduino. VĂ³ila! I can now control both lights and power-outlets with my Arduino. The next step was to somehow make this accessible on my phone.

If this seems interesting leave a comment and I'll expand this with all source-code and step-by step. Its pretty easy

Intro

This blog is about taking every day items and getting them online so that we can control them. I'll be using microcontrollers like Arduino, Spark/Particle and Moteino.
1. Post.

How the hell does this thing work? How can I add an blog description? Is it possible to be anon? Hm..