Skip to the content
PCBKitNew board
2 layers101.6 × 53.3 mmSduino mb, the printed circuit board in 3D

A development board with STM8S208MB MCU in Arduino MEGA form factor

Size
101.6 × 53.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
56
Nets
106
Pads
321
Tracks, vias
1,580, 179
Pours
20
Routed
Yes
KiCad
KiCad 4
Created
4 Aug 2018
Updated
28 Sep 2018

Overview

Sduino mb is an open-source printed circuit board by roybaer, from the roybaer/sduino_mb repository on GitHub. It is a 2-layer board of 101.6 × 53.3 mm with 56 parts on 106 nets, routed with 1,580 tracks and 179 vias.

It is built around the STM8S208MBT6B, CH340G and LM358, with the CD1206-S01575, FDN340P and MF-MSMF050-2 among its other parts. Its parts include 12 capacitors, 5 ICs, 5 crystals, 3 connectors and 2 diodes. It belongs with the microcontroller boards boards and the AVR (ATmega, ATtiny) and STM8 boards of this library.

Main components

6

README

README.md

sduino MB

The sduino MB is an attempt at creating a mechanically and electrically Arduino-MEGA-compatible development board based on the STM8S208MB microcontroller. Both, mechanical and electrical design are to a notable degree based on the Arduino MEGA board.

sduino MB 208

Pin mapping

See pin mapping documentation for details.

Differences

The following paragraphs highlight the most important differences between Arduino MEGA and sduino MB.

Electrical

Most importantly, the sduino MB can be switched between 5V and 3.3V operating voltage. The RX and TX LEDs are connected to the RX and TX lines (IO pin 0 and 1, respectively) via 1k resistors, rather than to the USB interface chip.

Mechanical

The gap between the upper socket strips has been reduced from 0.06 to 0.05 inches. This should not significantly impact mechanical compatibility with Arduino shields and increases the available radius around the center of the upper left M3 mounting hole from 2.286 to 2.54 millimeters, which should be just enough to fit in a standard M3 spacer (5mm wrench). The voltage jumper might get in the way of cases built for the Arduino MEGA. Drilling a matching 10 mm hole in their top cover should make them compatible.

Functional

The STM8S208MBT6B only has 128 KiB of Flash, 6 KiB of RAM and 2 KiB of EEPROM, has four IO pins less than would be desirable, two instead of four UARTs, no analog comparator and no external memory interface. In exchange, it has positive and negative reference voltages for its ADC, a CAN interface, switchable I²C lines and can run at up to 24 MHz. It can also run code from all its addressable memory, i.e. FLASH, RAM and EEPROM and should therefore be able to load and run code from an SD card.

Like many Arduino MEGA clones, the sduino MB uses a CH340G USB to serial converter instead of an Atmega16U2 for communication with the host PC. The USB interface Chip therefore cannot be repurposed as a coprocessor or keyboard/mouse simulator.

Software

Unfortunately, there is no free C++ compiler available for the STM8 platform, yet. The Arduino language along with the large pool of existing Arduino sketches can therefore not be used without modifications.

Fortunately, there is the C-based sduino library that this board borrows its name from. By using the sduino library, the changes required to run many exsting Arduino sketches on an STM8 platform can be kept within manageable bounds.

Furthermore, there are ongoing efforts to create an Arduino port for the STM8 based on an improved version of the LLVM+SDCC toolchain that uses C as intermediate language.

Copying

Even though the sduino MB CAD files have been created from scratch and the design is not identical, to avoid legal ambiguity, the CAD files for the sduino MB board are released under the same creative commons license as those of the Arduino MEGA board:

This work is licensed under the Creative Commons Attribution-ShareAlike 2.5 Generic License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.5/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

Parts

