

Z50AYMSound
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
374LS00SC
-0℃~+70℃ 15ns@5V,50pF 2 2.7V 2V 4 4.75V~5.25V 400uA 500mV 74LS 800mV 8mA NAND Gate - Logic Gates ROHSTexas InstrumentsLogic Gates74LS32SC
-- Logic Gates ROHSTexas InstrumentsLogic Gates74LS74PC
DIP-140ns 0℃~+70℃ 1 2 20MHz 3.5pF 35ns@5V,50pF 4.5ns 4.75V~5.25V 400uA 74LS Series 8mA 8mA Asynchronous Complementary D-Type Rising Edge Set and Reset DIP-14 Flip FlopsTexas InstrumentsFlip Flops
README
README.mdZ50AYMSound
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| Qty | Value | Footprint | References |
|---|---|---|---|
| 545 | Wire_Pads:SolderWirePad_single_1mmDrill | , , , , , , , , , , , , , , , +529 | |
| 8 | 100k | Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2, R3, R4, R5, R6, R7, R15 |
| 5 | 560 | Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R8, R9, R12, R13, R14 |
| 3 | Conn_01x02 | Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm | J2, J3, J4 |
| 2 | 220n | Capacitors_THT:C_Disc_D4.3mm_W1.9mm_P5.00mm | C2, C3 |
| 2 | 820 | Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R10, R11 |
| 1 | 100n | Capacitors_THT:C_Disc_D4.3mm_W1.9mm_P5.00mm | C1 |
| 1 | 74LS00 | Housings_DIP:DIP-14_W7.62mm_Socket_LongPads | U5 |
| 1 | 74LS138 | Housings_DIP:DIP-16_W7.62mm_Socket_LongPads | U4 |
| 1 | 74LS32 | Housings_DIP:DIP-14_W7.62mm_Socket_LongPads | U3 |
| 1 | 74LS688 | Housings_DIP:DIP-20_W7.62mm_Socket_LongPads | U2 |
| 1 | 74LS74 | Housings_DIP:DIP-14_W7.62mm_Socket_LongPads | U6 |
| 1 | Conn_01x03 | Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm | J7 |
| 1 | Conn_01x19 | Pin_Headers:Pin_Header_Straight_1x19_Pitch2.54mm | J6 |
| 1 | LOGO | LiNCLogo:LiNC_Logo | G*** |
| 1 | PJ-307 / JYO-39-5P | StereoJack:PJ-307 | J5 |
| 1 | SW_DIP_x08 | Buttons_Switches_THT:SW_DIP_x8_W7.62mm_Piano | SW1 |
| 1 | YM2149F | Housings_DIP:DIP-40_W15.24mm_Socket_LongPads | U1 |
| 1 | Z50Bus | Pin_Headers:Pin_Header_Straight_2x25_Pitch2.54mm | J1 |
Similar boards
- 2 layers134.6 × 208.3 mm

- 2 layers407 × 184 mm

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 mm

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 mm

- 4 layers243.8 × 170.2 mm

- 4 layers276.9 × 172.7 mm

Simplevideo
gfoot/compvideo6502
Composite/component video output for homebrew 6502 computers
65 parts36Unlicense - 4 layers330.2 × 215.9 mm

- 4 layers203.2 × 105.4 mm

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.