Original text


Technical University "Gh.Asachi" Iasi - Fac. Automatic and
Embedded Computer
Wednesday, January 30, 11:36

Experiment No. 4

  • L11.1 Name

  • Infineon for Maker - control of Lego NXT drives



  • L11.2 Overview, purpose

  • The lab experiment aims to interconnect the ARM XMC universe with LEGO NXT to address "more science less programming". Exploring the possibilities of developing the NXT engine control interfaces to the XMC4700 Relax kit and the application development capabilities using DAVE / Arduino components. At the end of the lab, information will be available on the design and implementation of educational applications with Lego Mindstorm NXT and Infineon for makers .


  • L11.3 Resources


  • Hardware: XMC XMC 4700 Relax Kit, NXT Moto Extension, BT Module, 9V Power Supply, TLE 5260 Extension, BT Extension, W Battery;
    Software: Arduino Development Environment / J-Link / DAVE4.3.2;


    scientific


  • L11.4 Program example


  • Prototype program




  • L4.5 Laboratory mode

  • Senine the scheme of the Infineon Relax Kit platform

    Analyze the pins distribution according to the Arduino notation for the Relax kit

    Consider the Lego NXT engine control scheme shown below:



    Identify the location of the components on the developed system:


    Using the reference documentation for the ARM XMC 4700 processor, review the chapter dedicated to the PWM interface and assign the pins to the extension connectors. The functional structure of the TLE 5206 driver is analyzed :

    In DAVE, a prototype project is being developed, using DEBUG to transfer the code to the development platform and to track it. Orders will be sent with a terminal application on mobile phones. It solves the proposed problems.

  • L4.6 Proposed Issues

  • 1. Make a program that allows activation of the engines via buttons 1 and 2 on the Relax Ki system;
    2. Develop an application that will control the speed of the motor 1 depending on the position of a potentiometer connected to the An0 input;
    3. Make a program that will allow the control of motors through a PC terminal;
    4. Create a program that will allow engines to operate based on the information provided by an ADXL345 acceleration sensor;
    5. Create a program that will allow the motors to operate based on the information provided by a SR04 remote sensor;

  • L4.7 The laboratory may be extended to:
    • Vernier-type scientific applications;
    • Creating educational modules for embedded computer;
    • Performing scientific experiments for electromagnetism;
    • Making extensions for the Lego Mindstorm universe;
    • Achievement of MIT Lego NXT educational products;


  • L11.8 Collateral Information


  • © 2018 Fl. Pantilimonescu - Technical University of Iasi, Romania