TROBO : Turtle Robot; Turning Ideas Into Reality

by arnav0811 in Circuits > Arduino

166 Views, 2 Favorites, 0 Comments

TROBO : Turtle Robot; Turning Ideas Into Reality

Screenshot 2024-11-29 193301.png
Screenshot from 2024-12-08 16-39-50.png
FVN40I8M4E6QZ3U.jpg

TROBO is a simple robot designed to follow commands from turtle programming, a popular method to teach programming logic and robotics. The video and code provided will let you discover how you can make your own robot which follows your turtle commands.

I am a Class 10 student, and I still remember the first programming language I learnt in school was Turtle. It was taught in a boring way, resulting in no interest in programming for any student. To overcome this problem, I have made this robot which can transform turtle commands into reality.

I have created a simple app in Processing that provides a simple yet interactive controller for TROBO. Moreover, the app has examples (drawing of a face, boat, and house) and a tutorial to make turtle programming interesting, helping develop a solid foundation and interest in a child at a young age in this technology era.

Additionally, it's my sincere apology that the instructable is not a comprehensive one, but having a look at the project's explanation will surely help you in building your own TROBO. Further, if you face any small problems in making the robot, feel free to leave a comment; I will always be there to help you. I hope you understand the pressure I’m under due to my Class 10 board exams.

Supplies

Please find the same from the video.

Building and Programming

The robot can be easily modified according to your creativity. The video showcases the hardware I built for this project—refer to the video to get an idea of how to assemble the robot. The code for both the Arduino Mega and Arduino UNO and Processing is provided here for you to use.

The Arduino Mega's Rx1 and Tx1 pins are connected to UNO's Tx and Rx respectively. This is done as Arduino UNO and Mega both are single thread processor and hence can't execute the stepper movement and LCD display at the same time effectively. Mega is used for bluetooth communication and LCD display and commands received by Mega via HC05 is printed as it is Rx1 and Tx1 connected to UNO's Tx and Rx, the UNO receives the command and executes the stepper movement accordingly.

Ya, this is a complex setup and could be made more easier via ESP32 but i don't have access to much resource; so i decided to go with this.

Additionally, the robot needs to be calibrated as per your hardware as different wheel and base size could affect the precision. To do this, in the code you will find the section to enter these credentials.

Furthermore, It may look confusing that why I have written some LCD code in UNO's code. But trust me everything works fine without any problem so I decided not to do any unnecessary changes.

If it works, don't touch it.

Downloads

Watch the Video

SIM project: TROBO

Watch the video to learn more about the project and to see how you can build it yourself.



Thank You

Sorry for just providing the video—I’m a 10th student, and with final exams approaching, I don’t have much time to create detailed instructions right now. I hope the video helps! Moreover, you can just leave a comment if u face any difficulty. I will be happy to assist.