Lego Motions — Move Tribot Around

And Backward…Five Programs Files — Episode #05

J3
KidsTronics
4 min readApr 18, 2019

--

Tribot v 1.0 .pdf File

Let’s get Tribot there and back! videos? click here now!

Follows five codes for our study of the EV3 world :D

05_a_EV3_back and forth_v1

Get Tribot v1 into a journey to one or more places and back again: real round trip;

05_b_EV3_around square_v1

Places the Tribot v1 in a rectangular journey, following the sides of the rectangle;

05_c_EV3_coasting_issue_v1

When you run a motion block using Brake At End parameter, the firmware keeps track of how far the motor actually moved (the firmware is the program that runs on the EV3 and executes the program you write). Because of the motor coasts to a stop, it will move nothing more in this first code but 2 rotations …

05_d_EV3_coasting_issue_v1

it will move a little more than the duration you specified in the first block, and the next motion block that runs will adjust its duration to account for extra distance…

05_e_EV3_coasting_issue_v1

or you can cancel this behavior by using Wait Block together with Steering Block in Off Mode.

Please see the video above for more information.

Curiosities:

source: http://www.philohome.com/nxtmotor/nxtmotor.htm

That’s all for now!

Thank you!

See you in the next Episode.

Bye o/

Download All Files For This Project

Troubleshooting

  1. I have to improve the lighting; I had reflex problems, I’m sorry: /;
  2. When disconnecting the Tribot v1 and then connecting it again, the app does not read the distance sensor; We have to close and open the app so we can see the sensor data in Port View: /;
  3. The Tribot v1 did not make the square layout perfectly; Our L-loop has to be improved: /;
  4. If you have any suggestion send it; So that you can put it in the list here :)

Related Posts:

01º Lego Episode — Our Startup’s Journey — Invaders and Invasions?

02º Lego Episode — Timmyton Lego-Learning-By-Playing — L2BP Series

04º Lego Episode — Lego MotionsTribot v 1.0Seeing Your Creation Move — Move Steering Block

05º Lego Episode — Lego Motions Move Tribot Around — And Backward…Five Programs Files

06º Lego Episode — Lego SensorsTouch N Color — Two out of five human senses — Touch N Sight

07º Lego Episode — Lego Sensor LineFollower — Line Follower Tribot v1.0

08º Lego Episode — Maze Solving Robot v1 — Lego Solution Right-Wall-Follower-Robot

09° Lego Episode — Gettle_&_Sound_Bots — How gentle can a robot be? What is the audible range of the human ear? How deep can we dive?

10° Lego Episode — Data Logging — Data Collection and the EV3

11º Lego Episode — Binning the LineFollower Code — Binning: Arithmetic To Map Sensor Reading

12º Lego Episode — A Proportional LineFollower Robot — Advanced Math To Improve Your Robot’s Steering

13º LEGO Theory — Theory of Multitasking — A very Useful Programming Technique

14º LEGO formula — Normalizing Data — Converting Data to Use The Same Range

15º Lego Episode — PID — The Ultimate Line Follower — Algorithm for your EV3 PID Line Follower Robot

16° Lego Meets Pixy Episode — How to Connect Your Inexpensive Camera Module to Lego

18° Lego Episode — GEARS & WORMS — Geartrains & Worm & Clutch Gears

23° Lego Episode — Differential Explained — How Differential Works?

24° Lego Episode — PitBot — A Star Is Born — Working at The First Structure in Our Sparring Robot

25° Lego Episode — PitBot Is Agressive? Well, No Worries! — Making PitBot bite!

26° Lego Episode — Dancing Good w/ PitBot — All The Secret for Replicate This Awesome Robot

27 ° LEGO Episode — Sumo Arena is Ready! — Here is the playing arena for Arduino x Lego

28 ° LEGO Episode — Pick Pitbot Up! — Our Robot Are Leaving Body & Paint Shop

28 ° LEGO — B — Episode — Pitbot Battery & Sensor Setup — Preparing The infrastructure for running Arduino code

29 ° LEGO Episode — Bridging All Sensors Together — Pitbot — Collecting All Codes for the Final Act of Giving Behaviors to Robot

Credits & References

Book: The Art of Lego Mindstorms EV3 Programming by Terry Griffin

NXT® motor internals

EV3 Large and NXT Motors — The Differences Explained

Building Instructions & Program Descriptions

LEGO® 9V Technic Motors compared characteristics

Robotics for Children (& Parents (& Grandparents))

Tribot v 1.0 .pdf File

Introducing LEGO Digital Designer

This is my home benchwork, in case you are interested ;) I’m using SJ7 Star, Blender, Telescopic Drawer Slide Channel12'

--

--

J3
KidsTronics

😎 Gilberto Oliveira Jr | 🖥️ Computer Engineer | 🐍 Python | 🧩 C | 💎 Rails | 🤖 AI & IoT | ✍️