Original text


Technical University of Iasi - Fac. Automation and Computers

Design with microprocessors
Friday, 1 Feb.,
Time 16:35

Laboratory work no. 6

  • L6.1 Name:


  • ARM Cortex M3 for analog sensors control



  • L6.1 Overview, purpose.


  • The laboratory paper presents an example of using an ARM Cortex M3-based system to acquire information from analog sensors. The details of using the analogue / numeric module for the acquisition of information provided by motion sensors as well as the use of the related software modules are tracked.


  • L6.3 Resources:


  • ARM Cortex M3 Platform - mbed,,
    Potentiometer Extension,
    LCD, USB Interconnect Cable, Oscilloscope


  • L6.4 Prototype Source:





  • L6.5 Experiment Run / Tracking Mode:


    • The platform connects to www.mbed.org to access programming tools. It connects to the LPC 1768 platform an undisplay LCD and a potentiometer (steering wheel) with the cursor at the analog input p20, Vcc and GND.
    • Editing the prototype program and looking for the * .bin file
    • Analyzing files resulting from the compilation process;
    • The correct execution of the program is being monitored;
    • Solving prototype issues;

    1. - Analyze the internal structure of the A / D module;
    2. - Analyze how to use analog inputs on the mbed platform;
    3. - Identify classes for the A / D converter
    4. - Analyze the application of a variable voltage at the AD4 input




  • L6.6 Proposed Issues:


  • 1. Modify the prototype program to view data as binary / ASCII information.

    2. Modify the prototype program to view data as floating point / ASCII information

    3. Make a program sequence that will activate the 4 LEDs according to the position of the potentiometer

    4. Establish a program that will allow the stability of data provided by the converter A / D.

    5. Perform a program that will turn the LED1 on only the center position of the potentiometer.



  • L6.7 The experiment may be extended to:


  • - Realization of mirror guidance systems;
    - Acceleration pedal automatic control;
    - Achievement of turret positioning systems;
    - Realization of steering systems;


  • L6 .8 Documentary references:


  • © 2019 Fl. Pantilimonescu - Fac. Automation and Computers Iasi