Original text


Technical University of Iasi - Fac. Automation and Computers
Embedded Systems
Tuesday, January 29,
Time 7:46

Laboratory work no. 6

  • E6.1 Name:


  • Web server for objects / things / active entities


  • E6.2 Overview, purpose.


  • The lab experiment aims to develop a Web server variant for controlling active objects in the Web of things category . At the end of the lab, detailed information will be provided on how to design web applications for real-world object / process control operations.


  • E6.3 Resources:


  • Raspberry pi platform, optotriac extensions, WiFi router




    Documentation:

    1. Python language
    2. Home at Python


  • E6.4 Prototype Source:

  • Web page source activates index.php
    Script Python Red
    Script Python Red off
    Script Python Green on
    Script Python Green off
    Script Python Blue on
    Script Python Blue off



  • E6.5 Running / tracking experiment:

    • Make an image of the operating system for Rpi;
    • Attach the Wifi extension and configure the control interface for operation in the WiFi network in the lab;
    • Examine the dynamic address assigned to the server with the ifconfig command;
    • Install the APACHE server with the PHP module
    • Edit the conf.php file
    • Test the correct APACHE + PHP server performance
    • In the / var / www directory, include the prototype program in the index.php file;
    • Using a browser application on a mobile device or PC, connect to the server address provided by ifconfig;
    • Track the active elements of the page as well as execute the actions attached to the buttons;



    • Solve the proposed problems;


  • E6.6 Proposed Issues:


  • 1. Make an application that will attach the button to open the water with an intermittent operation of the specific led.

    2. Make an application that will attach the buttons to light / off the light of some characters by the / dev / ttyAMAo interface;


    3. Interconnect FRDM with Rpi through the / dev / ttyAMA0 interface and create an application that will activate the blue LED on the FRDM by pressing the button open the gate;

    4. Interconnect FRDM with Rpi through the / dev / ttyAMA0 interface and create an application that will activate the red LED on the FRDM by pressing the button illuminates the light;

    5. In the previous configuration, enter into the web page a button that will allow the FRDM to generate a sound;

  • E6.7 The experiment can be extended to:

  • - Start WEB of Things; - Design and realization of "Things" objects for the web - Making active entities controllable through Web browsers;

  • E6.8 Documentary references:



  • © 2018 Fl. Pantilimonescu - Fac. Automation and Computers Iasi