Skip to the content
4 layers100 × 100 mmTrollbook rev2, the printed circuit board in 3D

Homebrew 68040 palmtop computer

Size
100 × 100 mm
Copper layers
4
Thickness
1.6 mm
Parts
152
Nets
258
Pads
1,128
Tracks, vias
3,405, 413
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
14 Nov 2014
Updated
8 Jul 2023

Overview

Trollbook rev2 is an open-source printed circuit board by trollectronics, from the trollectronics/trollbook repository on GitHub. It is a 4-layer board of 100 × 100 mm with 152 parts on 258 nets, routed with 3,405 tracks and 413 vias.

It is built around the MCP4902-E/P, S25FL204K0TMFI010 and 74LVC138AD, with the ADA4851-4YRU, 2N7002E and DMP3030SN-7-VB among its other parts. Its parts include 72 capacitors, 36 resistors, 12 ICs, 11 connectors and 5 transistors. It belongs with the FPGA and CPLD 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

152
QtyValueFootprintReferences
39100nCapacitors_SMD:C_0805_HandSolderingC10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25 +23
3010nCapacitors_SMD:C_0805_HandSolderingC37, C38, C39, C40, C41, C42, C43, C44, C45, C46, C47, C48, C49, C50, C51, C52 +14
1210kResistors_SMD:R_0805_HandSolderingR2, R3, R4, R5, R6, R12, R16, R17, R18, R34, R35, R36
9RResistors_SMD:R_0805_HandSolderingR1, R10, R11, R15, R29, R30, R31, R32, R33
710kmod:RPACK8_SMDRP5, RP6, RP7, RP8, RP9, RP10, RP11
41kResistors_SMD:R_0805_HandSolderingR7, R8, R9, R28
420kmod:RPACK8_SMDRP1, RP2, RP3, RP4
42N7002EHousings_SOT-23_SOT-143_TSOT-6:SOT-23_HandsolderingQ1, Q2, Q4, Q5
3180kResistors_SMD:R_0805_HandSolderingR21, R22, R24
3560kResistors_SMD:R_0805_HandSolderingR19, R20, R23
375Resistors_SMD:R_0805_HandSolderingR25, R26, R27
2HY57V561620mod:TSOP54U4, U5
1/BRMeasurement_Points:Measurement_Point_Square-SMD-Pad_SmallP1
1/CDISResistors_SMD:R_0805P2
110uCapacitors_SMD:C_1206_HandSolderingC2
112.288 MHztrollbook:OSC-ASFLMBU12
11uCapacitors_SMD:C_1206_HandSolderingC72
120RResistors_SMD:R_0805_HandSolderingR14
1220uCapacitors_SMD:c_elec_6.3x7.7C1
133 MHztrollbook:OSC-VCC1-B3BU11
1470kResistors_SMD:R_0805_HandSolderingR13
174LVC138Housings_SOIC:SOIC-16_3.9x9.9mm_Pitch1.27mmU7
1ADA4851-4Housings_SSOP:TSSOP-14_4.4x5mm_Pitch0.65mmU10
1AS7C34098mod:TSOP44U6
1AudioPin_Headers:Pin_Header_Straight_1x04P3
1CPU JTAGPin_Headers:Pin_Header_Straight_2x05CON2
1ClocksPin_Headers:Pin_Header_Straight_1x04P8
1DMP3030SN-7Housings_SOT-23_SOT-143_TSOT-6:SOT-23_HandsolderingQ3
1EPC2Housings_QFP:TQFP-32_7x7mm_Pitch0.8mmU3
1EPF10K50VRC240mod:RQFP-240U2
1ER-CON40HT-1mod:ER-CON40HT-1P4
1Ext. InterruptPin_Headers:Pin_Header_Straight_1x05P9
1FPGA JTAGPin_Headers:Pin_Header_Straight_2x05CON1
1LOGOmod:trollectronics-logoG***
1MC68040FE33Vmod:QFP-184U1
1MCP4902Housings_SOIC:SOIC-14_3.9x8.7mm_Pitch1.27mmU8
1PeripheralPin_Headers:Pin_Header_Straight_1x16P6
1PowerPin_Headers:Pin_Header_Straight_1x04P5
1S25FL204K0TMFI010Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mmU9
1VGAPin_Headers:Pin_Header_Straight_1x06P7

The 148 most common of 152 parts.

More from trollectronics/trollbook

3
  • 2 layers165 × 100 mmPeripheral board, the printed circuit board in 3D

    Peripheral board

    trollectronics/trollbook

    Homebrew 68040 palmtop computer

    248 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 layers99.1 × 41.9 mmFlexMAFD02, the printed circuit board in 3D

    FlexMAFD02

    AndrewClaes/FlexMAFD-PCB

    A basic PCB for the FlexMAFD device by dimant / FlexMAFD

    14 parts
  • 2 layers30 × 100 mmLt1228 filter, the printed circuit board in 3D

    Lt1228 filter

    J-Reinke/Video-synthesizers

    73 parts
  • 2 layers37 × 42 mmOscilliscopArt, the printed circuit board in 3D

    OscilliscopArt

    JacobChrist/HackadayS8-OscilliscopeArt

    https://hackaday.io/project/198922-oscilloscope-art-at-hackaday-supercon-8

    10 parts
  • 2 layers72 × 72 mmFast pwm controller, the printed circuit board in 3D

    Fast pwm controller

    dexterlb/led_controller

    A simple device for controlling LEDs

    102 parts
  • 4 layers223.3 × 120.1 mmISA FPGA v2, the printed circuit board in 3D

    ISA FPGA v2

    robfinch/Cores

    Cores ===== RTF's Cores Use at your own risk. Welcome to my galaxy of cores. Contained in the directories are IP cores, source code for digital circuits.

    132 parts78
  • 2 layers50.8 × 78.7 mmSram bank, the printed circuit board in 3D

    Sram bank

    joeyparrish/kinetoscope

    Kinetoscope: A Sega Genesis Video Player

    49 parts44MIT
  • 2 layers100 × 100 mmTroll-8, the printed circuit board in 3D

    Troll-8

    ctag-fh-kiel/troll-8

    Arduino-Based μSynth / μMidiController Development Platform

    94 parts14
  • 4 layers160 × 100.2 mmCsa ultracpu, the printed circuit board in 3D

    Csa ultracpu

    fachat/csa_ultracpu

    The CPU board for a 17MHz Colour-PET clone with modern interfaces

    175 parts9GPL-3.0

Questions

How big is the Trollbook rev2 PCB?

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

What parts does the Trollbook rev2 use?

152 parts, built around the MCP4902-E/P, S25FL204K0TMFI010, 74LVC138AD and ADA4851-4YRU. 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 Trollbook rev2 KiCad files?

From the trollectronics/trollbook repository on GitHub, at the commit this page was made from: the board is hw/motherboard/trollbook-rev2.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Trollbook rev2 design in my own project?

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