Skip to the content
PCBKitNew board
2 layers27.9 × 27.6 mmRadius, the printed circuit board in 3D

A cheap (in quality) and cheap (in dollars) USB comms adapter: 10 pins of SPI/I2C/UART/GPIO.

Size
27.9 × 27.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
20
Pads
76
Tracks, vias
270, 31
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
2 May 2015
Updated
21 Jul 2015

Overview

Radius is an open-source printed circuit board by tcr, from the tcr/radius repository on GitHub. It is a 2-layer board of 27.9 × 27.6 mm with 12 parts on 20 nets, routed with 270 tracks and 31 vias.

It is built around the STM8S003F3P6, CH340G and LD1117. Its parts include 5 capacitors, 3 ICs, 3 connectors and 1 crystal. It belongs with the interfaces and adapters boards and the STM8 boards of this library.

Main components

3

README

README.md

radius

testing

text
make
make flash
make test

If OS X reports contention for your device:

text
sudo kextunload -b com.apple.driver.AppleUSBCardReader
sudo kextunload -b com.apple.iokit.IOUSBMassStorageClass

parts

Designator(s)QuantityDescriptionPart Number
IC11STM8S 8-bit micro (TSSOP-20)STM8S003F3P6
P2110-pin right-angled header, .1" PitchPPTC101LGBN-RC
U11Full speed USB <-> 9-pin Serial (SOP-16)CH340G
U213.3V Regulator (SO-8)LD1117D33CTR
Y1112Mhz CrystalNX3225SA
C110.1 uF (0603)...
C2110 uF (0603)...
C311 μF polarized (0603)...
C4, C5220 pF (0603)...

pin mapping

  • GND
  • 3.3V
  • SCL - PB4
  • SDA - PB5
  • SCK - PC5
  • MISO - PC7
  • MOSI - PC6
  • TXD - PD2
  • RXD - PD0
  • G3 - PD1

USB:

  • TXD - PD6
  • RXD - PD5

docs

Reference manual: http://www.st.com/web/en/resource/technical/document/reference_manual/CD00190271.pdf

CPU reference: http://www.st.com/web/en/resource/technical/document/programming_manual/CD00161709.pdf

Product Datasheet: http://www.st.com/web/en/resource/technical/document/datasheet/DM00024550.pdf

Errata: http://postar.sino-star.com/public/uploads/20120214161049_871.pdf

CH340G

Datasheet: http://www.seeedstudio.com/wiki/images/7/7c/CH340DS1_EN.PDF

tools

https://github.com/vdudouyt/stm8flash

text
brew install sdcc

http://www.colecovision.eu/stm8/128-EVAL%20Dhrystone.shtml

how it works

interrupts are priority-based outputs in 64 byte packets. priority output is real time input of "uniterruptable streams", specifically i2c read (max 920Khz) and uart input (max 18400bps) simultaneously

also note that i2c can stretch clock lines so really it's only uart interrupts

there are many buffers, but this one is mine(d) for its outputting content. all packets block on new input until it's swapped for the outputting. so buffers must clean faster than they collectively are filled for uninterruptable streams (and acks).

output from radius is asap and dumped into its buffers. simple packet id + NACK/ACK acknowledgement byte on the usb line.

ID0 + NACK/ACK ID1 + LEN + <=64 byte packet

input? it is 64 byte packets. wait for an nack, then resend, or continue

LEN + <=64 byte packet

input is synced at start by waiting for an 'R' on both sides

packets are USB-style repeated until a 0 length packet or < 64 length packet is received

license

MIT/ASL2

Parts

12
QtyValueFootprintReferences
220 pFCapacitors_SMD:C_0603_HandSolderingC4, C5
11 μFCapacitors_SMD:C_0603_HandSolderingC3
110 µFCapacitors_SMD:C_0603_HandSolderingC1
1100 nFCapacitors_SMD:C_0603_HandSolderingC2
1CH340GSMD_Packages:SO-16-NU1
1CONN_01X04usbpcb:USB-A-PCBP1
1CONN_01X04radius:RADIUS-CONN-2MM-M-1x4P3
1CONN_01X10Socket_Strips:Socket_Strip_Angled_1x10P2
1CrystalCrystals:Crystal_SMD_0603_4PadsY1
1LD1117Power_Integrations:SO-8U2
1STM8S003F3PHousings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mmIC1

Questions

How big is the Radius PCB?

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

What parts does the Radius use?

12 parts, built around the STM8S003F3P6, CH340G and LD1117. 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 Radius KiCad files?

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

Can I use the Radius design in my own project?

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

Similar boards

  • 2 layers156.8 × 67.3 mmYM2151 STM32 VGM, the printed circuit board in 3D

    YM2151 STM32 VGM

    AidanHockey5/YM2151_VGM_STM32

    A hardware arcade video game music player based on the STM32 platform driving a YM2151

    52 parts81AGPL-3.0
  • 2 layers87 × 71 mmSocket, the printed circuit board in 3D

    Socket

    eddyem/STM8_samples

    Some code samples and ready projects based on STM8 (deprecated)

    89 parts80
  • 2 layers42 × 24 mmTeco, the printed circuit board in 3D

    Teco

    Kreyl/TecoStLink

    ST-Link V2.1 clone

    56 parts5
  • 4 layers40 × 47 mmMaster, the printed circuit board in 3D

    Master

    Tinkerforge/master-brick

    Basis to build stacks and has 4 Bricklet ports

    149 parts5
  • 4 layers40 × 40 mmImu, the printed circuit board in 3D

    Imu

    Tinkerforge/imu-v2-brick

    Full fledged AHRS with 9 degrees of freedom

    108 parts4
  • 2 layers80 × 49 mmObd2, the printed circuit board in 3D

    Obd2

    kevinkrieger/CAN

    CAN repository containing my CAN project, kicad files, firmware, datasheets, references, etc.

    64 parts3
  • 2 layers60 × 50 mmTheia, the printed circuit board in 3D

    Theia

    loldavid6/Theia

    An easy, cheap and open source way to add IoT to a light switch.

    34 parts2CC-BY-SA-4.0
  • 2 layers49.5 × 56.4 mmToadstool Mega328, the printed circuit board in 3D

    Toadstool Mega328

    CrashBangProto/Toadstool-Mega328

    The Toadstool family is made up of breadboard-friendly prototyping boards that house a microcontroller, and modules called Caps that connect using a standard header.

    28 parts1GPL-3.0