Skip to the content
2 layers48.3 × 38.1 mmRoboMasterHatBoard, the printed circuit board in 3D
Size
48.3 × 38.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
40
Pads
107
Tracks, vias
79, 0
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
17 Jan 2024
Updated
23 Feb 2024

Overview

RoboMasterHatBoard is an open-source printed circuit board by CoRE-MA-KING, from the CoRE-MA-KING/RoboMasterHatBoard repository on GitHub. It is a 2-layer board of 48.3 × 38.1 mm with 23 parts on 40 nets, routed with 79 tracks and 0 vias.

It is built around the AMS1117-3.3. Its parts include 17 connectors, 2 capacitors, 1 resistor, 1 IC and 1 diode.

Main components

1

README

README.md

RoboMasterHatBoard

ロボマス開発ボード用ハットです。
CoREに出場するロボットに利用しているメインボードとしてRoboMaster 開発ボードタイプAを利用しているので、このボードから2024年大会用に必要なピンをコネクタにまとめるための基板です。

機能

ロボマス開発ボードにはピンヘッダからいくつかのピンが出ているので、そこから今回のロボットで利用するピンを取り出します。

具体的に以下のピンを取り出します。

ピン名ペリフェラル用途備考
PD12TIM4_CH1モータ1PWM用
PD13TIM4_CH2モータ2PWM用
PA0TIM2_CH1エンコーダ1 A相
PA1TIM2_CH2エンコーダ1 B相
PA2GPIO_INPUTエンコーダ1 Z相
PI5TIM8_CH1エンコーダ2 A相
PI6TIM8_CH2エンコーダ2 B相
PI7GPIO_INPUTエンコーダ2 Z相
PF0GPIO_INPUTフォトインタラプタ1入力マイコンの内部プルアップ必須
PF1GPIO_INPUTフォトインタラプタ2入力マイコンの内部プルアップ必須
PE6GPIO_INPUT非常停止ボタン入力マイコンの内部プルアップ必須
PE12GPIO_OUTPUTリレー駆動信号
PC3GPIO_INPUT撃破信号入力PC3は5 Vトレラントなので5 V入力可能
PC1GPIO汎用GPIO予備ポート 5 Vトレラントピン

v0.1の基板上のシルクと回路図上の信号線が逆になっているので注意。回路図が間違っているということにして基板のシルクか上の表に従えばOK。

基板上のコネクタのピンアサインは次の通り

MOTOR PWM

123
TIM4_CH1(PD12)TIM4_CH2(PD13)GND

PHOTO SENS1

123
5 VINPUT(PF0)GND

PHOTO SENS2

123
5 VINPUT(PF1)GND

ENC1

12345
3.3 VTIM2_CH1(PA1)TIM2_CH2(PA2)INPUT(PA2)GND

ENC2

12345
3.3 VTIM8_CH1(PI5)TIM8_CH2(Pi6)INPUT(PI7)GND

RELAY

12
OUTPUT(PE12)GND

ESW

12
INPUT(PE6)GND

BREAK

12
INPUT(PC3)GND

予備ポート

12
INPUT(PC1)GND

参考

ロボマス開発ボードピンヘッダ部分のピンアサインは回路図より

Parts

23
QtyValueFootprintReferences
6Conn_01x08_SocketConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ1, J2, J3, J4, J5, J6
4Conn_01x02_PinConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ9, J10, J16, J17
3Conn_01x03_PinConnector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalJ11, J14, J15
2CCapacitor_SMD:C_0402_1005MetricC1, C2
2Conn_01x05_PinConnector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ12, J13
2Conn_01x10_SocketConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ7, J8
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1LEDDiode_SMD:D_0603_1608MetricD1
1LOGOLOGO
1RResistor_SMD:R_0402_1005MetricR1

Similar boards

  • 2 layers290.1 × 130 mmPro V2, the printed circuit board in 3D

    Pro V2

    kata0510/Lily58

    6×4+4keys column-staggered split keyboard.

    312 parts2.3k
  • 2 layers26.2 × 45.5 mmPL18 multiprotocol, the printed circuit board in 3D

    PL18 multiprotocol

    pascallanger/DIY-Multiprotocol-TX-Module

    Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.

    24 parts1.9kGPL-3.0
  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 4 layers85 × 56 mmPslab mini, the printed circuit board in 3D

    Pslab mini

    fossasia/pslab-mini-hardware

    PSLab Mini Hardware https://pslab.io

    182 parts1.2kApache-2.0
  • 4 layers100 × 54 mm32Bit shift register, the printed circuit board in 3D

    32Bit shift register

    MaltWhiskey/Mega-Cube

    16x16x16 PL9823 Cube with Teensy 4.0 and FlexIO driver

    64 parts766
  • 2 layers44.2 × 29.3 mmI2c tiny usb, the printed circuit board in 3D

    I2c tiny usb

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    27 parts454
  • 2 layers78 × 60 mmIce viz, the printed circuit board in 3D

    Ice viz

    muni-works/vcad

    BRep CAD kernel in Rust/WASM

    44 parts442Apache-2.0
  • 2 layers59.1 × 99.9 mmCheap FOCer 2 60mm, the printed circuit board in 3D

    Cheap FOCer 2 60mm

    shamansystems/Cheap-FOCer-2

    Low-Cost Motor Controller based on the VESC 6

    193 parts407

Questions

How big is the RoboMasterHatBoard PCB?

It measures 48.3 × 38.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RoboMasterHatBoard use?

23 parts, built around the AMS1117-3.3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the RoboMasterHatBoard KiCad files?

From the CoRE-MA-KING/RoboMasterHatBoard repository on GitHub, at the commit this page was made from: the board is RoboMasterHatBoard.kicad_pcb and its schematic RoboMasterHatBoard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the RoboMasterHatBoard design in my own project?

Its repository states no licence, so its author keeps all rights: ask CoRE-MA-KING before reusing the design.