1. You can now buy finished microcontroller project from us, Check out the Store for the complete list of projects.
  2. Need a custom project, Send us some details about your project. So that we can quote the price for it.

8051 Control your Home appliances using Cortana (Windowsphone 8.1)

Control your home appliances using Cortana which is a personal smartphone assistant for Windowsphone

  1. Binu
    Control your home appliances through Cortana which is a personal smartphone assistant for Windowsphone 8.

    My previous project uses bluetooth to communicate between the mobile and hardware. It has a lot of disadvantages. The main disadvantage of bluetooth connection is the power drainage on the Mobile. Also every time we need to switch on/off the bluetooth manually since windows phone wont allow it through any api. Another disadvantage is the connection delay. It takes around 1 to 3 seconds to get connected with the hardware from the mobile.

    So this time i decided to go with Wifi. Which is always connected to the home wifi network and overcomes all the above disadvantages. For that i decided to use HI-LINK HLK-RM04, which is a "HI-LINK HLK-RM04 Serial Port-Ethernet-Wi-Fi Adapter Module" Check this link for more details about this product. You can buy it from here for just $14.99

    HLK-RM04 Serial Port-Ethernet-Wi-Fi Adapter.jpg

    This comes with a base board for ethernet connection, since i am going to use wifi connection there is no need for the base board. I am just using the module which is shown below.
    HLK-RM04 Serial Port-Ethernet-Wi-Fi Adapter Module.jpg
    You can configure the module through web interface. For setting up the module you need to use it with the base board. Connect the board to your home network through the ethernet cable and type the default IP address of the module which is 192.168.16.254. The username and password is admin. Now change the NetMode to WIFI(CLIENT)-SERIAL and set other details as per the screenshot shown below. But you can use any wifi to serial modules. Check out this link to setup the wifi module.
    Screenshot.jpg

    Circuit Diagram
    Circuit.png
    The circuit diagram is simple, it uses wifi module with an 8051 microcontroller a relay driver and relays.

    Cortana
    Embedded professionals wont have any idea about Cortana. It is an intelligent personal assistant on the Windows Phone 8.1 operating system. For more details about cortana check this link. Also check this link for integrating Cortana to your wp ap.

    MyHome App
    My app has an gui for controlling the devices through buttons also. Its also integrated to Contana so you can control all the devices through cortana. Just say "Home switch on the light". Here Home is the keyword which represent my app. So to switch off the light just say "Home switch off the light"

    App Demo
    niloy raj, RINKI, Svetoslav and 2 others like this.

Recent Reviews

  1. Saransh
    Saransh
    2/5,
    Really helpful but I'm facing one problem I'm not able to initialise the RM04 module.i have a base board for it the same I see in ur post.where exactly I'm facing the problem is I initialise all the setting and then after that there is no WIFI hotspot for it.

    This is what I do
    I open the browser with I.p-192.168.16.254
    From there I scan the wifi module for my hotspot.
    In I.p address- i.p address of my cellular network as I use a hotspot
    In default gateway-gate away of the cellular network
    In net mode-wifi client
    Baudrate-57600
    Please help me its my final year project.
  2. elettronicasalvo
    elettronicasalvo
    5/5,
    Ottimo lavoro
  3. k.siva
    k.siva
    5/5,
    that project would be save the waste of electrical energy with use of simple hand equpment{mobile phone}
  4. VICKEY
    VICKEY
    5/5,
    nice idea
  5. chaitany
  6. Jeyanthrnd
    Jeyanthrnd
    5/5,
    Really superb
  7. Jesal Patel
    Jesal Patel
    5/5,
    excellent idea.
    1. Binu
  8. Vince Ting
    Vince Ting
    5/5,
    This is an excellent idea. It looks cost effective. I have seen a couple of attempts on youtube that uses netduino, but your work is very convincing. I hope to see more development of this work. I agree to your logic of using wifi over bluetooth. I think establishing wifi connection is more flexible than bluetooth connection. The only sad point is that I read wifi consume more electricity over bluetooth. I hope one day I can purchase your microcontroller project. Best of Luck!!!!
    1. Binu
      Author's Response
      Thanks for your review, i agree Wifi consumes more power.
      But at phone side bluetooth consumes more power than wifi.