Waypoint tracker robot

The Waypoint Tracker Robot is designed to autonomously navigate to predefined waypoints. Using Python for control logic and serial communication, the robot follows a set of coordinates while adjusting its path in real-time. It utilizes motor controllers to manage movement and ensures smooth navigation with precise speed adjustments. The system can operate in both manual and autonomous modes, allowing for flexible control. Ideal for robotics simulations, path planning, and autonomous navigation applications, this project provides an efficient way to track and reach specific locations with minimal human intervention.

About Tools and Materials:

2x SMD Redarrow-up-right (Purchase Herearrow-up-right)

SMD USB Gatewayarrow-up-right (Purchase Herearrow-up-right)

Arduino Gateway Modulearrow-up-right (Purchase Herearrow-up-right)

2x BDC Motorarrow-up-right (Purchase Herearrow-up-right)

Step 1: Hardware & Software Overview

Project Key Components

  1. SMDarrow-up-right

    The SMD acts as a bridge between the script and the modules. It is responsible for interpreting the commands sent by the script and translating them into actions that read input from the Ultrasonic Distance Sensor Modulearrow-up-right and meanwhile, actuate the motor for the continuous reading of the script.

  2. BDC Motorarrow-up-right

    The 100 RPM BDC Motor with Encoder is used to rotate the radar mechanism in a full circle. The user can precisely control the motor and get the position through the built-in encoder.

Key Features:

• Autonomous Navigation: The robot follows predefined waypoints and adjusts its path in real-time.

• Mouse-Controlled Movement: Users can manually control the robot using the mouse cursor.

• Waypoint Mode: Allows setting multiple waypoints for the robot to navigate autonomously.

• Grid Display: A visual grid helps in positioning and planning movement paths.

• Path Visualization: Tracks and displays the movement history of the robot.

• Reverse Mode: Enables the robot to move in the opposite direction.

• Speed Control: Adjustable speed settings for fine-tuned movement.

• Real-Time Distance Tracking: Calculates and displays the total distance traveled using motor encoder data.

• Serial Communication: Interfaces with motor controllers via USB for movement execution.

Step 2: Assemble

Getting Started

  1. Hardware Setup

Project Wiring diagram

Step 3: Run & Test

  1. Connect Hardware – Ensure the SMD Red Module and motors are connected, then plug in the USB.

2. Test Controls – Move the mouse to control the robot, toggle Reverse Mode, and adjust speed.

3. Waypoint Navigation – Click to set waypoints, enable Waypoint Mode, and let the robot navigate.

4. Verify Tracking – Check total distance traveled and movement accuracy.

5. Troubleshoot – If issues arise, verify the USB port, adjust speed settings, or recalibrate encoders.

Codes

Last updated