RC6502-Apple-1-Replica/RC6502 Serial IO
2019-01-14 15:04:31 +01:00
..
export Updated Gerber exports before sending to manufacturing 2017-06-15 13:37:57 +02:00
gallery Added pictures of working setup 2017-06-02 20:24:48 +02:00
pia_communicator Added brackets around each byte received in debug 5. 2017-06-02 20:14:22 +02:00
65xx.lib Added files 2017-05-14 21:08:06 +02:00
RC6502 Serial IO-cache.lib Changed schematic symbol for capacitor on serial output line 2019-01-14 14:08:34 +01:00
RC6502 Serial IO.kicad_pcb Added SPI breakout details to silkscreen 2017-06-10 20:25:26 +02:00
RC6502 Serial IO.net Serial IO Revision B 2017-06-08 21:25:13 +02:00
RC6502 Serial IO.pro Changed schematic symbol for capacitor on serial output line 2019-01-14 14:08:34 +01:00
RC6502 Serial IO.sch Changed schematic symbol for capacitor on serial output line 2019-01-14 14:08:34 +01:00
README.md Fixed typo, added BOM notes. 2019-01-14 15:04:31 +01:00
w_connectors.dcm Added files 2017-05-14 21:08:06 +02:00
w_connectors.lib Added files 2017-05-14 21:08:06 +02:00

RC6502 Serial IO

The original Apple 1 computer had circuitry for displaying data on a monitor as well as reading input via a physical keyboard, but to keep things simple we are instead using an Arduino Nano to this! Might not be as cool without an antique keyboard or a big and scary CRT monitor connected to it, but then again those things aren't for beginners and should you feel like adding them later there no reason as to why you can't!

Via the Arduino Nano we can communicate with the computer, the one you'¨ve just built, by using your favourite terminal emulator program such as PuTTy, SecureCRT or similar over the serial interface provided by the Nano. The Nano will of course need some software running on it, you'll find that in the form of an Arduino sketch called "PIA Communicator". This is a rather basic version of that is intended to get you started with something that is easy to understand, thanks however to the wonders of the Internet and collaborative forces of Github you can find a much improved version of it on https://github.com/jblang/pia_communicator.

The RC6502 computer, more specifically this module or the one integrated into the SBC version of it has an IC called a PIA (Peripheral Interface Adapter) on it. The PIA has two ports and when Wozniak his original Apple 1, he dedicated one port to video output and the other to keyboard input - both of those functions we've replaced with our Nano, but to keep things original we've kept the actual PIA to keep things authentic. A 40-pin headers in addition to a couple of pull-up resistors have been added to the board so that one or both of these can be later replaced with actual hardware.

You have several options for which particular type of PIA to use, there is the MC6820, MC6821 as well as the newer W65c21 that are available. The ones I've had most luck with, and to me feels the most authentic has to be the MC6821 by Motorola - a slightly newer design than the original MC6820, but it's more abundantly available for purchase while still featured in most older computer design books so that is the one I prefer to use.

The serial module works by replacing all of this so that characters are transferred using the serial communications functionality on an Arduino Nano board. To make things easier when communicating with parallell devices using a Nano, I've added an IO-expander in the form of the SPI-based MCP23S17 (see Githup Repository for the library needed).

Wired up

Schematic

The supplied KiCad files should be sufficient as both a schematic and as a starting point for ordering PCBs, the schematic is also available in PDF-format. You can refer to the BOM below for a list of suggested components to use, part numbers in parenthesis are optional and is not required.

BOM

These are the components needed to put together your very own Serial IO-module for the RC6502 computer, should be able to get most from your favourite parts supplier though the older PIAs I had to purchase via AliExpress/ebay since they aren't stocked anymore by the other monopolies (atleast where I live). For the pin headers, both male and female - if you can't find the exact pin count, just buy the longer versions and snip/cut off the parts you don't need (get extra in case of accidents, and don't cut yourself either!). Part counts in parenthesis are to be considered optional, so if you don't have any plans for them then they can probably be left out until you need them.

Reference Item Count
PCB Fabricate yourself using KiCad files 1
U1 74LS04 1
U2 MC6821 PIA 1
U3 74LS138 1
C1-C3 100nF ceramic capacitor 3
C4 10nF ceramic capacitor 1
R1-R5 Resistor, 10K (R1,R4 optional) 3 (2)
J1 1x39 right angle pin header, male 1
J2 Arduino pin headers, 1x15 pin header 2
J3 1x5 right angle pin header, male (1)
J4 2x20 pin header, male (1)
JP1 1x2 right angle pin header, male 1
SW1 PCB momentary push button 1
Nano Arduino Nano with data cable 1

If you would like to have a copy of one or more modules, what you'll need to do is zip up the contents of the export directory for each module and give that to your favourite PCB fabrication plant. Personally I prefer to use PCBWay, each module has been designed to fit inside the 5$ dimensions. Use the link provided when signing up to support this project!