Adsense

  • Latest News

    Saturday, 22 October 2016

    Wireless Home/Office Automation IoT(Internet of Things) Using SmartPhone, Relay Switch & RaspberryPi


     Demo: Wireless Home/Office Automation Using Raspberry Pi & Relay Switch

    Control AC appliances of your home or office using Relay Switch over wifi using your smartphone or any browser.

    Requirements: RPi, Relay Switch, Wire, 12Volt Adapter(if not using 5v-Relay Octocoupler Module)
                              



    How to guide?

    1. Connect 8-Channel Relay Switch: https://youtu.be/oaf_zQcrg7g

      • WiringPi GPIO Numbering for me: 1, 4, 15, 16
      • BCM GPIO Numbering for me: 14, 15, 18, 23
    1. Create Raspberry Pi Server:
      • Install Apache server: sudo apt-get install apache2 apache2-doc apache2-utils
      • Install PHP: sudo apt-get install libapache2-mod-php5 php5 php-pear php5-xcache
      • Install WiringPi: http://wiringpi.com/download-and-install/
      • Download/Clone Code to your Pi's html directory:  /var/www/html/
    2. Create Hotspot & Connect Pi:
      • Download & Install Connectify in your laptop/pc.
      • Create hotspot & connect rpi.
      • Copy IP address from connectify(mouse-over to show).
      • Connect smartphone to hotspot.
      • Paste the url in your smartphone browser: http://<ip>/iot/
    Now you have wireless control of your electrical 220V operating devices.
    40PIN GPIO Header:


    WiringPi 40PIN GPIO Header:

    GitHub: https://github.com/vsl-tech/iot

    Feel free to comment queries back!
    Special thanks to Apoorv Verma, Smit Kabrawala for sponsoring H/W parts.
    • Blogger Comments
    • Facebook Comments

    0 comments:

    Post a Comment

    Item Reviewed: Wireless Home/Office Automation IoT(Internet of Things) Using SmartPhone, Relay Switch & RaspberryPi Rating: 5 Reviewed By: Vishal Aditya
    Scroll to Top