Skip to the content
2 layers52.2 × 52.2 mmStm32-base board, the printed circuit board in 3D

Stm32-base board

sampreets3/maria-robot3

MARIA is a simple robot which will help me understand how to design the systems of a complex robot. Features will be mentioned as they are added.

Size
52.2 × 52.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
48
Nets
69
Pads
168
Tracks, vias
168, 6
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
20 Jul 2020
Updated
6 Nov 2020

Overview

Stm32-base board is an open-source printed circuit board by sampreets3, from the sampreets3/maria-robot repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 52.2 × 52.2 mm with 48 parts on 69 nets, routed with 168 tracks and 6 vias.

It is built around the AMS1117-3.3. Its parts include 16 resistors, 14 capacitors, 9 connectors, 3 diodes and 2 ICs. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

1

README

README.md

GitHub issues License: GPL v3 Maintenance Open Source Love svg3

maria-robot

MARIA is a simple robot which will help me understand how to design the systems of a complex robot. Features will be mentioned as they are added. The organization of the project is divided into three main components: The ROS workspace, the necessary resources (books, papers, etc.) and any supporting material. This may include a lot of things such as the electrical schematics and board layouts for several boards, the CAD models, the PCB fabrication files, and so on.


Roadmap

As this is mainly a summer project, my current aim is to get all the electronics and hardware done. That way, I can get a basic idea about how the system would look and likely behave. Writing software and firmware would then be easier. A good approach in my opinion is to keep the ROS based processing separate from the low-level actions, and write a bridge between the two when necessary. The microcontroller I have decided to go with for designing the base board is the STM32F103C8T6 from ST Microelectronics. This is a small ARM Cortex M3 based microcontroller, packed with a lot of features. The design of the base board is highly inspired by the famous "Blue Pill" line of cheap development boards featuring this MCU. For the moment, the number of sensors are being kept simple - IR sensors as limit switches, to always keep the robot at a certain distance from the walls. There will be two IR sensors on each face, so 8 in total.

After having finished with the hardware and designs, I will focus on writing the low-level microcontroller code to interact with the sensors. I will be using bare-metal programming, although if things get too complex, I might try to compile everything within a C/C++ library. When writing the code, the first test would be to see if I can get data out of the IR sensors. Once that is done, I will focus on the SPI communication channel, to write the driver code for the motor controllers. The logic is pretty simple, so I think I might be able to provide API based framework for it.

With the electronics design done and the low level drivers tested, I will then focus on creating the simple ROS workspace for the high-level interaction with the robot. While I send the board designs for fabrication, I will start by using the ros_bridge package to see if I can establish communication between the PC and the MCU or not. I am thinking of using a Raspberry Pi at the moment, but it might change if I come across a better SBC.

Then onwards, most of the development will focus on the ROS side of things, like using a vision system, introducing some simple AI into it, etc. I will revisit the electronics designs only if I feel the need of extra sensors, or something goes wrong.


Updates

ros-ws-update Added three ROS packages to the main catkin workspace. There are three main packages as of now: maria_robot_control, which will focus on the control of the differential drive robot, maria_robot_gazebo where all the files required for the Gazebo simulation will reside, and maria_robot_description which will host all the CAD files for the chassis design and the corresponding URDF imports.

support-schematic Updated the Motor Controller Schematic. Refined the design a little bit. The AMS1117 LDOs use the copper plane as a heatsink, as was pointed out by Mr. Petr Dvořák. Thus, I created two copper planes, one for 3.3V and another for 5V, for the heat to dissipate. Also, I had overlooked the use of decoupling capacitors in the design. Added them close to the ICs.

support-schematic Added schematics for STM32 base board. This board is going to be responsible for processing sensor data, sending commands to the motor controller, and in later stages, communicating with the SBC running ROS. Need to finish the layout of the board.

resource-legacy-code Added the legacy files and libraries for the original MARIA design. MARIA was originally developed during my time at The Neotia University, India. Added the old files and libraries for reference or if someone from the old team would need support. The old architecture was based off an Arduino Uno, so you will mainly find Arduino codes, a MARIA library containing essential functionalities.

ros-ws-update Added the main ROS workspace for the robot. Configured it with a simple chatter application under a package named "comm". Currently hosts two executables, "talker" and "listener". Maybe I will add the build directories to .gitignore


Usage

If you are interested in contributing to this project, be my guest!

  1. You can start by forking the repo using git clone https://github.com/sampreets3/maria-robot.git, and begin working on things.
  2. You can open an issue pertaining to any fix/features that you might want to implement.
  3. If everything looks good, then open a PR and we shall merge the commit.

Contact

You can reach out to me via email at : sampreets3@gmail.com

visitors

Parts

48
QtyValueFootprintReferences
1020Resistor_SMD:R_0805_2012MetricR3, R4, R9, R10, R11, R12, R13, R14, R15, R16
610nFCapacitor_Tantalum_SMD:CP_EIA-1608-08_AVX-JC1, C2, C4, C6, C7, C13
31uFCapacitor_Tantalum_SMD:CP_EIA-1608-08_AVX-JC8, C9, C14
322pFCapacitor_Tantalum_SMD:CP_EIA-1608-08_AVX-JC3, C10, C11
2100@100MHzResistor_SMD:R_0805_2012MetricFB1, FB2
2100KResistor_SMD:R_0805_2012MetricR2, R6
2220Resistor_SMD:R_0805_2012MetricR7, R8
2SPI_ConnectorConnector_JST:JST_EH_S4B-EH_1x04_P2.50mm_HorizontalJ5, J9
10.1uFCapacitor_Tantalum_SMD:CP_EIA-1608-08_AVX-JC12
110KResistor_SMD:R_0805_2012MetricR1
110uFCapacitor_Tantalum_SMD:CP_EIA-1608-08_AVX-JC5
14k7Resistor_SMD:R_0805_2012MetricR5
18MHzCrystal:Crystal_SMD_HC49-SDY1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1Boot_PinsConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ2
1D_Schottky_SmallDiode_SMD:D_1206_3216MetricD1
1IR1Connector_JST:JST_EH_S3B-EH_1x03_P2.50mm_HorizontalJ6
1IR2Connector_JST:JST_EH_S3B-EH_1x03_P2.50mm_HorizontalJ7
1IR3Connector_JST:JST_EH_S3B-EH_1x03_P2.50mm_HorizontalJ8
1PowerConnector_JST:JST_EH_S2B-EH_1x02_P2.50mm_HorizontalJ4
1STM32F103C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU2
1SWDebuggerConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ3
1SW_PushButton_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mmSW1
1USB_B_MiniConnector_USB:USB_Mini-B_Lumberg_2486_01_HorizontalJ1
1greenLED_SMD:LED_1206_3216MetricD3
1redLED_SMD:LED_1206_3216MetricD2

More from sampreets3/maria-robot

1
  • 2 layers69.9 × 40.8 mmMotor control spi, the printed circuit board in 3D

    Motor control spi

    sampreets3/maria-robot

    MARIA is a simple robot which will help me understand how to design the systems of a complex robot. Features will be mentioned as they are added.

    29 parts3GPL-3.0

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 Stm32-base board PCB?

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

What parts does the Stm32-base board use?

48 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 Stm32-base board KiCad files?

From the sampreets3/maria-robot repository on GitHub, at the commit this page was made from: the board is support/schematics/stm32-base-board/stm32-base-board.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Stm32-base board design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).