Skip to the content
2 layers100 × 100 mmTm1638-test, the printed circuit board in 3D

A MIDI sequencer

Size
100 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
80
Nets
60
Pads
305
Tracks, vias
2,279, 5
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
14 Feb 2019
Updated
15 May 2023

Overview

Tm1638-test is an open-source printed circuit board by FrankBuss, from the FrankBuss/beat707 repository on GitHub. It is a 2-layer board of 100 × 100 mm with 80 parts on 60 nets, routed with 2,279 tracks and 5 vias.

It is built around the TM1638. Its parts include 40 diodes, 24 switches, 10 resistors, 3 ICs and 2 capacitors.

Main components

1

README

README.md

Development environment

Programmer and debug connection

For programming you can use an USBasp. The red wire of the USBasp programmer needs to be connected to the pin 1 location:

Programmer

For debugging, there is the jumper J5 near the MIDI connector, to connect a 5V UART receiver. Connect the top pin to GND (black wire in the image) and the bottom pin to the UART RX input (grey wire) :

debug pin

Fuse programming

The Arduino IDE doesn't flash the ATmega fuses, so initially you need to do this from the command line with avrdude like this:

text
avrdude -cusbasp -p m328 -B 10 -U lfuse:w:0xff:m

The output should look like this:

text
avrdude: set SCK frequency to 93750 Hz
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9514 (probably m328)
avrdude: reading input file "0xff"
avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xff:
avrdude: load data lfuse data from input file 0xff:
avrdude: input file 0xff contains 1 bytes
avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of lfuse verified

avrdude: safemode: Fuses OK (E:FF, H:D9, L:FF)

avrdude done.  Thank you.

Arduino IDE setup

First install the Arduino IDE. It was tested with Arduino 1.8.13. Then add the URL https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json to "File->Preferences->Settings->Additional Board Manager URLs". Then you can install the new board with "Tools->Board->Boards Manager". Install "MiniCore by MCUdude", tested with version 2.1.0.

For programming you need an USBasp. You need to reduce the clock speed in the file /home/username/bin/arduino-1.8.9/hardware/arduino/avr/programmers.txt, where username is your username (on Linux, on Windows and Mac it might be different, see here). Search for the usbasp.program.extra_params line and add the parameter -B 10. The full line now looks like this:

text
usbasp.program.extra_params=-Pusb -B 10

Restart the Arduino IDE after changing it.

After restart, select the new board: Tools->Board->MiniCore->ATmega328. For flashing the firmware, configure the following settings (Board, Clock, Variant and Bootloader needs to be changed):

Arduino settings

Then select your programmer, for example USBasp:

Prorgammer settings

After this you can program the ATmega328 on the board from the Arduino IDE by clicking on the right arrow.

Parts

80
QtyValueFootprintReferences
241N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD10, D11, D12, D21, D22, D23, D24, D25, D26, D27, D28, D29, D30, D31, D32, D33 +8
24SW_Pushbeat707:B3F-through-holeSW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +8
16LEDLED_THT:LED_D3.0mmD1, D2, D3, D4, D5, D6, D7, D8, D13, D14, D15, D16, D17, D18, D19, D20
1051Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR9, R10, R19, R20, R21, R22, R23, R24, R25, R26
2CA56-12EWADisplay_7Segment:CA56-12EWAU2, U3
1100nFCapacitor_THT:C_Disc_D3.0mm_W2.0mm_P2.50mmC1
110uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC2
1Conn_01x05_MaleConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ1
1TM1638Package_SO:SOIC-28W_7.5x17.9mm_P1.27mmU1

More from FrankBuss/beat707

2
  • 2 layers276.9 × 142.2 mmBeat707, the printed circuit board in 3D

    Beat707

    FrankBuss/beat707

    A MIDI sequencer

    276 parts11
  • 2 layers100 × 100 mmBrain board, the printed circuit board in 3D

    Brain board

    FrankBuss/beat707

    A MIDI sequencer

    74 parts11

Similar boards

  • 2 layers100 × 100 mmMcu, the printed circuit board in 3D

    Mcu

    cs2dsb/coffee_assistant

    Free and open source software distributed under the terms of both the [MIT License][lm] and the [Apache License 2.0][la].

    168 parts10Apache-2.0
  • 2 layers76.2 × 132.3 mmStm32 calc, the printed circuit board in 3D

    Stm32 calc

    georgsnarbuts/kalkulators

    A mechanical-key calculator that also works as a numpad, designed and sold as a kit.

    85 parts
  • 2 layers170 × 45 mmRadio panel, the printed circuit board in 3D

    Radio panel

    jaxsonpd/trimware-hw

    A radio panel for use in flight simulators

    28 parts
  • 2 layers450 × 120 mmTraintracker, the printed circuit board in 3D

    Traintracker

    nik0sc/mrtracker-board-dev_v1

    MRTracker PCB design

    354 parts
  • 2 layers54.6 × 89.5 mmPicoRX, the printed circuit board in 3D

    PicoRX

    dawsonjon/PicoRX

    Build a SDR SW/MW/LW Receiver with a Raspberry Pi Pico

    80 parts556
  • 2 layers130.4 × 76.6 mmGb stream cart, the printed circuit board in 3D

    Gb stream cart

    Staacks/gbinterceptor

    Capture or stream Game Boy gameplay footage via USB without modifying the Game Boy.

    80 parts542
  • 2 layers100 × 100 mmEleLab v2 Bus100, the printed circuit board in 3D

    EleLab v2 Bus100

    Chrismettal/EleLab_v2

    Cheap DIY lab system for hobbyists and the tinkering folk

    80 parts531GPL-3.0
  • 2 layers59.6 × 109.5 mmKivu12, the printed circuit board in 3D

    Kivu12

    ohmtech-rdi/eurorack-blocks

    Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

    80 parts410

Questions

How big is the Tm1638-test PCB?

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

What parts does the Tm1638-test use?

80 parts, built around the TM1638. 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 Tm1638-test KiCad files?

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

Can I use the Tm1638-test design in my own project?

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