Original text


Technical University of Iasi - Fac. Automation and Computers

Design with microprocessors
Friday, Feb. 1,
17:16 hours

Laboratory work no. 7

  • L7.1 Name:


  • ARM Cortex M3 - Multitasking Implementation



  • L7.1 Overview, purpose.


  • c Laboratory work presents an alternative to the mbed platform of different but simultaneously executed actions (pseudo-imultan). The basic concepts of the repetitive interruptions and the launch of the actions on the mobile systems are studied. At the end of the lab, information about multitask classes and how to correlate multiple actions based on sensors and actuators will be available.


  • L7.3 Resources:


  • Platform MBED,
    Extension steering, Servo
    USB Interconnect Cable, Oscilloscope
    .


  • L7.4 Prgram example:


  • Execution of 4 tasks




  • L7.5 Experiment Run / Tracking Mode:


    • Connect the USB cable between the Mbed and the PC, and through the browser, access the resources at www. mbed.
    • It examines how to connect the 4 LEDs used in the example program.
    • Editing the prototype program;
    • It is intended to get the BIN file and transfer it to the Mbed platform;
    • Analyzing files resulting from the compilation process;
    • The correct execution of the program is being monitored;
    • Solving prototype issues;

    1. - Analyze the schema of connecting servo systems to Mbed;
    2. - Analyze the power supply of the servo system;
    3. - Analyze the perturbations introduced by the servo at the power supply level




  • L5.6 Proposed Issues:


  • 1. Perform a program sequence that will allow calibration of the servo position.

    2. Make a program that will activate the 4 Random Frequency LEDs.

    3. Perform a program sequence that will position the servo with maximum steering position and activate Led1 at the left edge of the steering wheel, ie Led4 when reaching the right-hand steering wheel.
    4. Perform a program sequence that will allow the oscilloscope to view the servo positioning signals at 180 degrees and the Led1 blink at a 0.2 second frequency.

    5 Make a program that will display the steering wheel angle / position and make Blink Led1 if the steering wheel is turned to the left or Blink Led 4 if the steering wheel is turned to the right. Blink operation will be performed at a frequency of 0.25 Hz. The central position does not activate LEDs.

  • L5.7 The experiment may be extended to:


  • - Creating mobile systems with controllable steering with servo;
    - Realizing applications based on analog sensors and digital actuators;
    - Car steering operations;
    - Implementing multitask operating systems;


  • L7 .8 Documentary references:




  • © 2019 Fl. Pantilimonescu - Fac. Automatica si Calculatoare Iasi