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.
Software: APACHE+PHP for RPi MicroPython for Pico
1. SMpixel - local software 2. SMpixel - WEB commander as index.php 3. Command red 4. Command green 5. Command blue 6. Command black
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. ![]()
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.
- Building actuators for IoT ; - Creating peripherals for mobile phones; - Creating local networks of sensors/actuators;
|