Skip to content

SRA-VJTI/sra-board-hardware-design

Repository files navigation

Stargazers Forks Issues License


Logo

SRA Development Board

ESP32-based Development Board
KiCAD · Gerber · Images · 3D Model

SRA Board 2026

The SRA board is a development board based on ESP32 with on-board peripherals like a programmable LED matrix, switches, sensor ports for Line Sensor Array and MPU-6050, protection circuit for over-current and reverse voltage, and motor drivers.

Table of Contents

Board Images

  • Frontside

  • Backside

About the Project

  • This development board is used for the Wall-E and MARIO workshops conducted by SRA.
  • Designed using KiCAD. The schematic and board files are here.
  • Resources for previous work. For more details of the SRA board 2024, checkout this link.
  • The SRA board 2023 images can be found here.
  • Older versions of the board and miscellaneous designs can be found here.

Getting Started with a Development Board

In general, every development board has the following basic features:

  • Power Supply Unit

    • Microcontrollers (MCUs) usually run on 3.3V or 5V logic supply voltage while input to a development board is normally 12V for motor and driving/controlling peripheral devices.
    • So, in order to have a single input source, a power section which inter converts this 12V to standard levels like 5V & 3.3V for MCU and sensors is present.This is achieved using a step-down buck regulator.
    • Buck Regulator IC MP1584 is used in the current SRA Board 2026 for stepping down the voltage from 12V to 5V DC. This 5V is further regulated to 3.3V using LDO IC AMS1117-3.3. The MP1584 is a more compact and efficient alternative compared to the previous LM2576-S.
    • The previous edition of the SRA board (2025) used the LM2576-S-5 buck regulator, while earlier editions used the LM7805 linear voltage regulator for stepping down from 12V to 5V.
    • The older editions of the SRA board used the LD33 linear voltage regulator for converting 5V to 3.3V at the sensor port.
  • Motor Driver

    • Motors usually run on 12V and MCU output is generally 5V/3.3V. So, an external motor driver circuitry is required to control motors according to the MCU input.
    • The current and previous editions of SRA board use the TB6612FNG Motor Driver, which is a MOS-based H-Bridge motor driver.
    • The older editions of SRA Board used the L298N IC for motor-control, which is a BJT-based H-Bridge motor driver.
  • Sensor Port

  • Protection against Reverse Voltage

    • The SRA Boards use diodes for reverse voltage protection in the power-line.
    • 12V Motor line and power regulated line have been separated with SS34 and SS54 schottky diodes respectively.
  • Protection against Over Current

    • Earlier, for the overcurrent protection of MCU and motor driver circuit, bulky glass fuses of 300mA and 3A were used respectively. After breakdown, they used to be replaced.
    • In the recent versions of the board, these were replaced with compact, PTC Resettable Fuses.
    • On 12V line - RXEF160 : 1.6A hold current; 3.2A trip current Fuse was used.
    • On 5V line - RXEF160 : 0.5A hold current; 1A trip current Fuse was used.
  • Programmable Switches and LEDs

    • Every development board should have some programmable switches and LEDs for testing, control and debugging purposes.
    • The current SRA Board 2026 features a 6x5 LED matrix (30 LEDs total) controlled via shift registers, which provides enhanced debugging capabilities and expressive visual feedback while reducing GPIO usage compared to discrete LEDs.
    • The previous edition (2025) had an array of 8 programmable discrete LEDs and switches.
    • The earlier editions had fewer programmable switches and LEDs for testing and control purposes.
  • Power Switch

    • All versions have a power switch for the motor driver, using which power supply to the motor driver can be toggled. Similarly, there was a switch for the ESP32 MCU.

Now that we covered basics of development boards, let us talk about the changes made in the new design.

Changes IN SRA Board Over the years from 2024-2026

