Original text


"Gh.Asachi" Technical University of Iasi - Fac. Automation and Computer
Embedded Computers
Wednesday, Feb. 10,
10:48 p.m.

 FRDN
Experiment no. 9

  • L9.1 Name:


  • ARM Cortex M4 - Using RTOS and servo



  • E9.2 General presentation, purpose.

  • The laboratory experiment aims to introduce the basic elements of an embedded RTOS that can be used for the simultaneous execution of 2 or more applications. The ARM RTOS - RTX components are explored and a solution for the simultaneous execution of 3 tasks is implemented. At the end of the laboratory, detailed information will be available regarding the development of embedded applications using RTOS cores.

  • E9.3 Resources:
  • - XMC4500 Relax Kit,;
    - DAVE 4.3.2;
    - ARM Keil RTOS - RTX ;




  • L9.4 Source of prototype programs:


  • RTOS program 3 actions ------ Video Sequence





  • E9.5 Mode of conducting / tracking the experiment:



  • L9.6 Proposed issues:


  • 1. Create a program that will contain 2 tasks that can communicate with each other.
    2. Create a program that allows you to rotate the servo depending on the position of a potentiometer connected to an analog input;
    3. Create a program that allows you to control the servo simultaneously with the LEDs depending on the push of a button;
    4. Highlight a method of communication between the 3 tasks;
    5. Create a program that allows you to control the servo via your mobile phone or the 2 buttons .;


  • L9.7 The experiment can be extended to:


  • - Implementation of applications based on Real Time Operating System;
    - Making actuators for motion control;
    - Realization of video camera positioning systems for surveillance;
    - Realization of drawing / cutting systems operated in 2 directions; - Realization of on-board instrumentation for cars;
    - Realization of CNC type systems;


  • L9.8 Documentary references:


  • © 2020 Fl. Pantilimonescu & A.Stan - Fac. Automation and Computers Iasi