Skip to the content
PCBKitNew board
2 layers63.5 × 63.4 mmC64 Modulator, the printed circuit board in 3D

A simple modulator replacement for Commodore 64s with "longboards", complements my Lumafix version as well adding an audio connector for second SID.

Size
63.5 × 63.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
40
Nets
20
Pads
85
Tracks, vias
143, 7
Pours
1
Routed
Yes
KiCad
KiCad 4
Created
17 Aug 2019
Updated
8 Nov 2019

Overview

C64 Modulator is an open-source printed circuit board by tebl, from the tebl/C64-Modulator-Replacement repository on GitHub. It is a 2-layer board of 63.5 × 63.4 mm with 40 parts on 20 nets, routed with 143 tracks and 7 vias.

It is built around the LM7805. Its parts include 13 connectors, 10 resistors, 7 capacitors, 2 diodes and 2 transistors. It belongs with the retro computing and games boards of this library.

Main components

1

README

README.md

C64 Modulator replacement ("Longboard" edition)

Based on the C64 RF-modulator mod by Zero-X / OMS, this adapts those schematics to create a complete replacement for the original modulator including a few changes of my own. A nice writeup and the my original inspiration for making this version if it came from a blog post on My Diy Blog (not actually my blog, it's just called that).

Modulator

The modulator replacement replaces the original circuit, with the original responsible for boosting the output from the VIC-chip and generating composite video, S-Video and the RF-signal. The replacement removes the old RF-signal output as well as the noise it provides, also added to it is options for bypassing some of the more problematic signals and a connector for adding stereo audio output. S-Video picture quality can be further improved upon by not installing the components for composite video.

Given differences in pinouts and voltages found on various Commodore 64 revisions, this variant is only meant for installation on Commodore 64s with so-called "longboards" only!

Longboard

Building the board

Soldering together the few components should be easy going as long as you have access to reasonable tools, personally I'm using a cheap soldering station with adjustable temperature so no need to go expensive if you don't have to. Use 60/40 soldering tin, the lead free kind makes the job a lot harder if you're new to the hobby.

Start by studying the PCB, both sides and perform dry fits where needed so that you have an idea of where everything should go since removing components is always a lot harder than getting it right in the first place. In particular, take care when it comes to the orientation of polarized components such as the electrolytic capacitors and diodes (match orientation to symbols, study the gallery images for reference). Perhaps the most important part is that since this board will be mounted on the C64-mainboard, there is large sections of exposed ground planes directly beneath where the modulator goes - you'll need to make sure nothing'll short between this part and the modulator replacement above, so cut leads short.

I recommend the following sequence when soldering the board together:

  1. Check errata below for relevant changes
  2. Decide if you want composite video, if not - identify components that do not need installing (see underside of board)
  3. Resistors, diodes, inductors and non-polarized capacitors.
  4. 7805 regulator
  5. Transistors
  6. Connectors (if needed)
  7. See installing the board for the continuation, board alignment etc...

Errata

  • Revision B has bypass capacitors marked C8/C9, these are not necessary as they are already on the motherboard and the Stereo SID board. Having them there changes the sound experience somewhat, either leave them in place or replace them with a piece of wire.

Installing the board

The first part of installing the board in a Commodore 64 with a longboard is removing the old regulator, this is a crucial step and is only recommended for people with experience working on antique hardware boards and have suitable equipment for doing so (excess heat over time = broken PCB). Free up the tabs holding the regulator, these are usually bent at an angle to grip and then soldered in place so you'll have to remove the solder and bend them back. Desolder the signal wires, two sections of four pins going into the modulator from the underside. Carefully probe each piece to ensure that it is loose before attempting to remove the modulator completely - impatience means broken traces!

With the old modulator removed, inspect the input pins to make sure that they're all still there and coninuity is sufficiently there before doing anything else. At this point in development you wouldn't want to subject the PCB to any more heat as it's already taken a lot, so what I recommend is installing male pin headers on the various connecting sections on the motherboard. Use the modulator replacement as a way of lining it all up, but only solder the male pins on the underside of the motherboard! Finally, remove modulator replacement and put some female headers on top of the pin headers just installed - put modulator replacement on top of those and solder in place just to get the alignment correct.

You should now have a modulator that can easily be removed from the machine if needed, that way you can easily upgrade to a later version of the module without taking the soldering iron to the C64 motherboard and quite possibly adjust the values to suit the picture if need be.

Modulator and Lumafix

When connecting the board to the computer without any other hardware, you'd need to jumper across the two headers named LUM and CHR to connect the input signals to the motherboard. On most machines I've tried it with you'll get heavy jailbars on the screen, this is what the signal looks like coming into the modulator without the fuzzyness/smoothing added by the old one. This is where a board such as a Lumafix comes into the picture, it attempts to counteract the noise by adding some of it's own and smooth the signal somewhat (in essence, noise-cancelling instead of using a cleaner source). I've added a secondary connector at the top of my own Lumafix-board, this allows you to run the LUM and CHR signals directly from the VIC instead of running them across the motherboard.

Pictures below are taken from my system using composite cables from RetroComputerShack, some moire patterns appear due to me taking a picture of the LCD-screen using a mobile phone.

Basic blue screen Robocop 2 title screen

Schematic

The supplied KiCad files should be sufficient as both a schematic and as a starting point for ordering PCBs (basically you could just zip the contents of the export folder and upload that on a fabrication site), the schematic is also available in PDF-format and this is what you'll need to print and work your way through this things don't work as expected after assembly. The original schematic by

BOM

Most parts should be easy to get a hold of from your favourite local electronic component shop, but given that I don't have access to such shops where I live so everything was based on whatever I could get cheapest from ebay/AliExpress (free shipping, plan on usually waiting 3-4 weeks though). The list below should be everything you'll need in addition to a workable soldering iron and some 60/40 soldering tin.

Pin headers you order in bulk and snap off parts as needed, relevant part details should also be present on the PCB itself for easy reference while assembling. Some components have been put in parenthesis, C2/C3 provide extra filtering while the rest is for adding composite output.

ReferenceItemCount
PCBFabricate using Gerber files1
C1330pF capacitor1
C3330pF capacitor(1)
D1,D21N4148 small signal diode2
C2150pF capacitor(1)
C410uF electrolytic capacitor (16v)1
C5100uF electrolytic capacitor (16v)1
C668pF capacitor(1)
C7100nF capacitor1
L122uH axial inductor1
L210uF axial inductor(1)
Q1-Q2BC549 transistor (TO-92)2
R11k ohm resistor1
R23k3 ohm resistor1
R35k6 ohm resistor1
R468 ohm resistor1
R5220 ohm resistor1
R6470 ohm resistor1
R7,R12150 ohm resistor2
R8,R11150 ohm resistor(2)
U1LM7805 (TO-220)1
Male header pins (break to size)1
2pin female header*2
J2,J34pin female header2
J5 Audio3.5mm 5pin green audio socket (PJ307)(1)

* Usually 1pin male pin header is soldered to ground points on the outer edges, usually a 1pin female header would be impractical so I use a 2pin or more female header with the rest of the pins pulled out.

Parts

40
QtyValueFootprintReferences
8 anchors:anchor_circleJ7, J8, J9, J10, J11, J12, J13, J14
4150Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR7, R8, R11, R12
21n4148Diodes_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2
2330pFCapacitors_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC1, C3
2BC549TO_SOT_Packages_THT:TO-92_Inline_WideQ1, Q2
1100nFCapacitors_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC7
1100uFCapacitors_THT:CP_Radial_D5.0mm_P2.50mmC5
110uFCapacitors_THT:CP_Radial_D5.0mm_P2.50mmC4
110uHInductors_THT:L_Axial_L6.6mm_D2.7mm_P10.16mm_Horizontal_Vishay_IM-2L2
1150pFCapacitors_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC2
11kResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
1220Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR5
122uHInductors_THT:L_Axial_L6.6mm_D2.7mm_P10.16mm_Horizontal_Vishay_IM-2L1
13k3Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2
14321Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mmJ3
1470Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR6
15k6Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR3
168Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4
168pFCapacitors_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC6
18765Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mmJ2
1AUD_MONOPin_Headers:Pin_Header_Straight_1x03_Pitch2.54mmJP2
1AUD_RIGHTPin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmJ4
1CHRPin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmJP3
1LM7805TO_SOT_Packages_THT:TO-220-3_HorizontalU1
1LUMPin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmJP4
1RCA_PLUGrca:rca_yellowJ6
1TRS_3.5mmtrs:Tayda_3.5mm_stereo_TRS_jack_A-853J5

Questions

How big is the C64 Modulator PCB?

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

What parts does the C64 Modulator use?

40 parts, built around the LM7805. 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 C64 Modulator KiCad files?

From the tebl/C64-Modulator-Replacement repository on GitHub, at the commit this page was made from: the board is C64 Modulator.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the C64 Modulator design in my own project?

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

Similar boards

  • 2 layers113 × 62.2 mmFullScope, the printed circuit board in 3D

    FullScope

    tvlad1234/pillScopePlus

    Oscilloscope based around the STM32F401 Black Pill and a color LCD screen

    15 parts165Apache-2.0
  • 2 layers167.6 × 97.5 mmAS3397 proto DIP, the printed circuit board in 3D

    AS3397 proto DIP

    PhysicsDptAngers/polyUAnalog

    Open source, analog and polyphonic synthesizer

    142 parts88MIT
  • 2 layers99.1 × 99.1 mmPower supply panelized, the printed circuit board in 3D

    Power supply panelized

    thebiguno/microcontroller-projects

    A home for a bunch of microcontroller projects which don't warrant their own repos.

    223 parts75
  • 2 layers40.1 × 49.3 mmBig Honking Button, the printed circuit board in 3D

    Big Honking Button

    wntrblm/Big_Honking_Button

    A simple Eurorack sampler and performance module in a silly package.

    54 parts60
  • 2 layers131.8 × 99.9 mmUps-12v, the printed circuit board in 3D

    Ups-12v

    dilshan/12v-automatic-ups

    12V Automatic UPS system

    77 parts50MIT
  • 2 layers188 × 193 mm6800sbc, the printed circuit board in 3D

    6800sbc

    jefftranter/6800

    Code related to the Motorola 6800 microprocessor.

    164 parts32
  • 2 layers86.4 × 68.6 mmBassMate, the printed circuit board in 3D

    BassMate

    ukmaker/BassMate

    A simple drum machine

    23 parts30Apache-2.0
  • 2 layers82.8 × 72.1 mmVwcdpic with BT panel, the printed circuit board in 3D

    Vwcdpic with BT panel

    tomaskovacik/vwcdpic

    This is my personal fork of k9spud vwcdpic project

    280 parts29GPL-2.0