Stufin
Home Quick Cart Profile

Black Gladiator - Tracked Robot Chassis

Buy Now

Length

420 mm (16.5 in)

Width

280 mm (11 in)

Height

120 mm (4.7 in)

Weight

2.5 kg (5.5 lbs)

### Compatibility and Expandability

Compatible with popular microcontrollers and single-board computers, such as Arduino, Raspberry Pi, and BeagleBone

Expandable design allows for easy integration of custom components and modules

Applications

The Black Gladiator Tracked Robot Chassis is suitable for a wide range of applications, including

Robotics and autonomous systems

IoT projects and smart home automation

Research and development

Education and training

Industrial automation and inspection

Search and rescue operations

Technical Specifications

For detailed technical specifications, please refer to the datasheet provided with the product or available for download from the manufacturer's website.

Warranty and Support

The Black Gladiator Tracked Robot Chassis comes with a one-year limited warranty against manufacturing defects. Comprehensive technical support, including documentation, tutorials, and community forums, is available to ensure a smooth and successful project development experience.

Pin Configuration

  • Black Gladiator - Tracked Robot Chassis Pinout Documentation
  • The Black Gladiator Tracked Robot Chassis is a robust and versatile platform for building IoT-based robotics projects. This documentation provides a detailed explanation of the pinout structure, ensuring a clear understanding of how to connect and utilize the chassis's various features.
  • Pinout Structure:
  • The Black Gladiator Tracked Robot Chassis features a 20-pin header, divided into four sections:
  • Motor Control Section (Pins 1-6)
  • Power and Ground Section (Pins 7-10)
  • Sensors and Expansion Section (Pins 11-16)
  • Communication and Debug Section (Pins 17-20)
  • Pin-by-Pin Explanation:
  • Motor Control Section (Pins 1-6)
  • Pin 1: M1_DIR (Motor 1 Direction) - Input pin for controlling the direction of Motor 1.
  • Pin 2: M1_PWM (Motor 1 PWM) - Input pin for controlling the speed of Motor 1 using Pulse Width Modulation (PWM).
  • Pin 3: M2_DIR (Motor 2 Direction) - Input pin for controlling the direction of Motor 2.
  • Pin 4: M2_PWM (Motor 2 PWM) - Input pin for controlling the speed of Motor 2 using PWM.
  • Pin 5: M3_DIR (Motor 3 Direction) - Input pin for controlling the direction of Motor 3 (optional, for 3-motor configurations).
  • Pin 6: M3_PWM (Motor 3 PWM) - Input pin for controlling the speed of Motor 3 using PWM (optional, for 3-motor configurations).
  • Power and Ground Section (Pins 7-10)
  • Pin 7: VCC (Power Supply) - Input pin for providing power to the chassis (typically 6V-12V DC).
  • Pin 8: GND (Ground) - Ground connection for the power supply.
  • Pin 9: VIN (Voltage Input) - Input pin for connecting an external voltage source (e.g., batteries).
  • Pin 10: GND (Ground) - Ground connection for the external voltage source.
  • Sensors and Expansion Section (Pins 11-16)
  • Pin 11: IR_L (Infrared Sensor Left) - Input pin for connecting an infrared sensor (optional).
  • Pin 12: IR_R (Infrared Sensor Right) - Input pin for connecting an infrared sensor (optional).
  • Pin 13: LINE_L (Line Sensor Left) - Input pin for connecting a line sensor (optional).
  • Pin 14: LINE_R (Line Sensor Right) - Input pin for connecting a line sensor (optional).
  • Pin 15: EXT_1 (Expansion Pin 1) - General-purpose input/output pin for custom expansion or sensor connections.
  • Pin 16: EXT_2 (Expansion Pin 2) - General-purpose input/output pin for custom expansion or sensor connections.
  • Communication and Debug Section (Pins 17-20)
  • Pin 17: TX (Transmit) - Serial communication transmit pin for connecting to a microcontroller or PC.
  • Pin 18: RX (Receive) - Serial communication receive pin for connecting to a microcontroller or PC.
  • Pin 19: DBG (Debug) - Debug pin for connecting to a debugging tool or serial console.
  • Pin 20: RESET (Reset) - Active-low reset pin for resetting the chassis's onboard electronics.
  • Connection Guidelines:
  • When connecting motors, ensure that the motor wires are securely attached to the corresponding motor terminals on the chassis.
  • Use suitable connectors and cables to connect sensors, expansion modules, and communication devices to the appropriate pins.
  • For power supply connections, use a suitable voltage regulator or power source to ensure a stable and regulated voltage input.
  • When connecting to a microcontroller or PC, use a serial communication protocol (e.g., UART, I2C, SPI) to communicate with the chassis.
  • For debugging purposes, use a serial console or debugging tool to monitor the chassis's onboard electronics.
  • Note: This documentation provides a general overview of the pinout structure and connections for the Black Gladiator Tracked Robot Chassis. Please refer to the specific datasheet and documentation provided with your chassis for detailed specifications and guidelines, as pinouts may vary depending on the chassis configuration and revision.

Code Examples

