Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use roborio 2.0: Examples, Pinouts, and Specs

Image of roborio 2.0
Cirkit Designer LogoDesign with roborio 2.0 in Cirkit Designer

Introduction

The RoboRIO 2.0, manufactured by National Indestrys (Part ID: 2.0), is a compact and powerful embedded controller designed specifically for robotics applications. It features a dual-core processor, a wide range of input/output (I/O) ports, and support for multiple programming languages, making it a versatile choice for controlling robotic systems. The RoboRIO 2.0 is widely used in robotics competitions, educational environments, and research projects due to its robust design and flexibility.

Explore Projects Built with roborio 2.0

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO-Based Battery-Powered Robotic Car with Ultrasonic and IR Sensors
Image of micon: A project utilizing roborio 2.0 in a practical application
This circuit is a robotic system controlled by an Arduino UNO, featuring motor drivers (L9110) to control multiple hobby motors, an ultrasonic sensor (HC-SR04) for distance measurement, IR sensors for obstacle detection, and a Bluetooth module (HC-06) for wireless communication. The system is powered by a 2x 18650 battery pack and includes a rocker switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Battery-Powered Robotic Vehicle with IR and Ultrasonic Sensors
Image of Sumo: A project utilizing roborio 2.0 in a practical application
This circuit is a robotic system controlled by an Arduino UNO, featuring two IR sensors, an ultrasonic sensor, and two DC motors driven by an L298N motor driver. The sensors provide input to the Arduino, which processes the data and controls the motors to navigate or perform tasks based on the sensor readings.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Wi-Fi Controlled Robotic Vehicle with IR and Ultrasonic Sensors
Image of CAR1: A project utilizing roborio 2.0 in a practical application
This circuit is a robotic system controlled by an Arduino UNO, which interfaces with multiple sensors (IR sensors and an ultrasonic sensor) and actuators (DC motors and a servo motor). The system includes a WiFi module for wireless communication and is powered by a 18650 Li-ion battery pack, with a rocker switch for power control and an L298N motor driver to manage the DC motors.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560 Controlled Robotic Vehicle with Bluetooth Interface and MPU-6050 Sensor Integration
Image of BalancingRobot-V2: A project utilizing roborio 2.0 in a practical application
This is a robotic control circuit featuring an Arduino Mega 2560 microcontroller, which manages two DC motors via an L298N motor driver for motion control. It includes an MPU-6050 sensor for motion tracking and an HC-06 Bluetooth module for wireless communication. The Domino-8 connector facilitates power and signal connections among the components.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with roborio 2.0

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of micon: A project utilizing roborio 2.0 in a practical application
Arduino UNO-Based Battery-Powered Robotic Car with Ultrasonic and IR Sensors
This circuit is a robotic system controlled by an Arduino UNO, featuring motor drivers (L9110) to control multiple hobby motors, an ultrasonic sensor (HC-SR04) for distance measurement, IR sensors for obstacle detection, and a Bluetooth module (HC-06) for wireless communication. The system is powered by a 2x 18650 battery pack and includes a rocker switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Sumo: A project utilizing roborio 2.0 in a practical application
Arduino UNO-Based Battery-Powered Robotic Vehicle with IR and Ultrasonic Sensors
This circuit is a robotic system controlled by an Arduino UNO, featuring two IR sensors, an ultrasonic sensor, and two DC motors driven by an L298N motor driver. The sensors provide input to the Arduino, which processes the data and controls the motors to navigate or perform tasks based on the sensor readings.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of CAR1: A project utilizing roborio 2.0 in a practical application
Arduino UNO-Based Wi-Fi Controlled Robotic Vehicle with IR and Ultrasonic Sensors
This circuit is a robotic system controlled by an Arduino UNO, which interfaces with multiple sensors (IR sensors and an ultrasonic sensor) and actuators (DC motors and a servo motor). The system includes a WiFi module for wireless communication and is powered by a 18650 Li-ion battery pack, with a rocker switch for power control and an L298N motor driver to manage the DC motors.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of BalancingRobot-V2: A project utilizing roborio 2.0 in a practical application
Arduino Mega 2560 Controlled Robotic Vehicle with Bluetooth Interface and MPU-6050 Sensor Integration
This is a robotic control circuit featuring an Arduino Mega 2560 microcontroller, which manages two DC motors via an L298N motor driver for motion control. It includes an MPU-6050 sensor for motion tracking and an HC-06 Bluetooth module for wireless communication. The Domino-8 connector facilitates power and signal connections among the components.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Robotics competitions (e.g., FIRST Robotics Competition)
  • Educational robotics projects
  • Research and development in robotics
  • Industrial automation and control systems
  • Prototyping and testing of robotic designs

Technical Specifications

Key Technical Details

Specification Value
Processor Dual-core ARM Cortex-A9
Clock Speed 667 MHz
RAM 512 MB DDR3
Storage 4 GB eMMC (expandable via USB or SD card)
Operating Voltage 7V to 16V DC
Communication Interfaces USB, Ethernet, CAN, RS-232, SPI, I2C
Digital I/O Ports 10
Analog Input Ports 4
PWM Output Channels 10
Relay Outputs 4
Dimensions 5.5 x 3.5 x 1.5 inches
Weight 0.5 lbs (approx.)
Supported Programming LabVIEW, C++, Java, Python

Pin Configuration and Descriptions

The RoboRIO 2.0 features multiple ports and connectors for interfacing with sensors, actuators, and other devices. Below is a summary of the key pin configurations:

Digital I/O Ports

Pin Number Function Description
DIO1-DIO10 Digital I/O Configurable as input or output

Analog Input Ports

Pin Number Function Description
AI1-AI4 Analog Input Accepts 0-5V analog signals

PWM Output Channels

Pin Number Function Description
PWM1-PWM10 PWM Output Controls motor speed or servo position

Communication Ports

Port Type Function Description
USB USB Host/Device Connects to peripherals or programming
Ethernet Network Interface Enables wired communication
CAN CAN Bus Communicates with motor controllers
RS-232 Serial Interface Legacy serial communication
SPI/I2C Communication Interfaces with sensors and devices

Usage Instructions

How to Use the RoboRIO 2.0 in a Circuit

  1. Powering the RoboRIO 2.0:

    • Connect a 12V DC power supply to the power input terminals.
    • Ensure the power supply is within the operating voltage range (7V to 16V).
  2. Connecting Sensors and Actuators:

    • Use the digital I/O ports for digital sensors or switches.
    • Connect analog sensors to the analog input ports (AI1-AI4).
    • Attach motors or servos to the PWM output channels (PWM1-PWM10).
  3. Programming the RoboRIO 2.0:

    • Install the required software development environment (e.g., LabVIEW, C++, or Java).
    • Connect the RoboRIO 2.0 to your computer via USB or Ethernet.
    • Deploy your program to the RoboRIO 2.0 using the development environment.
  4. Communication Setup:

    • Use the Ethernet port for wired communication with a network or computer.
    • Utilize the CAN bus for motor controllers or other CAN-enabled devices.

Important Considerations and Best Practices

  • Power Supply: Ensure the power supply is stable and within the specified voltage range to avoid damage.
  • Heat Management: The RoboRIO 2.0 may generate heat during operation. Ensure proper ventilation to prevent overheating.
  • Firmware Updates: Regularly update the firmware to ensure compatibility with the latest software and features.
  • Wiring: Double-check all connections to avoid short circuits or incorrect wiring.

Example Code for Arduino UNO Integration

While the RoboRIO 2.0 is a standalone controller, it can communicate with an Arduino UNO via serial communication. Below is an example of how to send data from an Arduino UNO to the RoboRIO 2.0:

// Arduino UNO Code: Sending data to RoboRIO 2.0 via Serial
void setup() {
  Serial.begin(9600); // Initialize serial communication at 9600 baud
}

void loop() {
  int sensorValue = analogRead(A0); // Read analog value from pin A0
  Serial.println(sensorValue); // Send the value to RoboRIO 2.0
  delay(100); // Wait for 100ms before sending the next value
}

On the RoboRIO 2.0, you can use a compatible programming language (e.g., Java or LabVIEW) to read the serial data and process it accordingly.

Troubleshooting and FAQs

Common Issues and Solutions

  1. RoboRIO 2.0 Not Powering On:

    • Cause: Insufficient or incorrect power supply.
    • Solution: Verify the power supply voltage and connections.
  2. No Communication with Computer:

    • Cause: Incorrect USB or Ethernet connection.
    • Solution: Check the cable connections and ensure the correct drivers are installed.
  3. Sensors or Actuators Not Responding:

    • Cause: Incorrect wiring or configuration.
    • Solution: Double-check the wiring and ensure the ports are configured correctly in the software.
  4. Overheating:

    • Cause: Prolonged operation in a poorly ventilated environment.
    • Solution: Improve ventilation or use a cooling fan.

FAQs

Q1: Can the RoboRIO 2.0 be programmed wirelessly?
A1: Yes, the RoboRIO 2.0 supports wireless programming via a compatible Wi-Fi adapter.

Q2: What programming languages are supported?
A2: The RoboRIO 2.0 supports LabVIEW, C++, Java, and Python.

Q3: Can I expand the storage capacity?
A3: Yes, you can expand the storage using a USB drive or SD card.

Q4: Is the RoboRIO 2.0 compatible with older RoboRIO accessories?
A4: Yes, the RoboRIO 2.0 is backward compatible with most accessories designed for the original RoboRIO.

Q5: How do I reset the RoboRIO 2.0?
A5: Press and hold the reset button for 5 seconds to perform a soft reset. For a factory reset, refer to the user manual.