ACI update

I’m making headway on the Apple Cassette Interface clone layout.

ACI developmental CAD view

Here are my current plans.

1) Finish the layout – I’m estimating that will take a couple of weeks. This will be laid out to the same replication standard as the A1 motherboard.
2) Find a current production cassette recorder that works well with the ACI.
3) Come up with pricing for the kit – right now I’m estimating between $75 and $100. I want to make it $75, the cost of an original ACI in 1976, but that low price point might be difficult to attain.
4) Build an interest list of potential purchasers. This time around I don’t plan on ordering any parts or the PCB until I get about X number of folks on the interest list. I’ll determine what X is when I figure out the cost of kit. This number will probably be between 12 and 25 individuals.
5) When the interest list reaches critical size, but before finally ordering parts and the PCB, I may well ask for pre-order payment to confirm that this is financially viable. A lot of folks will express interest and get on the interest list, but back out for one reason or another when asked to actually part with their money.

PS/2 Keyboard Interface Design Decisions

Someone sent me an email asking if I could have created a PS/2 adapter that was reconfigurable in software to work with either an Apple 1 or Apple II with no hardware jumpering. I started to compose a long answer and before sending it, realized that this would be a good blog entry. So here it is.

The AVR to DIP wiring mechanism was the most difficult part of the design process, for the PS/2 keyboard adapter.

First of all I couldn’t do a software switch between the A1 and A2 pin outs without some external power switching circuitry, as the power and ground connections are different. For example, minus 12V on the Apple 1 is connected to the same pin as a data bit on an A2 keyboard.

I wanted to support S-100 and other systems with possibly different pin outs, with a standard ribbon cable. I thought about creating a user interface with the serial port to allow tweaking configuration, but decided it was too much work and could cause too much confusion, if configured wrong.

I was also concerned about increasing potential for bugs. The code for the PS/2 keyboard is pretty complex, as it is. Besides doing the bit banging to move stuff over the wire, you have to keep track of key states. Some single key state changes result in 3 bytes being transferred to the adapter. You don’t really know what is going on with the keyboard until all three bytes are recieved. When you finally decide that you have a character for the host, you then have to map a generic key code into an ASCII equivalent. A depressed shift, control or other key affects the translation.

I actually laid out at least 3 variations of this board over the past couple of years. First version was a single sided PCB and A2 specific. This one can be seen at the bottom of my keyboard adapter web page. The next version was A2 specific, but you could cut existing traces and add jumper wires for other systems. Here is a CAD image of this version.

A2 version with option to cut and rewire

The Data bits are optimized for the A2 connection, not ease of wiring. Notice that I also reversed connector ends between this version and the final version. This was to make the ribbon cable connection between an A1 and this adapter more straight forward. I think that in most cases with an A1, the adapter will be to the left of the motherboard. With the original configuration this would require twisting the ribbon cable to connect correctly.

Finally, I decided I needed to create the most generic version possible, because of the desire to support systems which could have any sort of pin out. I considered making it default to A1, and then allow cutting traces and adding wires to adapt to other systems, but decided that cutting traces was destructive and not very elegant for non-A1 applications.

Once I decided that I didn’t want to force non-A1 folks to cut traces, I rearranged the pads and pin out to make hookup as straight forward as possible. I think in this regard, I succeeded. When I wired my first boards, I found it much easier to do, than when I built a wire wrap A2 keyboard to A1 converter using two wire wrap sockets. I also figured that it was going to be sold as a kit. A little extra work on the kit builder’s part, really wasn’t necessarily a bad thing. 🙂

I guess this long winded blog indicates how much I thought about the problem. The optimum design would to make a different board for each application, but it would not have been economically feasible.

I’m very happy with the result and have been exclusively using a PS/2 keyboard with my A1. The long cord and keyboard layout is much more user friendly than using an A2 plus keyboard with ribbon cable connection.

Get your Mimeo 1 or A2 rev 0 replica, signed by WOZ

Cameron Cooper had his Mimeo 1 signed by WOZ. I had another Mimeo 1 builder mention that he was going to have it done, as well. This second builder pointed out the web site that offers the mail in service.

http://www.signedbywoz.com

On the site, there happens to be a picture of WOZ signing Cameron’s Mimeo 1!

http://www.signedbywoz.com/shop-mail-in.php

Note that Cameron was told that this was the first replica Apple 1 that WOZ has seen. It seems that it will not be the last.

I’m tempted to send in a batch of bare boards, but I’ll leave it up to the replica builder to decide whether it is worth the trouble or not. I’ve already spent enough money on this project.

Limited quantities of Mimeo Kits now available

I have finally finished working through the wait list and now have a very limited quantity of Mimeo 1 kits available. Shipment should be within a few days of ordering, though it could take a few weeks, if I run short of any specific component. Send me an email, and I’ll let you know what you should expect.

