68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Cloning the Farallon MacRecorder
Posted by: demik on 2024-04-18 21:41:11
Is this crazy or just crazy enough to work?

Add like 10-100nF caps from TxD+ to GND (serial) and TxD- to GND (serial). Don't see why that wouldn't work, unless the PIC power consumption is > 1 mA
Posted by: Tashtari on 2024-04-19 04:06:35
unless the PIC power consumption is > 1 mA
Just a tiny bit more... the spec sheet for the PIC12F1501 says typical supply current is 1.09 mA, max is 1.7 mA.
Posted by: Tashtari on 2024-04-22 08:48:59
Status update.

So, a few iterations later, I have some firmware for the PIC12F1501 that's about as densely packed as I can get it. Besides generating the clock and both RxD+ and RxD- (so no RS422 IC is required), it does 2x oversampling and has a 512-position lookup table that can be selected by a jumper or switch, which can be used to apply a function to the samples before they're sent to the Mac.

Having done that, I've just realized that the PIC16F1704 (datasheet) has dual op amps built in. @demik if the characteristics of the op amps are acceptable, we might be able to make this a one-chip solution, possibly even with stereo support...
Posted by: Tashtari on 2024-04-23 07:27:30
I wrote some firmware this morning for the 1704, it uses a fixed-length loop that gets the clock in the ballpark (359.2 kHz, says the scope) if not as accurate as the 1501 with its NCO. Like the 1501 firmware, it also does 2x oversampling and has a LUT in case some manner of compensation is necessary for the internal op amps - plus it supports stereo and can probably work unmodified on the 1703, the 1704's smaller sibling that cuts out some unneeded hardware. It'd be really cool to get this to be a workable one-chip solution, with only external passives and connectors necessary.
Posted by: Tashtari on 2024-06-14 11:04:40
Forgot to update this thread, in case anyone was watching and missed it - @demik and I have released TashRecorder!
Posted by: opualuan on 2024-06-19 02:20:51
Any chance of a kit?
Posted by: Tashtari on 2024-06-19 06:22:23
Any chance of a kit?
Possibly! I'd put a watch on the TashRecorder thread - if @demik or I are selling kits, we'll announce there.
Posted by: LaPorta on 2024-06-19 06:56:04
What is the MacRecorder?
Posted by: Tashtari on 2024-06-19 06:58:20
What is the MacRecorder?
A device for sound input (over the serial port) that predates the introduction of native sound input capability on Macs, capable of delivering 8-bit samples at 22 kHz.
Posted by: LaPorta on 2024-06-19 07:48:16
Oh that’s pretty cool, I always wondered how they got sound onto those early Macs.
< 3