Technical University of Iasi - Faculty of Automatic Control and Computers
Microprocessor Systems
|
|
|
Experiment Nr.10
|
Pico Machine - Autonomous mobile system activatable via the Internet
|
L10.2 General Presentation, Purpose
|
The experiment presents an example of building a mobile system capable of following a path and which can be stopped/started with an active web page or with a mobile phone. Commands can be issued with a mobile phone equipped with a Terminal or Voice over BT, or through an appropriate web page. This runs on an RPi 2-3-4 equipped with a BT module capable of automatically connecting to the BT module on the mobile system. At the end of the lab, detailed information will be available about how to build applications for motor control, lighting, and wearable computing systems. Embedded Machine Learning .
Energie pentru masinile Tesla
Hardware:
RPi 2-3-4 equipped with a BT module automatically connectable with the one on the mobile system;
Pico Machine care contine:
Pico board
IR Sensors
Tranzistor de putere,
Two Motor Kit
Acc Li-ion 3,7V
BT Module
Software:
Server APACHE, Python3 cu mediu virtual, RShell, Interpreter MicroPyhon pe SBC Pico;
Application for path following with phone control ------Video sequence
Video sequence with increased speed
Example application executing 2 threads/tasks
Example application using systimer
Active web page for machine control
Start command
Stop command
|
L10.5 Experiment Execution/Monitoring
|
-
The components presented in the resources are assembled according to the scheme below:

- Programs are created in MicroPython to test the proper functioning of each module, in the order of construction, namely:
Application for controlling indicator LEDs red, blue, amber;
Application to test proper connection and operation of motors;
Application to test correct connection and proper operation of infrared line sensors;
Application to test correct connection and proper operation of BT module;
Programs to test usage of _thread and Timer classes for implementing multitasking
Programs using the PWM class for implementing variable speed functions;
- The modules are examined clasei _thread care permit realizarea unor aplicatii mulitask.
- The control application is loaded onto the mobile system with a mobile phone. Character reception is performed with a thread-type function. The code area for reading sensors and delivering commands to the motors is examined;
- The execution of the program is monitored and the code is examined for the components of the PID algorithm, namely the proportional, derivative, and integral commands.
- Sensors for motor rotation control are attached and tasks are developed, which can be activated with systimer pentru
obtinerea unor vecori de antrenament tranmisi la un PC cu BT;
- The proposed problems are solved.
1. Experiment with controlling the mobile system using BT voice activation;
2. Experiment with controlling the mobile system using an active web page and adjustable speeds;
3. Create a task that will communicate via BT/UART1, during movement, the information provided by the IR sensors;
4. Create a task that will communicate via BT/UART1, during movement, information about the commands to the two motors.;
5. Create an application that will move the mobile system along the previous path without using position sensors.
- L9.7 Laboratorul poate fi extins pentru:
|
- Realizarea plaformelor educationale pentru ML;
- Realizarea sistemelor mobile activabile cu telefoanele mobile;
- Realizarea sistemelor mobile pentru electromobility - Continental;
- Realizare vehicolelor inteligente pentru NXP Intelligent Car Racing;
- Realizarea vehicolelor autonome.
- L10.8 Additional Information
|
© 2024 - Florin Pantilimonescu, Faculty of Automatic Control and Computers
|
|