Technical University "Gh.Asachi" Iași - Faculty of Automatic Control and Computer Science.
Microprocessor Systems

Experiment No.7+

  • L7+.1 Title:


  • SMpixel - WEB commander


  • L7+.2 General presentation, purpose.


  • The laboratory experiment aims to present a way of creating an active object controllable through the Internet called SMpixel - project theme for SM. The hardware components centered around the RPi Pico development platform are highlighted, as well as the software components that allow control through a WEB page created with the APACHE + PHP server installed on Raspberry Pi 2. At the end of the laboratory you will have enough information for DIY, respectively for replicating in your own garage a personalized SMpixel controllable through a Web page.

  • E7+.3 Resources
  • Raspberry Pi zero-4, Raspberry Pi Pico, BT Module Hc-05/RN42, ULn2803, 3W power RGB LED,

    Software:
    APACHE+PHP for RPi
    MicroPython for Pico



  • L7+.4 Example program sources:

  • 1. SMpixel - local software
    2. SMpixel - WEB commander as index.php
    3. Command red
    4. Command green
    5. Command blue
    6. Command black




  • E7+.5 How to conduct/track the experiment:

  • The complete schematic with the components of an SMpixel is shown in the following figure

    Installing APACHE on Linux systems generates a user called www-data who must be granted root rights with visudo as follows:



    The web page for controlling SMpixel is shown in the following figure.


    SMpixel also has a LiFi receiver module to be commanded using visible light as an information transfer medium - future lab.


  • L7+.6 Proposed problems = personalized projects:


  • 1. Attach to SMpixel a stepper motor + sensors and develop appropriate methods/functions;
    2. Attach to SMpixel 1-2 DC motors + sensors and develop appropriate methods/functions;
    3. Attach to SMpixel a BLDC motor + sensors and develop appropriate methods/functions;
    4. Attach to SMpixel LEGO motors + sensors and develop appropriate methods/functions;
    5. Attach to SMpixel Tensor Flow Lite components + sensors/motors and develop appropriate methods/functions.



  • L7+.7 The experiment can be extended to:

  • - Building actuators for IoT ;
    - Creating peripherals for mobile phones;
    - Creating local networks of sensors/actuators;
  • L7+.8 Reference materials:


  • © 2023 Faculty of Automatic Control and Computer Science