From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Lego Mindstorms Gyro Boy Control Project

Code and Documents

Attachment

Description

Description-Separate-1

Description:

 

This is a project to control PID the Lego Mindstorms Gyro Boy, based on the Mindstorms Educational Basic Set. The robot is show below.

 

http://www.wired.com/wp-content/uploads/blogs/geekdad/wp-content/uploads/2013/01/GyroBoy.jpg

 

 

 

Steps to Implement or Execute Code

 

  1. Unzip the atached file in a know folder;
  2. Connect your EV3 in USB port.
  3. Open Mindstorms.lvproj
  4. Open VI Giroboy Basico (targeted).vi;
  5. In File menu, select Target to NXT/EV3;
  6. In the left botton corner, click on NXT/EV3 Target;
  7. Select "Find NXT/EV3";
  8. Select Scan;
  9. Click on your EV3 and Connect;
  10. In the tool bar, click on Debug.
  11. After three bips, carefully remove the support of GyroBoy.

 

Requiriments

Software

-LabView 2013

-NI LabVIEW Module for LEGO® MINDSTORMS®

 

Hardware

-1 LEGO MINDSTORMS EV3 Education Core Set #45544

 

Aditional Information

 

1. That´s the first version, so, a few problems can be found in PID callibration.

2. Be free to make any suggestion.

 

Description-Separate-2
Rômulo Augusto

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.