56
QtyValueFootprintReferences
6100nCapacitors_SMD:C_0603C7, C8, C9, C10, C11, C12
5Conn_01x08Socket_Strips:Socket_Strip_Straight_1x08_Pitch2.54mmAD1, AD2, COMMUNICATION1, IOL1, POWER1
422pCapacitors_SMD:C_0603C1, C2, C5, C6
3YELLOWLEDs:LED_0805LED_L1, LED_RX1, LED_TX1
21kResistors_SMD:R_Array_Concave_4x0603RN2, RN3
21µCapacitors_SMD:C_0805C3, C4
247µCapacitors_SMD:CP_Elec_6.3x5.8PC1, PC2
110kResistors_SMD:R_Array_Concave_4x0603RN1
112MHzCrystals:Crystal_HC49-4H_VerticalY1
124MHzCrystals:Crystal_HC49-4H_VerticalY2
1CD1206-S01575Diodes_SMD:D_1206D2
1CH340GHousings_SOIC:SOIC-16_3.9x9.9mm_Pitch1.27mmU3
1Conn_01x02Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmJ2
1Conn_01x03Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mmVSEL1
1Conn_01x04Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mmJ1
1Conn_01x10Socket_Strips:Socket_Strip_Straight_1x10_Pitch2.54mmIOH1
1Conn_02x03_Odd_EvenPin_Headers:Pin_Header_Straight_2x03_Pitch2.54mmSPI_PWR1
1Conn_02x18_Odd_EvenSocket_Strips:Socket_Strip_Straight_2x18_Pitch2.54mmXIO1
1FDN340PTO_SOT_Packages_SMD:SOT-23Q1
1GREENLEDs:LED_0805LED_ON1
1GS2Connectors:GS2J3
1Jack-DCConnect:JACK_ALIMX1
1LM358Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mmU5
1M7Diodes_SMD:D_SMAD1
1MF-MSMF050-2Resistors_SMD:R_1812F1
1NCP1117-3.3_SOT223TO_SOT_Packages_SMD:SOT-223-3Lead_TabPin2U2
1NCP1117-5.0_SOT223TO_SOT_Packages_SMD:SOT-223-3Lead_TabPin2U1
1STM8S208MBT6BHousings_QFP:TQFP-80_14x14mm_Pitch0.65mmU4
1TS42031-160R-TR-7260Buttons_Switches_SMD:SW_SPST_B3S-1000RESET1
1USB_BConnect:USB_BX2
1USB_OTGConnectors_USB:USB_Micro-B_Molex_47346-0001X3

The 48 most common of 56 parts.

Questions

How big is the Sduino mb PCB?

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

What parts does the Sduino mb use?

56 parts, built around the STM8S208MBT6B, CH340G, LM358 and CD1206-S01575. 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 Sduino mb KiCad files?

From the roybaer/sduino_mb repository on GitHub, at the commit this page was made from: the board is kicad/sduino_mb.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Sduino mb design in my own project?

Its repository states no licence, so its author keeps all rights: ask roybaer before reusing the design.

Similar boards

  • 2 layers68.6 × 53.3 mmSduino uno, the printed circuit board in 3D

    Sduino uno

    roybaer/sduino_uno

    A development board with STM8S105K6 MCU in Arduino UNO form factor

    51 parts18
  • 2 layers68.6 × 53.3 mmArduino Uno SMD, the printed circuit board in 3D

    Arduino Uno SMD

    kaustubh850/ArduinoEquipped

    A Repo wit Arduino Uno Compatible Boards with on-board Addons.

    69 parts
  • 2 layers68.6 × 53.3 mmArduino Uno SMD, the printed circuit board in 3D

    Arduino Uno SMD

    kaustubh850/ARMduino-UNO-PY32

    52 parts
  • 4 layers124 × 89.4 mmATMega 328 PU Board, the printed circuit board in 3D

    ATMega 328 PU Board

    olexsu/ATmega328_control_Board

    Custom ATmega328 embedded control board designed in KiCad with Arduino firmware.

    140 parts
  • 2 layers70 × 50.5 mmArduino Uno, the printed circuit board in 3D

    Arduino Uno

    Tetteh-EkuPrince/KicadProject_ArduinoUno

    46 parts
  • 4 layers48.3 × 17.8 mmArduino Micro, the printed circuit board in 3D

    Arduino Micro

    sabogalc/KiCad-Arduino-Boards

    A collection of Arduino boards recreated from scratch in KiCad. Legacy USB connectors have been replaced with USB-C where applicable.

    48 parts95WTFPL