

Brain board
A MIDI sequencer
- Size
- 100 × 100 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 74
- Nets
- 63
- Pads
- 274
- Tracks, vias
- 804, 0
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 14 Feb 2019
- Updated
- 15 May 2023
Overview
Brain board 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 74 parts on 63 nets, routed with 804 tracks and 0 vias.
It is built around the ATMEGA328-PU, SN74AHC125D and SN74AHCT125N, with the 74HC14 among its other parts. Its parts include 33 resistors, 11 capacitors, 9 connectors, 7 ICs and 5 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
4ATMEGA328-PU
PDIP-28-40℃~+85℃ 1.8V~5.5V 10bit 1KB 20MHz 23 2KB 32KB 8 Bit AVR Built-in FLASH PDIP-28 Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)SN74AHC125D
SOIC-14-40℃~+125℃ 1 2V~5.5V 4 40uA 5.3ns@5V,50pF 74AHC 8mA 8mA Tri-State Unidirectional SOIC-14 Buffers, Drivers, Receivers, Transceivers ROHSTexas InstrumentsBuffers, Drivers, Receivers, TransceiversSN74AHCT125N
DIP-14-40℃~+85℃ 1 20uA 4 4.5V~5.5V 74AHCT 8mA 8mA Tri-State Unidirectional DIP-14 Buffers, Drivers, Receivers, Transceivers ROHSTexas InstrumentsBuffers, Drivers, Receivers, Transceivers74HC14
SOP-14-40℃~+85℃ 1.9V、3.98V、4.4V、5.48V、5.9V 100mV、260mV、260mV 20uA 25ns@4.5V,50pF 2V~6V 6 74HC Noise suppression function Schmitt trigger SOP-14 Inverters ROHSJSMSEMIInverters
README
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
74| Qty | Value | Footprint | References |
|---|---|---|---|
| 13 | 33 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R12, R13, R14, R15, R16, R25, R26, R28, R29, R30, R31, R32, R33 |
| 10 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R4, R7, R10, R11, R17, R18, R19, R20, R24, R27 |
| 6 | 100nF | Capacitor_THT:C_Disc_D3.0mm_W2.0mm_P2.50mm | C1, C4, C5, C6, C9, C10 |
| 6 | 220 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2, R5, R6, R8, R9 |
| 5 | 1N4148 | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D1, D2, D3, D4, D5 |
| 4 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R3, R21, R22, R23 |
| 4 | MountingHole | MountingHole:MountingHole_3mm | H1, H2, H3, H4 |
| 3 | SW_Push | beat707:B3F-through-hole | SW2, SW3, SW4 |
| 2 | 1nF | Capacitor_THT:C_Disc_D8.0mm_W5.0mm_P7.50mm | C2, C3 |
| 2 | 22pF | Capacitor_THT:C_Disc_D3.0mm_W2.0mm_P2.50mm | C7, C8 |
| 1 | 10uF | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C11 |
| 1 | 20 MHz | Crystal:Crystal_HC49-U_Vertical | Y1 |
| 1 | 6N138 | Package_DIP:DIP-8_W7.62mm | U1 |
| 1 | 74HC14 | Package_DIP:DIP-14_W7.62mm | U2 |
| 1 | ATmega328-PU | Package_DIP:DIP-28_W7.62mm | U3 |
| 1 | Conn_01x02_Male | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J9 |
| 1 | Conn_01x07 | Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_Vertical | J6 |
| 1 | ISP | Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical | J8 |
| 1 | LP2950CZ-3.3G | Package_TO_SOT_THT:TO-92_Inline | U6 |
| 1 | MB85RS2MT | Package_DIP:DIP-8_W7.62mm | U5 |
| 1 | MIDI-in | beat707:din-5 | J3 |
| 1 | MIDI-out | beat707:din-5 | J4 |
| 1 | Rotary_Encoder_Switch | Rotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm | SW1 |
| 1 | SN74AHC125 | Package_DIP:DIP-14_W7.62mm | U4 |
| 1 | SN74AHCT125 | Package_DIP:DIP-14_W7.62mm | U7 |
| 1 | USB_B | Connector_USB:USB_B_OST_USB-B1HSxx_Horizontal | J5 |
| 1 | click-out | beat707:trs | J2 |
| 1 | footswitch | beat707:trs | J1 |
| 1 | free IO | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | J7 |
More from FrankBuss/beat707
2- 2 layers276.9 × 142.2 mm

- 2 layers100 × 100 mm

Similar boards
- 2 layers254 × 160 mm

- 2 layers49.4 × 35.8 mm

WS2812Controller
klein0r/pcb-ws2812-wifi-controller
WiFi Controller for WS2812 LED Stripes
22 parts82MIT - 2 layers40 × 108 mm

- 2 layers26.9 × 73.9 mm

WS2812ControllerEthernet
klein0r/pcb-ws2812-ethernet-controller
Ethernet Controller for WS2812 LED Stripes
12 parts38MIT - 2 layers49.5 × 35.6 mm

WLED Controller
f2daz/WLED_PCB_D1_Mini
PCB for WLED with WeMos D1 Mini and SN74AHCT125N level shifter
12 parts34MIT - 2 layers65 × 70 mm

Openradfan
andrekuehne/openradfan
An ESPHome-driven controller for radiator fans to improve heat output
49 parts29MIT - 2 layers

Foxie clock nano
afoxinsocks/foxie-clock
A Nixie-like, retro, RGB LED, Arduino-powered clock
133 parts24GPL-3.0 - 2 layers120 × 90 mm

Questions
How big is the Brain board PCB?
It measures 100 × 100 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Brain board use?
74 parts, built around the ATMEGA328-PU, SN74AHC125D, SN74AHCT125N and 74HC14. 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 Brain board KiCad files?
From the FrankBuss/beat707 repository on GitHub, at the commit this page was made from: the board is kicad/beat707/brain-board.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Brain board design in my own project?
Its repository states no licence, so its author keeps all rights: ask FrankBuss before reusing the design.