myRIO Balancing Robot

This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.

myRIO Balancing Robot - Getting Real!

Community Logo.png
This document was created for the myRIO Balancing Robot Project

myRIO Balancing Robot - Getting Real!


The myBOT is alive, now it's your turn to do exciting projects with it!
This document describes where you should start if you're thinking about building your own myBOT.


Table of Contents

1. Mathematical Model

The Mathematical Model used for the myBOT is discussed in the attached "myBOT_BachelorThesis_AdrianSchmid.pdf", Chapter 4.

For the time being this document is only available in German Language.

2. Hardware Implementation

There are two ways to implement the myBOT in Hardware.

At the end your myBOT should look similar to those two guys.


the left one is done using the Digilent parts (uncabled), the right one is done using the 3D printable parts.

3D Print the myBOT

CAD files that can be used to 3D print the myBOT are attached. (

The folder contains CAD files for

- the whole myBOT (myBOT.stp)

- the chassis (myBOT-Chassis.stp)

- the cover (myBOT-Cover.stp)

As well as the 'ready-to-print' *.stl files for both the chassis and the cover. (myBOT-Chassis.stl and myBOT-Cover.stl)

To build your bot you have to 3D print both, the "Chassis" and the "Cover".

The 3D printable myBOT has been developed by a group of students at TU-Darmstadt.

The myBOT on the picture on top has been done using the 3D printable housing.

Your 3D Prints should look something like:



The CAD files attached only work with the 1:19 gear ration motors. If you wish to work with 1:53 ration, you should increase the gap between the two motors by 10mm. Otherwise the motors won't fit.

Also the wholes for the motor cables and the myRIO Power cables are a bit tight. To fix this you can use a rasp on your 3D prints (as I did) or change the CAD parts a bit before you print them.

If you do so: Please upload the CAD files to the community, so others can benefit from your work! Thanks.

The Parts on the Picture above are printed on a "Dimension SST 1200es". A good option is to get your parts at . Ask for the "Dimension SST 1200es".

Additionally to the two printable parts you need some Digilent parts for your myBOT.

1Motor/Gearbox, 1:19 Ratio,403,625&Prod=MT-MOTOR2
2Wheel Kit (pair),403,621&Prod=MT-WHEELKIT2
3PmodDHB1 - Dual H-Bridge,401,1163&Prod=PMOD-DHB11
4PmodGYRO 3-Axis Digital Gyroscope,401,937&Prod=PMOD-GYRO1
5LiPo Akku, 11.1V, 1300mAh

That's it. Well, you need some more small things. A bit of foam to build some soft tires for the myBOT and some cables to do the cabling stuff.

Build the myBOT from Digilent parts.

The other solution is to build the myBOT from Digilent parts. Please refer to for the building instructions.


The Scheme for the Cabling of the myBOT is attached (myBOT-Wiring.ms13).

3. Software Implementation

myBOT Software

Attached is a fully functional myBOT Software version "myBOT -". Connect your myRIO to your computer, and deploy the main vi "" to your BOT. You're ready to go!

Attention: The attached version of the SW is prepared for the 1:53 ratio motors. If you're about to build your myBOT with the 1:19 ratio you'll have to change some constants.

myBOT Simulate

If you're unsure about building the myBOT, start with a simulation first. The attached "" contains a LabVIEW project with all needed VI's for the Simulation. The project is compiled for the use with LabVIEW 2013 myRIO Edition.

For more information on the Simulaton refer to

Here's a video of the simulated myBOT in action:

4. Further Information

For more information on the myBOT check out the NI Community Group

and the YouTube Channel

For more information on the myRIO check out

Have Fun!

Message 1 of 2

Re: myRIO Balancing Robot - Getting Real!

exc , i have a problem with your codes, can u explain to me , see that file please, i don't understand the number (255) in that codes, can you tell me about the unit of Gyro and that number , please

0 Kudos
Message 2 of 2
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.