Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

Hello everyone I am new to microcontrollers and electronics in general, and would like to learn how I can control lights within my house via an iOS Application. How would I go about doing this...with the use of an custom arduino board or a pre-built microcontroller. Please understand I really have no idea what to do when it comes to electronics, I know the basics and that is all. I also understand how to program. Any help is appreciated thank you.

share|improve this question

2 Answers

There are several points that come to mind when thinking about the design for this project.

Connecting Arduino to iPhone
There are 2 options for this use bluetooth or have a webserver running on a netduino, so it could be accessed from the web. Here are some tutorials on iPhone and Arduino.

Mains/Line Power and Microcontroller
You are going to need some form of isolation between your control system and the lighting system because they both use different current(lighting if mains then is AC, microcontroller is DC) and different voltages(lighting 240v in the UK(120V in the states, while microcontroller uses ~5v). This could be done with a relay or opto-isolator. A relay is a device that is a mechanical switch which has an electro-magnet that pulls the contact instead of pressing it. Primarily used so you can interface different voltage systems. Such as your lighting system and Arduino.

Processing Software For Microcontroller
This is trivial basically when it receives a command turn an output on, it is also dependent on how you configure your software.

Software For iPhone
This is the next thing you have to decide on. Remember iPhone development can only be done on a mac so maybe the webserver option is a better approach if you don't have a mac. Also could be accessed on any smartphone(not just iPhone).

Overall I think your best approach is using an Arduino because you don't have to have an extensive electronics knowledge to get this project going, and the majority could be plugging a few wires in with this relay shield(just quickly googled that), then writing the software which there might be loads of examples around for what you are wanting todo. If I think of anything else I will add more.

share|improve this answer

There is an app out there which can help you when having the hardware (arduino) running.

http://netio.davideickhoff.de/

Good luck!

Edit:

The NetIO App is a generic remote control which can be configured online with a HTML browser app ( UI-Designer ). The app, android or iOS, will use this configuration to render your remote control with buttons, sliders, labels or switches. It will establish a TCP socket connection to your hardware and sends strings, which have also been defined in the configuration. It is also possible to use http requests instead of a socket connection.

Videos are better than a long text, so just take a look at the demo videos listed on the website.

share|improve this answer
We need more details then just a link, can you please provide a bit more information. – Kortuk Sep 27 '12 at 21:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.