I have an ample supply of PS/2 keyboard adapters in stock.

Finally, if you can’t find the parts you need to complete your Apple-1 clone, send me an email, and I’ll send you a price list. Just a word of warning – don’t expect distributer type pricing.

Updating Mimeo web pages and the enclosure is started

Revamped my Apple 1 web pages – basically splitting information into separate pages that should be easier to browse:

http://www.willegal.net/appleii/apple1.htm

I also have started work on my Mimeo 1 enclosure. I’ll document work on this web page:

http://www.willegal.net/appleii/apple1-enclosure.htm

My “process page” now includes a close up side by side detail of a small part of the original and Mineo PCBs.

http://www.willegal.net/appleii/apple1-process.htm

Apple Cassette Interface Revisited

Yesterday, I spent the good part of the day with the ACI and finally have a good fix that makes it far more robust without changing the board layout. In the past I had discovered that the Apple II cassette interface is far more reliable than the Apple 1 was. I did spice simulations of both and quite a bit of fooling around with the actual ACI in order to see if I could figure out the problem. The best improvement I could come up with, was to add a low pass filter on the input. This was done by adding a .01uF cap between the input side of the comparator and ground.

In revisiting the ACI yesterday, I finally discovered the real difference in the design that makes the Apple II so much more reliable. The Apple II uses a .1uF capacitor for input coupling versus a .01uF on the ACI. When I looked at this in the past, I must have forgotten to make this change when evaluating the designs with spice. This change provides a lot more noise immunity in the comparator inputs.

Here is the ACI input signal with the stock .01uF input coupling capacitor. The source of the signal is the 1HZ tone (all ones) at the front of Wendell Sanders Hammerabi clip being played from an iPod with the equalizer set to “treble reducer”. All signals are displayed at .5 volts/division on this page.

In the image, above, the input is the bottom signal and top signal is how it is presented to the comparator input after passing through the capacitor. Note how the signal spikes and then returns to the value set by the 10K resistors.


Above is the same input and output signals with a .1uF capacitor. The signal follows the shape of the input waveform much more closely. The bottom trace is input signal and is the same as in the first image. The top trace is input to comparator after passing through cap. Note how the extra capacitance prevents the resistors from quickly returning to the base value set by the resistors.


This image shows both inputs to the comparator with the stock .01uF capacitor. Spiky looking trace is input signal to comparator (same signal as seen in first image). Other trace is reference signal with hysterisis. The reference signal is pulled up and down slightly as the comparator switches state to prevent instability. This results in the square wave.

In the picture above, the output switches state when input signal (more spiky looking signal) passes the level of the reference signal as can be plainly seen in this image. The problem with this design is the limited amount of room between the input and the reference, any input noise with an amplitude of around .2 volts or more may be enough to trigger a switch in output levels.

Below are the same two inputs to the comparator with the .1uF cap. This wave form increases noise immunity to almost a volt, about 5 times improvement over the apple 1 stock implementation.

Unless you are interested in maintaining complete commonality with the original Apple 1, I highly recommend using a .1uF capacitor in your replica cassette interface instead of the .01uF used in the original design. Keep in mind that the folks at Apple recognized this improvement before coming out with the Apple II, as that design includes .1uF cap for this application.

Since I was using a clone ACI, built with components based on the schematics, I wondered if Apple actually shipped with .1uF caps on the ACI. I exchanged a couple of emails with Wendell Sander. He confirmed that the schematics are correct and the Apple ACI did indeed ship with a .01uF caps. He also confirmed that he had independently come to the same conclusion regarding the reliability improvement that could be attained with a .1uF cap.

PS/2 RS232 to ASCII Keyboard Adapters Now Available

Go to this web page for details:
http://www.willegal.net/appleii/appleii-kb-int.htm

In my opinion, building one of these adapters is not very difficult. I have been able build and test one of these adapters in about an hour.

If you can get a piece of Apple 1 software into Apple Monitor Command format, I believe that this RS232 interface is one of the most straight-forward ways to download software from a PC to your Apple 1.

Silk Screen Problem Resolution

The last post mentioned a problem with the silk screen with my new batch of boards. Well, I contacted the fab house, Advanced Circuits, and explained how critical the silk screen is to the people I share the boards with. They are going to rerun the boards- hopefully I’ll have the new boards in my hands at the end of the week.

One more thing – Advanced also explained why they like to mask off the silk screen from the copper. If you decide to flow solder your board, keep in mind that the flow soldering process may cause the silk screen that is located directly on the copper layer to lift off.

In case you have any thoughts of getting a deal on the boards with the bad silk screen, Advanced asked me to send them back, so it isn’t going to happen.