Skip to the content
PCBKitNew board
2 layers77 × 37 mmMage, the printed circuit board in 3D

Mage is my handheld ATTiny85 gaming project

Size
77 × 37 mm
Copper layers
2
Thickness
1.6 mm
Parts
26
Nets
16
Pads
79
Tracks, vias
79, 0
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
15 May 2018
Updated
14 Nov 2018

Overview

Mage is an open-source printed circuit board by MalphasWats, from the MalphasWats/Mage repository on GitHub. It is a 2-layer board of 77 × 37 mm with 26 parts on 16 nets, routed with 79 tracks and 0 vias.

It is built around the ATTINY85-15M. Its parts include 9 resistors, 9 switches, 3 capacitors, 2 ICs and 1 diode. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

Mage

Mage is my handheld ATTiny85 gaming project.

I've had this project bouncing around in my head for probably about 3 years now. Initially, I wasn't sure I could get an ATTiny85 to drive an OLED, but then a little while ago I worked out how I could use a set of 8x8 tiles and an index map to keep the SRAM requirements down.

After some furious breadboarding I produced a simple prototype which I transferred to protoboard

Mage 0

This turned out to be an immensely frustrating exercise. I thought I would be happy with a simple little protoboard device that I could make a little case for with acrylic or my 3D printer. I was wrong - this thing only worked for about 30 seconds at a time before one connection or other wobbled and broke. The screen was really flaky and I nearly got put off entirely.

Mage 1

Enter KiCAD - I vaguely remembered a Hackaday series on making a PCB in everything. I downloaded KiCAD and promptly wept for a few days. The learning curve on creating a PCB, not just from scratch, but with absolutely no idea how to even use the software was steep. But after a few days, I took another stab and came up with something not half bad. In the end, one of the hardest parts was getting a board outline imported from a vector app - I used a photo of a GameBoy Advance and drew around it!

I sent the files off to OSH Park and waited.

Mage 1 Assembled

I was so very pleased with what I'd created, I immediately set off to create a demo game - that's the game contained in this repository. My ambitions grew a little faster than my knowledge of C and I've almost squeezed as much as possible out of the ATTiny85, which is quite satisfying.

The board itself wasn't quite what I had imagined way back when I first had the idea - I'd seen things like the Gamebuino, which are really neat (and small). So I fired up KiCAD again and had another crack.

Mage 2

The second revision was much smaller - I used OpenSCAD to design the outline (3 octagons and a rectangle), which imported straight into KiCAD without any issue. The whole thing is smaller and I decided to use a CR2032 cell to power it, instead of the 3.7v Lipo & charger that I originally put on the board.

Mage 2 Assembled

There were a few small issues, my first effort at soldering one nuked some of the traces and it took me a while to realise what had caused the problems. I also discovered that the springiness of the battery clip was too much for the small solder pads I'd defined and the battery clip pinged off taking the copper pad with it!

I'm not entirely sure why it still works, but after a bit of hot glue action, the board was working again! I wasn't happy with the layout - the screen overlapped awkwardly and the CR2023 was nice, but didn't actually make it any thinner or smaller than a Lipo, so I returned to the drawing board and produced a Final Version for which I am currently awaiting delivery.

Mage 3

Parts

26
QtyValueFootprintReferences
2103Capacitors_THT:C_Rect_L7.0mm_W2.5mm_P5.00mmC1, C2
1100KResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR9
1100kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR5
1105Capacitors_THT:C_Rect_L7.0mm_W2.5mm_P5.00mmC0
110KResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR10
110kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3
120kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
1220kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR6
13.7v LipoCustom Footprints:LiPo_PadsBT1
1300kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR7
147kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
168kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4
1AButtons_Switches_THT:SW_PUSH_6mm_h5mmSW5
1ATTiny85Housings_DIP:DIP-8_W7.62mm_SocketU1
1BButtons_Switches_THT:SW_PUSH_6mm_h5mmSW6
1CButtons_Switches_THT:SW_PUSH_6mm_h5mmSW7
1D_ALTDiodes_THT:D_A-405_P7.62mm_HorizontalD0
1DownButtons_Switches_THT:SW_PUSH_6mm_h5mmSW2
1LeftButtons_Switches_THT:SW_PUSH_6mm_h5mmSW3
1POWERButtons_Switches_THT:SW_DIP_x1_W7.62mm_SlideSW8
1ResetButtons_Switches_THT:SW_PUSH_6mm_h5mmSW0
1RightButtons_Switches_THT:SW_PUSH_6mm_h5mmSW4
1SSD1306_OLEDConnectors:Wafer_Vertical20x5.8x7RM2.5-7U2
1SpeakerCustom Footprints:Generic_SpeakerLS1
1UpButtons_Switches_THT:SW_PUSH_6mm_h5mmSW1

Questions

How big is the Mage PCB?

It measures 77 × 37 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Mage use?

26 parts, built around the ATTINY85-15M. 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 Mage KiCad files?

From the MalphasWats/Mage repository on GitHub, at the commit this page was made from: the board is board/Mage.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mage design in my own project?

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

More from MalphasWats/Mage

2
  • 2 layers15.5 × 21 mmArchMage, the printed circuit board in 3D

    ArchMage

    MalphasWats/Mage

    Mage is my handheld ATTiny85 gaming project

    3 parts6
  • 2 layers23 × 13 mmScroll, the printed circuit board in 3D

    Scroll

    MalphasWats/Mage

    Mage is my handheld ATTiny85 gaming project

    2 parts6

Similar boards

  • 2 layers50 × 50 mmT85-with driver and poe, the printed circuit board in 3D

    T85-with driver and poe

    cnlohr/ethertiny

    A firmware-only half-duplex 10Base-T implementation for AVRs

    41 parts133
  • 2 layers23 × 45 mmCell monitor, the printed circuit board in 3D

    Cell monitor

    scttnlsn/cell-monitor

    Battery cell monitor and balancer

    13 parts39MIT
  • 2 layers41.1 × 110.7 mmJNTUB, the printed circuit board in 3D

    JNTUB

    joyfulnoisesynth/JNTUB

    JoyfulNoise Tiny Utility Board

    84 parts26
  • 2 layersCastVolumeKnob, the printed circuit board in 3D

    CastVolumeKnob

    WebmasterTD/CastVolumeKnob

    Hardware Volume Knob for Google Cast devices

    18 parts25
  • 2 layers40 × 30 mmTest board, the printed circuit board in 3D

    Test board

    Guiimartinho/routeai

    LLM-Powered Electronic Design Automation Platform for PCB Design

    4 parts13
  • 2 layers78.3 × 78.5 mm50x70 tiny, the printed circuit board in 3D

    50x70 tiny

    rallekralle11/Tinyreflow

    Inspired by afterearthltd's reflow plate, but using fewer and simpler components.

    23 parts10
  • 2 layersMIDIMonkey, the printed circuit board in 3D

    MIDIMonkey

    aleh/MIDIMonkey

    Listens to MIDI messages on one pin and triggers drums on the others

    8 parts9MIT
  • 2 layers46.9 × 41.4 mmGR PW Noise, the printed circuit board in 3D

    GR PW Noise

    GadgetReboot/White_Pink_Noise

    White noise and pink noise PCB

    40 parts7