The Miniature balancing robot: 
A low-cost mobile lab experiment kit for education


Click here to edit subtitle

Simulink SFunctions, Diagrams, and Supporting Libraries For Arduino Dual MinSeg Line Follower:

NOTE: We are updating files and libraries -  some downloads may be temporarily unavailable.  Please contact us if you need something.

Simulink SFunctions and Libaries ALL:

This single diagram contains ALL the SFunctions and blocks to read all of the Dual MinSeg Sensors and actuate the motors.  The download also contains all the necessary supporting libraries and files

New: Arduino Library, Curriculum and Demos are available here:

  • Dowload and unzip Rensselaer Arduino Support Package and follow instructions in the Zip file to install.
  • Open the MinSegShield M2V3 Demo select Tools -> Run on Target Hardware -> Run

  • Old File Downloads: Download and unzip and open Matlab in this folder.
  • Open DualMinSeg_Demo_All_V31.slx, select Tools -> Run on Target Hardware -> Run

Its that easy to read ALL the sensors and Make two motors move!

  • MPU60650 accel/gyro
  • HMC5883L compass magnetometer
  • Motor Driver (two)
  • Encoder reading (two quadrature)
  • Potentiometer reading
  • Pushbutton reading
  • NXT Sensor Reading (3)
  • Optical Sensor LED on/off
  • HC-SR04 ultrasoic sensor reading (ultrasonic header)
  • Send Bluetooth data to Port 2 (bluetooth header)