Step2: Tutorials for the Embedded Robot Programming


[ Beginner Course for Novices ]

Basic Script Programming for the Embedded Robots
  1. SPL MF Editor
    1. Launch SPL MF editor
    2. Application script
    3. Emulator script
    4. Run emulator on the editor
    5. Send script to the emulator
  2. Basic Expression
    1. Define general variables and typed variables
    2. Bit operation (&, |)
    3. Shift operation (<< , >>)
  3. Array
    1. Create typed array
    2. Copy arrays
    3. Combine byte[] arrays
    4. Extract byte[] range from byte[] array
    5. Extract value from byte[] array
    6. Insert value into byte[] array
    7. Convert byte[] to ushort, int or vice versa
  4. Procedure
    1. Define function having return value
    2. Define procedure and call
    3. Current procedure executing
  5. Math functions
    1. Available Math functions
  6. Util functions
    1. Available Util functions
  7. SPL Engine commands
    1. Stop all running loop and procedure
    2. Clear screen
    3. Reset engine
  8. C# sample code for SPL engine
    1. Launch ConsoleWindow
    2. Simple SPL Evaluator
    3. Simple SPL script engine programming
    4. SPL MF ConsoleApplication source
    5. SPL MF WindowApplication source
 


.NET Micro Framework Programming with SPL Script
  1. Button event programming
    1. Available script options and properties
    2. Assigned GPIO Interrupt ports for buttons
    3. How to create SPL script for the button event
    4. Launch emulator on the editor
    5. Send script to emulator and test button event
  2. GPIO programming
    1. OutputPort Programming
      1. Available script options and methods
      2. How to start GPIO OutputPort programming
      3. Change port state by using button event
      4. Toggle state of port per 1 sec by using loop
    2. InputPort Programming
      1. Available script options and methods
      2. How to start GPIO InputPort programming
      3. Prepare emulator script to change the state of input port
      4. Execute SPL script for application and emulator
    3. InterruptPort Programming
      1. Available script options and methods
      2. How to start GPIO InterruptPort programming
      3. Prepare emulator script to change the state of interrupt port
      4. Execute SPL script for the emulator
    4. TristatePort Programming
      1. Available script options and methods
      2. How to start GPIO TristatePort programming
      3. How to change the function of tristate port from output port to input port
  3. SerialPort programming
    1. Available script options and methods
    2. How to start SerialPort programming
    3. Read data from the SerialPort
    4. Transfer data through SPL SerialPort channel (COM2)
    5. Read data through SPL SerialPort channel
  4. I2C device programming
    1. Available script options and methods
    2. How to start I2C device programming
    3. Read data from the I2C device
  5. SPI programming
    1. Available script options and methods
    2. How to start SPI programming
    3. Read data from the SPI bus


Simulated Robotics Programming with .NET MF and SPL
  1. Get Started for the robotics programming using .NET MF
    1. Download MSRDS and SPL pack for MSRDS
    2. MSRDS G/W for MF emulator and simulation environment
    3. How to start simulated robotics programming with .NET MF
    4. Add MSRDS SPL script for simulation environment
    5. Add a mobile robot into the simulation environment
    6. Make a robot move itself

    7. Refer to "Quick Start for MSRDS" menu for step by step of MSRDS SPL script
    8. Refer to "SPL for MSRDS" menu for more detailed MSRDS SPL script
    9. Refer to "Robotics" menu for more advanced robotics script

  2. Robot driving using I2C device
    1. Diffential motor control through I2C device
    2. Change speed by modifying moter power
    3. Stop driving
    4. Turn left or turn right
    5. Go with given distance and stop
    6. Turn with given angle and stop
    7. Control robot driving with UI buttons
    8. Repeat control commands sequentially
  3. Bumper sensor using GPIO
    1. Add bumper sensor on the simulated mobile robot
    2. Detect bumper through GPIO
    3. Robot control with bumper detection
  4. IR sensor using I2C device
    1. Add IR sensor on the simulated mobile robot
    2. Detect IR distance through I2C device
    3. Robot control with IR detection
  5. LRF (Laser Range Finder) sensor using SerialPort
    1. Add LRF sensor on the simulated mobile robot
    2. Detect LRF distance through SerialPort
    3. Robot control with LRF detection
  6. Color sensor using I2C device
    1. Add color sensor on the simulated mobile robot
    2. Detect color through I2C device
    3. Robot control with color detection
  7. Brightness sensor using SPI bus
    1. Add brightness sensor on the simulated mobile robot
    2. Detect brightness through SPI bus
    3. Robot control with brightness detection
  8. Robot Missions using I2C and SerialPort
    1. Maze Explorer Mission using I2C and SerialPort
    2. Line Tracer Mission using I2C


Automation & Control with .NET MF and SPL
  1. Home automation programming with .NET MF
    1. Automatic door controled by GPIO


[ Professional Course for C# Users]

.NET Micro Framework Programming with C#
  1. Button event programming
    1. Sample code for handling of button event
  2. GPIO programming
    1. OutputPort Programming
      1. Sample code for GPIO OutputPort programming
    2. InputPort Programming
      1. Sample code for GPIO InputPort programming
    3. InterruptPort Programming
      1. Sample code for GPIO InterruptPort programming
    4. TristatePort Programming
      1. Sample code for GPIO TristatePort programming
  3. SerialPort programming
    1. Sample code for SerialPort programming
    2. Sample code for data transfer through SerialPort
  4. I2C device programming
    1. Sample code for I2C programming
  5. SPI programming
    1. Sample code for SPI programming


Simulated Robotics Programming with .NET MF and C#
  1. Robot driving using I2C device
    1. Diffential motor control through I2C device
    2. Robot control with UI buttons
  2. Bumper sensor using GPIO
    1. Detect bumper through GPIO
    2. Robot control with bumper detection
  3. IR sensor using I2C device
    1. Detect IR distance through I2C device
    2. Robot control with IR detection
  4. LRF (Laser Range Finder) sensor using SerialPort
    1. Detect LRF distance through SerialPort
    2. Robot control with LRF detection
  5. Color sensor using I2C device
    1. Detect color through I2C device
    2. Robot control with color detection
  6. Brightness sensor using SPI bus
    1. Detect brightness through SPI bus
    2. Robot control with brightness detection
  7. Robot Missions using I2C and SerialPort
    1. Maze Explorer Mission using I2C and SerialPort
    2. Line Tracer Mission using I2C