Skip to the content
PCBKitNew board
2 layers91.4 × 53.3 mmClock, the printed circuit board in 3D

Hobby board implemented in Rust

Size
91.4 × 53.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
53
Nets
60
Pads
192
Tracks, vias
411, 34
Pours
2
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
22 Jun 2023
Updated
14 Jul 2023

Overview

Clock is an open-source printed circuit board by shimo8810, from the shimo8810/rust-board repository on GitHub, published under the MIT licence. It is a 2-layer board of 91.4 × 53.3 mm with 53 parts on 60 nets, routed with 411 tracks and 34 vias.

It is built around the ATTINY2313-20PU, 74HC165D and 74HC595, with the 2SC1815 among its other parts. Its parts include 27 resistors, 8 switches, 5 capacitors, 5 transistors and 3 ICs. It belongs with the lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

4

README

README.md

Rust Board

Purpose

This project is intended for my personal study and information sharing. The main objectives are as follows:

Practicing Electronics Circuit

Being a complete novice in circuit design, I created a simple hobby board for the purpose of studying circuit and PCB design.

Gathering Information on Embedded Rust

The knowledge of developing embedded systems using Rust are scattered, so I wanted to compile information for myself. While there is a wealth of development information available for well-known boards, there is limited knowledge on directly controlling microcontrollers.

Electronics Circuit

PCB 3D

PCB

schematic

FirmWare

connection

In this project, I use FT232RL to write firmware to this board. The connection between FT232RL and the clock's ISP pins should be made according to the table below. Please note that the current version has a design flaw in the ISP pin layout, which deviates from the standard ISP pin configuration. It has become confusing and inconvenient due to this misleading and unfortunate design. Therefore, caution should be exercised.

FT232RLPIN
CTSISP_MISO
DCDISP_MOSI
DSRISP_SCK
RIISP_RESET
VCC5V
GNDGND

writing

I use avrdude for writing the firmware. Writing can be performed with the following command. When writing for the first time, it is necessary to configure the fuse settings for attiny2313. Since we are running attiny2313 with an external oscillator (16MHz) and no prescaler, please write with the following settings.

sh
avrdude -c diecimila \
        -p t2313 \
        -U flash:w:./target/avr-attiny2313/release/blink-attiny2313.elf:e \
        -U lfuse:w:0xff:m

Parts

53
QtyValueFootprintReferences
91kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR17, R18, R19, R20, R21, R22, R23, R24, R25
8330Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3, R4, R5, R6, R7, R8
8SW_PushButton_Switch_THT:SW_PUSH_6mm_H5mmSW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9
510kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR9, R10, R11, R12, R26
52SC1815Package_TO_SOT_THT:TO-92_InlineQ1, Q2, Q3, Q4, Q5
53.9kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR13, R14, R15, R16, R27
30.1uCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC1, C4, C5
222pCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC2, C3
116 MHzCrystal:Crystal_HC18-U_VerticalY1
174HC165Package_DIP:DIP-16_W7.62mmU3
174HC595Package_DIP:DIP-16_W7.62mmU2
1ATtiny2313-20PPackage_DIP:DIP-20_W7.62mmU1
1Barrel_Jack_SwitchConnector_BarrelJack:BarrelJack_HorizontalJ2
1Conn_02x03_Counter_ClockwiseConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ1
1OSL40391-LRAclock:OSL40391-LRAD1
1SpeakerBuzzer_Beeper:Buzzer_TDK_PS1240P02BT_D12.2mm_H6.5mmLS1

Questions

How big is the Clock PCB?

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

What parts does the Clock use?

53 parts, built around the ATTINY2313-20PU, 74HC165D, 74HC595 and 2SC1815. 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 Clock KiCad files?

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

Can I use the Clock design in my own project?

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

Similar boards

  • 2 layers99.7 × 99.7 mmRS 232, the printed circuit board in 3D

    RS 232

    cherry-takuan/nlp

    NLP(Nand Logic Processor)のリポジトリ

    61 parts45CC-BY-SA-4.0
  • 2 layers100 × 88.9 mmGen2, the printed circuit board in 3D

    Gen2

    Alignof/Juggernaut

    疑似時限爆弾解除競技

    41 parts10MIT
  • 2 layers225.1 × 167.8 mm6502 computer, the printed circuit board in 3D

    6502 computer

    jp0409hlh/6502_computer

    A computer based on Ben Eater's 6502 series

    81 parts7
  • 2 layers68.7 × 61.7 mmFT232H EPROM WRITER2, the printed circuit board in 3D

    FT232H EPROM WRITER2

    RGBA-CRT/FT232H-EPROM-Prog

    USB EPROM programmer by FTDI-FT232H

    30 parts5MIT
  • 2 layers110 × 70 mmMaincircuit, the printed circuit board in 3D

    Maincircuit

    kbcola/linetracer_D4_8

    KCCT-D4 ライントレーサー実験

    81 parts
  • 2 layers181 × 110 mmTouch sensor main, the printed circuit board in 3D

    Touch sensor main

    rsdlab/SOTA_RakuRakuGuitar

    RakuRakuGuitar for SSIH2022 by team SOTA

    89 parts
  • 2 layers88 × 102 mmFakedeck gerber, the printed circuit board in 3D

    Fakedeck gerber

    syuchan1005/Fakedeck

    Using raspberry pi pico as a stream deck

    14 parts9
  • 2 layers174 × 80 mmKeyb, the printed circuit board in 3D

    Keyb

    coprolitebbs/ps2-keyboard

    Самодельная клавиатура с интерфейсом ps/2. Собрана на Attiny2313A и сдвиговых регистрах 74HC595 и 74HC165.

    115 parts7GPL-3.0