Feature SRA Board 2024 SRA Board 2025 SRA Board 2026
12V to 5V LM2576-S Buck Converter LM2576-S Buck Converter MP1584 Buck Converter
Reverse Voltage Protection Diodes Diodes Diodes
Line Sensing Arrays (LSA) IR Sensors IR Sensors IR Sensors
Number of LSA Sensors 5 5 5
Motor Driver TB6612FNG TB6612FNG TB6612FNG
Stepper Motor Driver - - -
No. of DC Motor Channels 2 2 2
No. of Stepper Motor Channels 0 0 0
No. of Switches 2 2 2
No. of LEDs 8 8 6x5 LED Matrix (via Shift Registers)
Over Current Protection PTC Resettable Fuses PTC Resettable Fuses PTC Resettable Fuses
Sensor Port Connectors JST Connectors JST Connectors JST Connectors
Component Type and Board Size SMD(Surface Mount Device), Smaller SMD(Surface Mount Device), Smaller SMD(Surface Mount Device), Smaller
ESP32 Module Not Integrated Mounted and Soldered to PCB Mounted and Soldered to PCB
Flashing Port Micro USB Type-C Type-C
  • Compatiblity of SRA Board with Battery 3- 3.3V 2500mAh Batteries

    • The SRA Board is compatible with 3-cell (3S) Lithium-ion battery packs which use an external BMS (Battery Management System).
    • The BMS helps maintain safe operating voltages and disconnects the battery when the voltage drops below a safe limit.
    • It also ensures balanced charging and discharging of the three cells, improving the overall health and lifetime of the battery pack.
  • 7805 (5V linear regulator) to LM2576/96 Buck Convertor

    • The higher efficiency, output current capability and reliability of LM2576/96 were the primary reasons for this change.
    • The efficiency of LM2576 can reach up to ~92%, which is significantly better than the 7805 linear regulator.
    • The LM2576 can provide currents up to 3A, allowing peripherals such as the MARIO workshop manipulator to be powered using the onboard regulator.
  • LD33 (3.3V) to AMS1117:

    • Older editions used the LD33 IC to step down from 5V to 3.3V.
    • This was later replaced with the AMS1117-3.3 LDO, which is more compact and widely used for stable 3.3V regulation.
    • (AMS1117 is also used on the ESP32-DevKitC V4 module.)
  • Reverse voltage protection: Diodes to P-MOSFET

    • Diodes placed in series with the power line introduce voltage drop and power loss compared to a P-MOSFET based protection circuit.
    • Due to the higher current requirements of the motors, managing diode size and current rating became difficult.
    • Therefore, earlier versions used a P-MOSFET based reverse polarity protection circuit, which is more efficient and can handle higher currents.
    • In the current edition, SMD Schottky diodes are used, making size and rating less of an issue.
  • Component Type and Board Size:

    • In the previous editions, THT/PTH (Through-Hole) components were used, which occupied more board area and increased in size with higher power ratings.
    • In the current edition, the design adopts a more compact SMD-based layout. The LM2576 buck converter has been replaced with the smaller MP1584 regulator, and the discrete LED array has been replaced with a 6×5 LED matrix driven using shift registers.
    • Current Board Dimensions: 90mm x 90mm
  • L298N vs TB6612FNG

    • L298N is a BJT-based H-bridge motor driver but it is less efficient as compared to the new MOS-based TB6612FNG.
    • The detailed comparison is shown below. As you can see the efficiency of TB6612FNG can reach up to 91-95% which is significantly higher than the 40-70% efficiency of L298N.
    • The only drawback of TB6612FNG is the less continuous current which is equal to 1.2A.

  • LED System

    • Earlier versions of the board used a set of discrete programmable LEDs for debugging and status indication. In the SRA Board 2026, this has been replaced with a 6×5 LED matrix driven using shift registers.
    • This significantly reduces GPIO usage while allowing more flexible visual debugging and status indication patterns.

Notable problems in the current SRA Board

  • Buck Converter Stability Issue (MP1584)

    • The SRA Board 2026 uses the MP1584 buck converter to step down 12V to 5V.
    • While the device allowed a significant reduction in the power section size compared to LM2576, irregular behaviour was observed under higher load conditions.
    • During heavy load scenarios involving motors and other peripherals, the 5V rail occasionally showed instability, which may affect the overall system reliability.
  • USB Type-C Connector Mechanical Strength Issue

    • The board currently uses a 16-pin USB Type-C connector for programming and power.
    • In practical usage, the connector was found to be mechanically weak, and in some cases it could loosen or detach from the PCB after repeated cable insertion or mechanical stress.
  • Power Switch Issue

    • There are two dpdt power toggle switch used on board. One to toggle the supply of 12v to the whole board and one to toggle the supply of 5v to the logic circuit.
    • Instead it should have been toggling 12v supply to the motors and toggling 12v supply to the whole board.

Improvements Suggested for Future Iterations

Based on the current design of the SRA Board 2026, the following improvements are recommended for future iterations:

  • Replace MP1584 with TPS562202: The TPS562202 offers improved reliability and enhanced long-term robustness compared to the current MP1584 buck converter. This component provides better thermal performance and more stable regulation across varying load conditions.

  • Upgrade to USB-C 6P Connector: Replace the current Type-C connector with a robust USB-C 6P connector configuration. This simplifies soldering procedures, improves mechanical strength, and enhances durability during repeated connection cycles.

  • Add Unconnected UART Solder Pads (RX, TX): Incorporate unconnected solder pads for UART receive and transmit lines on the PCB. This allows the board to optionally function as a USB-to-TTL interface, extending its utility beyond standalone development applications.

Potential Future Enhancements

The following experimental features and enhancements are being considered for future versions of the SRA Board but are not yet integrated into the 2026 iteration:

  • Onboard IMU Integration: Direct integration of an Inertial Measurement Unit (IMU) for advanced motion sensing applications, eliminating the need for external MPU6050 connections.

  • Camera FFC/FPC Connector: Addition of a Flat Flex Cable (FFC) or Flexible Printed Circuit (FPC) connector to support camera modules, enabling vision-based robotics projects and computer vision applications.

  • Integrated Motor Driver: Direct onboarding of motor driver circuits instead of requiring external TB6612FNG modules, reducing component count and improving form factor.

  • CH340 to CP2102 Upgrade: Replacing the CH340 USB-to-UART bridge with CP2102 for improved reliability, driver support across multiple operating systems, and better stability in industrial environments.

These enhancements represent opportunities for evolution of the platform and will be explored as future iterations of the board are developed.

3D Models

  1. The complete 3D model (.step) file of SRA Board 2026
  2. The 3D models of motor driver, LEDs, ESP32 etc.: 3d models of other components

Milestones

  • Designing of the prototype board
  • Modular testing of the circuit
  • Testing of prototype board
  • Final version
  • Making the board Battery Compatible
  • Onboard ESP32 Module

Contributors

Acknowledgements and Resources

License

Packages

 
 
 

Contributors

Languages