

Tm1638-test
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
1README
README.mdDevelopment 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:

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) :

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:
avrdude -cusbasp -p m328 -B 10 -U lfuse:w:0xff:mThe output should look like this:
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:
usbasp.program.extra_params=-Pusb -B 10Restart 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):

Then select your programmer, for example USBasp:

After this you can program the ATmega328 on the board from the Arduino IDE by clicking on the right arrow.
Parts
80| Qty | Value | Footprint | References |
|---|---|---|---|
| 24 | 1N4148 | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D10, D11, D12, D21, D22, D23, D24, D25, D26, D27, D28, D29, D30, D31, D32, D33 +8 |
| 24 | SW_Push | beat707:B3F-through-hole | SW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +8 |
| 16 | LED | LED_THT:LED_D3.0mm | D1, D2, D3, D4, D5, D6, D7, D8, D13, D14, D15, D16, D17, D18, D19, D20 |
| 10 | 51 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R9, R10, R19, R20, R21, R22, R23, R24, R25, R26 |
| 2 | CA56-12EWA | Display_7Segment:CA56-12EWA | U2, U3 |
| 1 | 100nF | Capacitor_THT:C_Disc_D3.0mm_W2.0mm_P2.50mm | C1 |
| 1 | 10uF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm | C2 |
| 1 | Conn_01x05_Male | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J1 |
| 1 | TM1638 | Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm | U1 |
More from FrankBuss/beat707
2- 2 layers276.9 × 142.2 mm

- 2 layers100 × 100 mm

Similar boards
- 2 layers100 × 100 mm

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 mm

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 mm

- 2 layers450 × 120 mm

- 2 layers54.6 × 89.5 mm

- 2 layers130.4 × 76.6 mm

Gb stream cart
Staacks/gbinterceptor
Capture or stream Game Boy gameplay footage via USB without modifying the Game Boy.
80 parts542 - 2 layers100 × 100 mm

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 mm

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.