Skip to the content
2 layers165 × 100 mmPeripheral board, the printed circuit board in 3D

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

6

README

README.md

Trollbook

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:

Parts

248
QtyValueFootprintReferences
681N4148Diodes_SMD:D_MiniMELF_StandardD2001, D2002, D2003, D2004, D2005, D2006, D2007, D2008, D2009, D2010, D2011, D2012, D2013, D2014, D2015, D2016 +52
8100nCapacitors_SMD:C_0805C1003, C1004, C7001, C7002, C7005, C7012, C8003, C8004
610kResistors_SMD:R_0805R1007, R4001, R4003, R4004, R7004, R7008
647kResistors_SMD:R_0805R1008, R1009, R1010, R4006, R8002, R9001
40Resistors_SMD:R_1206R3001, R3002, R6001, R6002
4100kResistors_SMD:R_0805R1005, R7003, R7005, R7007
4RResistors_SMD:R_0805R1001, R1002, R1003, R1004
4RBE2VA20ATRDiodes_SMD:D_TUMD2D4001, D4002, D4005, D4008
310uCapacitors_SMD:C_1206C4003, C4009, C9001
31uCapacitors_SMD:C_0805C7006, C7013, C8002
3220uCapacitors_SMD:c_elec_8x6.7C7004, C7008, C7015
210Resistors_SMD:R_0805R7006, R7009
2100uCapacitors_SMD:c_elec_6.3x5.8C4010, C4011
2100uCapacitors_Tantalum_SMD:TantalC_SizeD_EIA-7343_ReflowC4004, C4007
210uCapacitors_SMD:c_elec_6.3x5.8C7003, C7011
21kResistors_SMD:R_0805R1006, R8003
21nCapacitors_SMD:C_0805C7009, C7016
21uCapacitors_SMD:C_1206C4001, C4002
222pCapacitors_SMD:C_0603C5001, C5002
24017Housings_SOIC:SOIC-16_3.9x9.9mm_Pitch1.27mmU2001, U2002
247nCapacitors_SMD:C_0805C7010, C7017
28u2Choke_SMD:Choke_SMD_6.3x6.3_H3L4001, L4002
2CCapacitors_SMD:C_0805C1001, C1002
2LM386Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mmU7001, U7002
2MCP4011Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mmU7003, U7004
2SPACElib:SMD-TACT-5.2x5.2x2mmSW2065, SW2069
1'lib:SMD-TACT-5.2x5.2x2mmSW2046
1+lib:SMD-TACT-5.2x5.2x2mmSW2011
1,lib:SMD-TACT-5.2x5.2x2mmSW2060
1-lib:SMD-TACT-5.2x5.2x2mmSW2062
1.lib:SMD-TACT-5.2x5.2x2mmSW2061
10lib:SMD-TACT-5.2x5.2x2mmSW2010
10RResistors_SMD:R_1206R2001
10R05Resistors_SMD:R_1812R4005
11lib:SMD-TACT-5.2x5.2x2mmSW2001
110056847-XY1LFlib:10056847-XY1LFCONN9001
110kResistors_SMD:R_Cat16-4RP2001
1120pCapacitors_SMD:C_0805C4008
112kResistors_SMD:R_0805R4013
11n4148Diodes_SMD:D_MiniMELF_StandardD4006
12lib:SMD-TACT-5.2x5.2x2mmSW2002
12.2uCapacitors_SMD:C_1206C4006
1220kResistors_SMD:R_0805R4012
13lib:SMD-TACT-5.2x5.2x2mmSW2003
132768 HzCrystals:Crystal_WatchY5001
1330kResistors_SMD:R_0805R4002
14lib:SMD-TACT-5.2x5.2x2mmSW2004
1412kResistors_SMD:R_0805R4009
147uChoke_SMD:Choke_SMD_12x12mm_h6mmL4003
15lib:SMD-TACT-5.2x5.2x2mmSW2005
151kResistors_SMD:R_0805R4008
153047-0310Connectors_Molex:Connector_Molex_PicoBlade_53047-0410J7002
153047-0510Connectors_Molex:Connector_Molex_PicoBlade_53047-0510J4001
16lib:SMD-TACT-5.2x5.2x2mmSW2006
1626kResistors_SMD:R_0805R4007
1680nCapacitors_SMD:C_0805C4005
17lib:SMD-TACT-5.2x5.2x2mmSW2007
174HC00Housings_SOIC:SOIC-14_3.9x8.7mm_Pitch1.27mmU2003
18lib:SMD-TACT-5.2x5.2x2mmSW2008
19lib:SMD-TACT-5.2x5.2x2mmSW2009
1<lib:SMD-TACT-5.2x5.2x2mmSW2032
1Alib:SMD-TACT-5.2x5.2x2mmSW2035
1ALTlib:SMD-TACT-5.2x5.2x2mmSW2049
1ALT_GRlib:SMD-TACT-5.2x5.2x2mmSW2031
1AP1509Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mmU4001
1ATTINY48-AHousings_QFP:TQFP-32_7x7mm_Pitch0.8mmU1001
1Blib:SMD-TACT-5.2x5.2x2mmSW2057
1BARREL_JACKConnect:JACK_ALIMCON4001
1BKSPlib:SMD-TACT-5.2x5.2x2mmSW2013
1BSS84LT1GTO_SOT_Packages_SMD:SOT-23Q8001
1Clib:SMD-TACT-5.2x5.2x2mmSW2055
1CTRLlib:SMD-TACT-5.2x5.2x2mmSW2068
1Dlib:SMD-TACT-5.2x5.2x2mmSW2037
1DOWNlib:SMD-TACT-5.2x5.2x2mmSW2050
1Elib:SMD-TACT-5.2x5.2x2mmSW2020
1ESClib:SMD-TACT-5.2x5.2x2mmSW2047
1Flib:SMD-TACT-5.2x5.2x2mmSW2038
1FCR1295lib:FCR1295J7001
1FN_Llib:SMD-TACT-5.2x5.2x2mmSW2066
1FN_Rlib:SMD-TACT-5.2x5.2x2mmSW2064

