Original text


Technical University of Iasi - Fac. Automation and Computers
Embedded Systems
Tuesday, January 29,
8:19

Laboratory work no. 7

  • E7.1 Name:


  • IOT - Active device design


  • E7.2 Overview, purpose.


  • The lab experiment is an alternative to making an active device for the Bluetooth-enabled Internet of Things / Web of Things universe. The possibilities of attaching a Bluetooth module to Raspberry (Linux) pi as well as the application development options are explored. At the end of the lab, precise information will be provided on the Bluetooth interconnection of Raspberry Pi and NXP FRDM kl25 / Infineon XMC objects.


  • E7.3 Resources:


  • Raspberry Pi2, FRDM / XMC platforms, droning extension, Bluetooth modules.





  • E7.4 Prototype Source:

  • Prototype program for FRDM
    Index.php APACHE Raspberry Pi
    STOP
    Speed ​​1
    Speed ​​2 Speed ​​3
    Speed ​​4
    Speed ​​5


  • E7.5 Experiment Run / Tracking Mode:

    • Identify the Rpi - Bluetooth connection mode
    • Identify the FRDM-Bluetooth connection mode
    • Analyze the interfacing scheme of the four motors on the FRDM platform shown in the figure below:



    • Analyze the experimental embodiment of the engine interface in the diagram below:


    • Identify / view command signals Tp1-Tp4;

    • Realization of automatic BT module interconnection: Configure a master module with the following parameters: Configuration switching is done through the sequence . Returning in data transfer mode is done with ---.The initial communication speed is 115,200 bps.
      Set the communication speed of 9600 bps as follows:
      SU, 96
      It is called the module as:
      SN, Silab7master
      Optionally you can set a password;
      SP 1234 default
      is set Master mode with auto connection as follows:
      SM, 3
      Store the slave module address in the internal register used for automatic connection as follows:
      SR, 00066666295c Finally, the configuration is the following:

      A slave module is configured with the following parameters:
      9600 bps communication speed:
      SU, 96
      Module designation:
      SN, SIlab7slave
      optional setting password;
      SP 1234default value
      Slave mode setting:
      SM, 0
      Finally, the slave module configuration is the following:




    • Interconnection of FRDM / XMC - Rpi is achieved;
    • Editing, compiling and running the prototype program;
    • Solving the proposed problems;

  • E7.6 Proposed Issues:


  • 1. Create a program that will send sequential commands at intervals of 2 seconds; 2. Make a program that allows you to send commands entered via the RPI keyboard;
    3. Make a program that will send commands to FRDM when you press keys 1-5 on the RPI keyboard. ;
    4. Make a FRDM program that will activate the RGB LED based on the commands received through the RPI-Bluetooth interface;
    5. Implement a solution that will generate commands to FRDM every month at 16 o'clock.

  • E7.7 The experiment can be extended to:

  • - Mobile IoT interconnection
    - realization of wearable objects;
    - Establishment of networks of entities capable of wireless communication;

  • E7.8 Documentary references: