Sumo Bots
  • Introduction
    • What is robot sumo?
    • Robot sumo weight classes
    • Rules in robot sumo
    • What makes up a sumo bot?
  • Electronics
    • Choosing parts for your robot
      • Motors
      • Motor drivers
      • IR sensors
      • Edge sensors
      • Microcontroller
      • IR/RF Remote
      • Battery
      • Voltage regulator
    • Calculating power consumption
    • Making your first schematic
    • Turning your schematic into a PCB
    • Getting your PCB fabricated
  • SOFTWARE
    • Getting Started
    • Firmware Training
      • Part 1: Running Blinky
  • MECHANICAL DESIGN
    • Page 3
Powered by GitBook
On this page
Export as PDF
  1. Electronics
  2. Choosing parts for your robot

Microcontroller

The brain of the robot

PreviousEdge sensorsNextIR/RF Remote

Last updated 7 months ago

Like our brain, a microcontroller is responsible for processing loads of information it receives from inputs, stores away data in its memory, and tells different outputs what to do. However, a microcontroller refers to only the computer that makes up a small part of a larger . A fully fledged microcontroller board that will support connections to all of our sensors, motors, motor drivers, and all other hardware interfaces is what our robot needs.

Popular microcontroller brands

  • STM32

  • ESP32

  • Arduino

  • Teensy

These are among a few of the most popular brands used for robot sumo and robotics projects in general. The microcontroller boards sold out there are generally very diverse and specialized for a variety of purposes, so the specs of your board should meet the requirements of your robot. We could really go on endlessly about this subject. In general, these are a few things you should consider when selecting a board: size, number of input/output pins, clock speed, peripherals, and cost.

Size

This will never not be a consideration for our sumo bot. Ideally, choose a board that is small enough while leaving room for other parts that will eventually go on your PCB (more on this in later sections).

I/O Pins

Clock speed

When starting out, this isn't a huge consideration. Arduino works just fine for a sumo bot. Of course, a microcontroller with very clock speeds like Teensy will allow for faster response times and technical movements.

Peripherals

In addition to the number of I/O pins you want, peripherals are another consideration. Peripherals include other parts in microcontroller that help perform a specific task such as pulse width modulation (PWM), , , , , etc.

Cost

As always consider cost in your budget. Microcontroller boards usually range from $10-$30. Typically, higher end microcontrollers support better performance and other hardware requirements.

Consider the number of sensors, motors, and other devices you plan to attach to the microcontroller. A board like the is absolute overkill for a mini sumo bot (Not to mention too large).

Arduino MEGA R3
Simplified block diagram of an embedded system.
An official Arduino R3 microcontroller board