The 197 most common of 248 parts.

More from trollectronics/trollbook

3
  • 4 layers100 × 100 mmTrollbook rev2, the printed circuit board in 3D

    Trollbook rev2

    trollectronics/trollbook

    Homebrew 68040 palmtop computer

    152 parts22
  • 2 layers50 × 10 mmBattery, the printed circuit board in 3D

    Battery

    trollectronics/trollbook

    Homebrew 68040 palmtop computer

    20 parts22
  • 2 layers170 × 114 mmDisplayboard, the printed circuit board in 3D

    Displayboard

    trollectronics/trollbook

    Homebrew 68040 palmtop computer

    7 parts22

Similar boards

  • 2 layers23.4 × 13.7 mmIG Lipo Battery Guage MB, the printed circuit board in 3D

    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 mmLpa, the printed circuit board in 3D

    Lpa

    taborlab/LPA-hardware

    CAD files and firmware of the LPA, and imager-based calibration script.

    81 parts11
  • 2 layers158.6 × 117.3 mmEnterpriseDCBadge - Copy, the printed circuit board in 3D

    EnterpriseDCBadge - Copy

    seeigecannon/DC27EnterpriseBadge

    Enterprise Badge for DC27

    39 parts4Unlicense
  • 4 layers70 × 143 mmIoBoard, the printed circuit board in 3D

    IoBoard

    Loic74650/ioBoard

    A relay (and more!) board with Ethernet connectivity and MQTT support

    206 parts3GPL-3.0
  • 2 layers122 × 66 mmDartmouth, the printed circuit board in 3D

    Dartmouth

    LakeMaps/Dartmouth

    This is where the PCBs go

    36 parts1ISC
  • 2 layersControl, the printed circuit board in 3D

    Control

    pbrook/10lol

    10mm lol board

    49 parts
  • 4 layers68.6 × 53.3 mmDsi shield, the printed circuit board in 3D

    Dsi shield

    twlostow/dsi-shield

    Arduino MIPI DSI Shield

    224 parts524LGPL-3.0

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.