Black Gladiator - Tracked Robot Chassis Documentation
The Black Gladiator is a robust and versatile tracked robot chassis designed for IoT applications. This chassis provides a solid foundation for building robotic systems that require mobility, stability, and durability. The tracked design allows for smooth movement on various terrains, making it ideal for outdoor and industrial applications.
Technical Specifications:
Material: Durable aluminum alloy
 Dimensions: 300mm x 200mm x 150mm (Length x Width x Height)
 Weight: 1.5 kg
 Track dimensions: 400mm x 50mm x 20mm (Length x Width x Height)
 Motor specifications:
	+ Type: Brushed DC motor
	+ Voltage: 12V
	+ Current: 1A
	+ Speed: Up to 0.5 m/s
 Sensor interfaces: I2C, UART, GPIO
 Power requirements: 12V DC, 1A
Programming and Control
The Black Gladiator can be controlled using a microcontroller or a single-board computer (SBC) such as the Arduino or Raspberry Pi. The chassis provides a GPIO interface for connecting sensors and peripherals.
### Example 1: Basic Motor Control using Arduino
In this example, we'll demonstrate how to control the Black Gladiator's motors using an Arduino Uno board.
Hardware Requirements:
Arduino Uno board
 Black Gladiator Tracked Robot Chassis
 Jumper wires
Software Requirements:
Arduino IDE (version 1.8.x or later)
Code:
```c++
const int leftMotorForward = 2;  // Pin for left motor forward control
const int leftMotorBackward = 3;  // Pin for left motor backward control
const int rightMotorForward = 4;  // Pin for right motor forward control
const int rightMotorBackward = 5;  // Pin for right motor backward control
void setup() {
  pinMode(leftMotorForward, OUTPUT);
  pinMode(leftMotorBackward, OUTPUT);
  pinMode(rightMotorForward, OUTPUT);
  pinMode(rightMotorBackward, OUTPUT);
}
void loop() {
  // Move forward
  digitalWrite(leftMotorForward, HIGH);
  digitalWrite(rightMotorForward, HIGH);
  delay(2000);
  
  // Stop
  digitalWrite(leftMotorForward, LOW);
  digitalWrite(rightMotorForward, LOW);
  delay(1000);
  
  // Turn left
  digitalWrite(leftMotorBackward, HIGH);
  digitalWrite(rightMotorForward, HIGH);
  delay(500);
  
  // Stop
  digitalWrite(leftMotorBackward, LOW);
  digitalWrite(rightMotorForward, LOW);
  delay(1000);
}
```
Explanation:
This code example demonstrates basic motor control using the Arduino Uno board. The code defines the pins for left and right motor control and sets them as output pins in the `setup()` function. In the `loop()` function, the code moves the robot forward, stops, turns left, and stops again, illustrating basic movement control.
### Example 2: Object Tracking using OpenCV and Raspberry Pi
In this example, we'll demonstrate how to use the Black Gladiator with a Raspberry Pi and OpenCV to track objects using a camera.
Hardware Requirements:
Raspberry Pi 4 Model B
 Black Gladiator Tracked Robot Chassis
 Raspberry Pi Camera Module v2
 Jumper wires
Software Requirements:
Raspbian OS (version 10 or later)
 OpenCV (version 4.5.x or later)
 Python 3.x
Code:
```python
import cv2
import numpy as np
import RPi.GPIO as GPIO
# Set up GPIO pins for motor control
GPIO.setmode(GPIO.BCM)
left_motor_forward = 17
left_motor_backward = 23
right_motor_forward = 24
right_motor_backward = 25
GPIO.setup(left_motor_forward, GPIO.OUT)
GPIO.setup(left_motor_backward, GPIO.OUT)
GPIO.setup(right_motor_forward, GPIO.OUT)
GPIO.setup(right_motor_backward, GPIO.OUT)
# Set up camera
cap = cv2.VideoCapture(0)
while True:
    ret, frame = cap.read()
    
    # Convert frame to grayscale
    gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
    
    # Apply thresholding to segment objects
    _, thresh = cv2.threshold(gray, 0, 255, cv2.THRESH_BINARY_INV + cv2.THRESH_OTSU)
    
    # Find contours
    contours, _ = cv2.findContours(thresh, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
    
    # Iterate through contours and track objects
    for contour in contours:
        x, y, w, h = cv2.boundingRect(contour)
        cv2.rectangle(frame, (x, y), (x + w, y + h), (0, 255, 0), 2)
        
        # Track object movement
        if x > 320:  # Object is on the right side of the frame
            # Move right motor forward
            GPIO.output(right_motor_forward, GPIO.HIGH)
            GPIO.output(left_motor_backward, GPIO.LOW)
        elif x < 160:  # Object is on the left side of the frame
            # Move left motor forward
            GPIO.output(left_motor_forward, GPIO.HIGH)
            GPIO.output(right_motor_backward, GPIO.LOW)
        else:  # Object is in the center of the frame
            # Stop motors
            GPIO.output(left_motor_forward, GPIO.LOW)
            GPIO.output(right_motor_forward, GPIO.LOW)
    
    cv2.imshow('Object Tracking', frame)
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break
cap.release()
cv2.destroyAllWindows()
GPIO.cleanup()
```
Explanation:
This code example demonstrates object tracking using OpenCV and the Raspberry Pi. The code sets up the GPIO pins for motor control and initializes the camera module. The code then reads frames from the camera, converts them to grayscale, and applies thresholding to segment objects. The code finds contours and iterates through them to track object movement. Based on the object's position, the code controls the motors to move the robot accordingly.
These examples demonstrate the versatility and programmability of the Black Gladiator Tracked Robot Chassis. By combining the chassis with a microcontroller or SBC, you can build a wide range of IoT applications that require mobility and sensor integration.