

Peripheral board
Homebrew 68040 palmtop computer
- Size
- 165 × 100 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 248
- Nets
- 191
- Pads
- 851
- Tracks, vias
- 2,153, 90
- Pours
- 11
- Routed
- Yes
- KiCad
- KiCad 5 (file 20170123)
- Created
- 14 Nov 2014
- Updated
- 8 Jul 2023
Overview
Peripheral board is an open-source printed circuit board by trollectronics, from the trollectronics/trollbook repository on GitHub. It is a 2-layer board of 165 × 100 mm with 248 parts on 191 nets, routed with 2,153 tracks and 90 vias.
It is built around the ATTINY48-AU, LM386 and AP1509-SG, with the 74HC00D, BSS84LT1G and FCR1295G among its other parts. Its parts include 73 diodes, 36 capacitors, 36 resistors, 32 switches and 9 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
6ATTINY48-AU
TQFP-32(7x7)-40℃~+85℃ 1.8V~5.5V 10bit 12MHz 256Byte 28 4KB 64Byte 8 Bit AVR Built-in FLASH TQFP-32(7x7) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)LM386
SOP-80.2% 0℃~+70℃ 4V~12V 4mA 50dB 700mWx1@8Ω Analog voltage gain SOP-8 Audio Amplifiers ROHSGcoreAudio Power OpAmpsAP1509-SG
SOIC-8-150mil-40℃~+125℃ 1 150kHz 150uA 2A 3.3V 4.5V~22V Buck Buck Built-in Fixed No SOIC-8-150mil DC-DC Converters ROHSDiodes IncorporatedDC-DC Converters74HC00D
SOP-14-40℃~+125℃ 1.5V、3.15V、4.2V 1.9V、3.7V、5.9V 100mV、400mV、400mV 2 2V~6V 4 40uA 5.2mA 5.2mA 500mV~1.8V 74HC Series 7ns@6V,50pF NAND Gate SOIC-14 Logic Gates ROHSNexperiaLogic GatesBSS84LT1G
SOT-23-55℃~+150℃ 1 P-Channel 10Ω@5V 130mA 17pF 2.2nC@10V 225mW 2V 36pF 50V 6.5pF P-Channel SOT-23 MOSFETs ROHSonsemiMOSFETsFCR1295G
-Audio Connectors (Headphones)Cliff
README
README.mdTrollbook
Homebrew 68040 palmtop computer (http://h4xxel.org/electronics/trollbook/)
This is a work-in-progress palmtop (ish) sized clamshell laptop that we've been working on for a while.
In its current state, it boots up into a BIOS menu capable of doing a few simple things like browsing a FAT formatted SD-card, flashing its bootrom from SD-card and excuting programs from SD-card. One of the included demo programs can play .MOD music files from SD card.
The entire setup uses about 4.3 Watts while running, including display and backlight.
The hardware specs as of now can be summed up as following:
- Motorola 68040FE33V CPU, running at 33 MHz
- Altera Flex10KA FPGA for glue logic and peripherals (video, uart, spi, audio etc.)
- Atmel attiny48 for scanning keyboard matrix and mouse, interfacing to I2C peripherals
- 512 kB of SRAM (used for frame buffer, sound buffer and stage 2 BIOS code)
- 64 MB of SDRAM
- 800x480 resolution 7" TFT display, driven at 256 colors (from a 16-bpp palette)
- Stereo audio DAC, 8 bit/channel, samplerate of 48 kHz
- SD card interface over SPI
- On-board SPI Flash ROM (512 kB) for BIOS code
- 7.4 V, 2.2 Ah battery pack with custom balancing circuitry (which sucks)
The (blue) mainboard is a 10x10 cm 4-layer board, designed by us and manufactured by a Chinese PCB fab. The larger upper board is a CNC milled peripheral board sporting the keyboard, mouse, IO ports and power supplies. We desperately need to make a proper case...
This repository
This repository contains the following:
- Hardware schematics and layout (kicad)
- Current Rev 2 motherboard
- Peripheral board
- VHDL code for the glue logic/peripheral controller FPGA
- Source code
- Stage 1 boot, resides in a small ROM block in the FPGA
- Stage 2 bios, resides in the large SPI rom
- Demo code for feature testing/demonstration
Companion projects
The following projects have been developed for the system:
- The m68k-emu system emulator (https://github.com/slaeshjag/m68k-emu)
- The trollos operating system (https://github.com/h4xxel/trollos)
Parts
248| Qty | Value | Footprint | References |
|---|---|---|---|
| 68 | 1N4148 | Diodes_SMD:D_MiniMELF_Standard | D2001, D2002, D2003, D2004, D2005, D2006, D2007, D2008, D2009, D2010, D2011, D2012, D2013, D2014, D2015, D2016 +52 |
| 8 | 100n | Capacitors_SMD:C_0805 | C1003, C1004, C7001, C7002, C7005, C7012, C8003, C8004 |
| 6 | 10k | Resistors_SMD:R_0805 | R1007, R4001, R4003, R4004, R7004, R7008 |
| 6 | 47k | Resistors_SMD:R_0805 | R1008, R1009, R1010, R4006, R8002, R9001 |
| 4 | 0 | Resistors_SMD:R_1206 | R3001, R3002, R6001, R6002 |
| 4 | 100k | Resistors_SMD:R_0805 | R1005, R7003, R7005, R7007 |
| 4 | R | Resistors_SMD:R_0805 | R1001, R1002, R1003, R1004 |
| 4 | RBE2VA20ATR | Diodes_SMD:D_TUMD2 | D4001, D4002, D4005, D4008 |
| 3 | 10u | Capacitors_SMD:C_1206 | C4003, C4009, C9001 |
| 3 | 1u | Capacitors_SMD:C_0805 | C7006, C7013, C8002 |
| 3 | 220u | Capacitors_SMD:c_elec_8x6.7 | C7004, C7008, C7015 |
| 2 | 10 | Resistors_SMD:R_0805 | R7006, R7009 |
| 2 | 100u | Capacitors_SMD:c_elec_6.3x5.8 | C4010, C4011 |
| 2 | 100u | Capacitors_Tantalum_SMD:TantalC_SizeD_EIA-7343_Reflow | C4004, C4007 |
| 2 | 10u | Capacitors_SMD:c_elec_6.3x5.8 | C7003, C7011 |
| 2 | 1k | Resistors_SMD:R_0805 | R1006, R8003 |
| 2 | 1n | Capacitors_SMD:C_0805 | C7009, C7016 |
| 2 | 1u | Capacitors_SMD:C_1206 | C4001, C4002 |
| 2 | 22p | Capacitors_SMD:C_0603 | C5001, C5002 |
| 2 | 4017 | Housings_SOIC:SOIC-16_3.9x9.9mm_Pitch1.27mm | U2001, U2002 |
| 2 | 47n | Capacitors_SMD:C_0805 | C7010, C7017 |
| 2 | 8u2 | Choke_SMD:Choke_SMD_6.3x6.3_H3 | L4001, L4002 |
| 2 | C | Capacitors_SMD:C_0805 | C1001, C1002 |
| 2 | LM386 | Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm | U7001, U7002 |
| 2 | MCP4011 | Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm | U7003, U7004 |
| 2 | SPACE | lib:SMD-TACT-5.2x5.2x2mm | SW2065, SW2069 |
| 1 | ' | lib:SMD-TACT-5.2x5.2x2mm | SW2046 |
| 1 | + | lib:SMD-TACT-5.2x5.2x2mm | SW2011 |
| 1 | , | lib:SMD-TACT-5.2x5.2x2mm | SW2060 |
| 1 | - | lib:SMD-TACT-5.2x5.2x2mm | SW2062 |
| 1 | . | lib:SMD-TACT-5.2x5.2x2mm | SW2061 |
| 1 | 0 | lib:SMD-TACT-5.2x5.2x2mm | SW2010 |
| 1 | 0R | Resistors_SMD:R_1206 | R2001 |
| 1 | 0R05 | Resistors_SMD:R_1812 | R4005 |
| 1 | 1 | lib:SMD-TACT-5.2x5.2x2mm | SW2001 |
| 1 | 10056847-XY1LF | lib:10056847-XY1LF | CONN9001 |
| 1 | 10k | Resistors_SMD:R_Cat16-4 | RP2001 |
| 1 | 120p | Capacitors_SMD:C_0805 | C4008 |
| 1 | 12k | Resistors_SMD:R_0805 | R4013 |
| 1 | 1n4148 | Diodes_SMD:D_MiniMELF_Standard | D4006 |
| 1 | 2 | lib:SMD-TACT-5.2x5.2x2mm | SW2002 |
| 1 | 2.2u | Capacitors_SMD:C_1206 | C4006 |
| 1 | 220k | Resistors_SMD:R_0805 | R4012 |
| 1 | 3 | lib:SMD-TACT-5.2x5.2x2mm | SW2003 |
| 1 | 32768 Hz | Crystals:Crystal_Watch | Y5001 |
| 1 | 330k | Resistors_SMD:R_0805 | R4002 |
| 1 | 4 | lib:SMD-TACT-5.2x5.2x2mm | SW2004 |
| 1 | 412k | Resistors_SMD:R_0805 | R4009 |
| 1 | 47u | Choke_SMD:Choke_SMD_12x12mm_h6mm | L4003 |
| 1 | 5 | lib:SMD-TACT-5.2x5.2x2mm | SW2005 |
| 1 | 51k | Resistors_SMD:R_0805 | R4008 |
| 1 | 53047-0310 | Connectors_Molex:Connector_Molex_PicoBlade_53047-0410 | J7002 |
| 1 | 53047-0510 | Connectors_Molex:Connector_Molex_PicoBlade_53047-0510 | J4001 |
| 1 | 6 | lib:SMD-TACT-5.2x5.2x2mm | SW2006 |
| 1 | 626k | Resistors_SMD:R_0805 | R4007 |
| 1 | 680n | Capacitors_SMD:C_0805 | C4005 |
| 1 | 7 | lib:SMD-TACT-5.2x5.2x2mm | SW2007 |
| 1 | 74HC00 | Housings_SOIC:SOIC-14_3.9x8.7mm_Pitch1.27mm | U2003 |
| 1 | 8 | lib:SMD-TACT-5.2x5.2x2mm | SW2008 |
| 1 | 9 | lib:SMD-TACT-5.2x5.2x2mm | SW2009 |
| 1 | < | lib:SMD-TACT-5.2x5.2x2mm | SW2032 |
| 1 | A | lib:SMD-TACT-5.2x5.2x2mm | SW2035 |
| 1 | ALT | lib:SMD-TACT-5.2x5.2x2mm | SW2049 |
| 1 | ALT_GR | lib:SMD-TACT-5.2x5.2x2mm | SW2031 |
| 1 | AP1509 | Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm | U4001 |
| 1 | ATTINY48-A | Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm | U1001 |
| 1 | B | lib:SMD-TACT-5.2x5.2x2mm | SW2057 |
| 1 | BARREL_JACK | Connect:JACK_ALIM | CON4001 |
| 1 | BKSP | lib:SMD-TACT-5.2x5.2x2mm | SW2013 |
| 1 | BSS84LT1G | TO_SOT_Packages_SMD:SOT-23 | Q8001 |
| 1 | C | lib:SMD-TACT-5.2x5.2x2mm | SW2055 |
| 1 | CTRL | lib:SMD-TACT-5.2x5.2x2mm | SW2068 |
| 1 | D | lib:SMD-TACT-5.2x5.2x2mm | SW2037 |
| 1 | DOWN | lib:SMD-TACT-5.2x5.2x2mm | SW2050 |
| 1 | E | lib:SMD-TACT-5.2x5.2x2mm | SW2020 |
| 1 | ESC | lib:SMD-TACT-5.2x5.2x2mm | SW2047 |
| 1 | F | lib:SMD-TACT-5.2x5.2x2mm | SW2038 |
| 1 | FCR1295 | lib:FCR1295 | J7001 |
| 1 | FN_L | lib:SMD-TACT-5.2x5.2x2mm | SW2066 |
| 1 | FN_R | lib:SMD-TACT-5.2x5.2x2mm | SW2064 |
The 197 most common of 248 parts.
More from trollectronics/trollbook
3- 4 layers100 × 100 mm

- 2 layers50 × 10 mm

- 2 layers170 × 114 mm

Similar boards
- 2 layers23.4 × 13.7 mm

IG Lipo Battery Guage MB
makhowastaken/iG-LiPo-Battery-Gauge
Modified version of https://github.com/insidegadgets/LiPo-Battery-Gauge
21 parts7GPL-3.0 - 2 layers143 × 74 mm

Lpa
taborlab/LPA-hardware
CAD files and firmware of the LPA, and imager-based calibration script.
81 parts11 - 2 layers158.6 × 117.3 mm

- 4 layers70 × 143 mm

IoBoard
Loic74650/ioBoard
A relay (and more!) board with Ethernet connectivity and MQTT support
206 parts3GPL-3.0 - 2 layers122 × 66 mm

- 2 layers

- 4 layers68.6 × 53.3 mm

- 2 layers60 × 70 mm

20210213 Projects PassiveBalanceBoard
simple-ee/mBMS
This is the modular BMS for use with 8S LiFePO4
97 parts8MIT
Questions
How big is the Peripheral board PCB?
It measures 165 × 100 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Peripheral board use?
248 parts, built around the ATTINY48-AU, LM386, AP1509-SG and 74HC00D. 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 Peripheral board KiCad files?
From the trollectronics/trollbook repository on GitHub, at the commit this page was made from: the board is hw/peripheral-board/peripheral-board.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Peripheral board design in my own project?
Its repository states no licence, so its author keeps all rights: ask trollectronics before reusing the design.