Skip to the content
2 layers100 × 100 mmZ50AYMSound, the printed circuit board in 3D

This is an AY3-8910 / YM2149 based sound/audio/chipmusic card

Size
100 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
578
Nets
108
Pads
803
Tracks, vias
657, 27
Pours
4
Routed
Yes
KiCad
KiCad 4
Created
23 Aug 2018
Updated
1 Nov 2018

Overview

Z50AYMSound is an open-source printed circuit board by linc80, from the linc80/Z50AYMSound repository on GitHub. It is a 2-layer board of 100 × 100 mm with 578 parts on 108 nets, routed with 657 tracks and 27 vias.

It is built around the 74LS00SC, 74LS32SC and 74LS74PC. Its parts include 15 resistors, 7 connectors, 6 ICs, 3 capacitors and 1 switch. It belongs with the audio and music boards of this library.

Main components

3

README

README.md

Z50AYMSound

This is a AY3-8910 / YM2149 based sound/audio/chipmusic card designed originally for the LiNC80 SBC1 microcomputer, but should be usable on compatible Z50Bus systems, and also other Z80-based systems with a suitable bus adapter.

The design of this card is based on an early prototype made by Jon Langseth, adapted to the Z50Bus. The main "invention" is the address decode/glue logic, the rest of the circuit is a fairly standard implementation of an AY3-8910 circuit for the Z80. Some inspiration in the analog section comes from the "Simple AY interface" from hw.speccy.cz, as well as the ZX Spectrum output.

KiCad schamtic and layout files are in the CADFiles directory. Example software is in the JLPTxPlay directory.

For information about the LiNC80 SBC1, see http://linc.no/go/linc80 For information about the Z50Bus, see http://linc.no/products/z50bus/

Address selection

The card has a dip-switch for selecting the base address, fully decoded to any even I/O address. Writing to the Base address sets the selected register, while writes or reads on Base+1 writes/reads the selected address.

Stereo control

Selection of ABC/ACB stereo can be done by setting a pair of jumpers either horizontally or vertically on a pair of jumpers. A simple "fake mono" jumper is included, it simply shorts Left and Right channels after the output resistor network.

Clock generator and tuning

Clock generation for the AY/YM is done using a dedicated, on-board canned oscillator. A standard, square metal can oscillator in the 8-pin-DIP form factor should be used. The Address select DIP switch used is 8-way, only 7 of those are used to achieve even-address-selection. The final switch position is used to control the YM2149 pin 26, allowing for selection of full or half audio clock. When used with an AY3-8910, this pin does nothing. As such, any oscillator in the 0-2MHz range can be used with the AY3-8910, while any oscillator in the 0-4MHz range can be used with an YM2149. Selection of oscillator decides the tuning of output audio. A value as close as possible to 1.77MHz will provide tuning close to Spectrum audio. An easily available and reasonably close variant is 1.8432MHz. A better option is 3.57954 being a very good candidate for an YM2149 with half-clock.

Layout

The layout is done on a Standard Z50Bus card, with 100x100mm dimensions. There was significant "dead space" on the card, so just under half the board is converted to a prototyping area, with the two digital I/O ports of the AY/YM provided on a single row of pins.

Example source code

The example source code is a modified version of Sergey Bulba's PTxPlay. The base of the code provided here is not directly based on the original source, but is an extended modification of the version that Ed Brindley made available for his rc2014-ym2149 sound-card for the RC2014. See https://github.com/electrified/rc2014-ym2149 for Ed's version, see https://bulba.untergrund.net/main_e.htm for Sergey Bulbas original version.

Support documentation

Data sheets for both the AY3-8910 and the YM2149 is included in the Documentation directory.

Parts

578
QtyValueFootprintReferences
545Wire_Pads:SolderWirePad_single_1mmDrill, , , , , , , , , , , , , , , +529
8100kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3, R4, R5, R6, R7, R15
5560Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR8, R9, R12, R13, R14
3Conn_01x02Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmJ2, J3, J4
2220nCapacitors_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC2, C3
2820Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR10, R11
1100nCapacitors_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC1
174LS00Housings_DIP:DIP-14_W7.62mm_Socket_LongPadsU5
174LS138Housings_DIP:DIP-16_W7.62mm_Socket_LongPadsU4
174LS32Housings_DIP:DIP-14_W7.62mm_Socket_LongPadsU3
174LS688Housings_DIP:DIP-20_W7.62mm_Socket_LongPadsU2
174LS74Housings_DIP:DIP-14_W7.62mm_Socket_LongPadsU6
1Conn_01x03Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mmJ7
1Conn_01x19Pin_Headers:Pin_Header_Straight_1x19_Pitch2.54mmJ6
1LOGOLiNCLogo:LiNC_LogoG***
1PJ-307 / JYO-39-5PStereoJack:PJ-307J5
1SW_DIP_x08Buttons_Switches_THT:SW_DIP_x8_W7.62mm_PianoSW1
1YM2149FHousings_DIP:DIP-40_W15.24mm_Socket_LongPadsU1
1Z50BusPin_Headers:Pin_Header_Straight_2x25_Pitch2.54mmJ1

Similar boards

  • 2 layers134.6 × 208.3 mmTs2, the printed circuit board in 3D

    Ts2

    jefftranter/68000

    Code related to the Motorola 68000 microprocessor.

    110 parts133
  • 2 layers407 × 184 mmTRS-80-Model I G E1, the printed circuit board in 3D

    TRS-80-Model I G E1

    RetroStack/TRS-80-Model-I-G-E1

    Hardware Replica of the TRS-80 Model I Revision G

    230 parts57MIT
  • 4 layers337.6 × 105.7 mmISA CGA, the printed circuit board in 3D

    ISA CGA

    hkzlab/CGA_Redux

    The Color Graphics Adapter Redux board is a more or less faithful clone of the original IBM CGA, based on the original schematics

    170 parts56
  • 2 layers350 × 224.3 mmConsole, the printed circuit board in 3D

    Console

    danwerner21/TI99_22

    a 2022 replica of the classic TI/994a, using obtainable parts

    251 parts50
  • 4 layers243.8 × 170.2 mmHEC1, the printed circuit board in 3D

    HEC1

    Andy18650/HEC-Model-Z1

    A Z80 computer with protected mode support

    126 parts36GPL-3.0
  • 4 layers276.9 × 172.7 mmSimplevideo, the printed circuit board in 3D

    Simplevideo

    gfoot/compvideo6502

    Composite/component video output for homebrew 6502 computers

    65 parts36Unlicense
  • 4 layers330.2 × 215.9 mmRetroii, the printed circuit board in 3D

    Retroii

    jonthomasson/retroii

    Retro ][ is a 6502 based computer based off of the Apple ][.

    302 parts33
  • 4 layers203.2 × 105.4 mmIBMExtender, the printed circuit board in 3D

    IBMExtender

    schlae/ibm-extender

    IBM 5161 expansion chassis extender and receiver cards

    44 parts33

Questions

How big is the Z50AYMSound PCB?

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

What parts does the Z50AYMSound use?

578 parts, built around the 74LS00SC, 74LS32SC and 74LS74PC. 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 Z50AYMSound KiCad files?

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

Can I use the Z50AYMSound design in my own project?

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