Any diagram for expansion port EAR input?

For experts to discuss very technical stuff and newbies to ask why the Spectrum they bought off ebay doesn't work.
Post Reply
Lynxman
Drutt
Posts: 17
Joined: Tue Nov 26, 2019 12:23 am

Re: Any diagram for expansion port EAR input?

Post by Lynxman »

Yeah I'm using a stereo cable with a stereo socket, with the signal pins connected on the socket. A mono jack in the phone will short one of the channels to ground.
User avatar
1024MAK
Bugaboo
Posts: 3123
Joined: Wed Nov 15, 2017 2:52 pm
Location: Sunny Somerset in the U.K. in Europe

Re: Any diagram for expansion port EAR input?

Post by 1024MAK »

Question, do you still wish to retain use of the built in cassette desk?

Does your multimeter handle audio AC frequency signals?

Mark
:!: Standby alert :!:
“There are four lights!”
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :dance
Looking forward to summer later in the year.
User avatar
Joefish
Rick Dangerous
Posts: 2058
Joined: Tue Nov 14, 2017 10:26 am

Re: Any diagram for expansion port EAR input?

Post by Joefish »

Am I right in thinking that if you disconnect and do away with the internal tape player, you can just jack an external cassette player into the EAR pin (pin 4) of the internal cassette player connector?
(Although MP3 players tend not to have enough volume, a regular cassette player does).
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2641
Joined: Mon Nov 13, 2017 3:16 pm

Re: Any diagram for expansion port EAR input?

Post by Ast A. Moore »

Joefish wrote: Wed Nov 27, 2019 1:04 pm Am I right in thinking that if you disconnect and do away with the internal tape player, you can just jack an external cassette player into the EAR pin (pin 4) of the internal cassette player connector?
On a +2 or +2A? On a +2, I don’t recommend it. Better go with the mod in the video I linked above. A +2A requires a much simpler mechanical mod (cutting a trace and adding a single jumper wire); then you can simply use the existing 3.5mm jack (with a stereo lead). The mod effectively turns it into a +3.
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
Lynxman
Drutt
Posts: 17
Joined: Tue Nov 26, 2019 12:23 am

Re: Any diagram for expansion port EAR input?

Post by Lynxman »

If the Ear mod on Spectrumfor everybody isn't safe for the ULA then maybe someone should inform them. Probably a good thing the phone level is so low. I can take the chance one more time and look at pin 34 with the scope with low level from the phone connected as per the guide and see if the signal is just positive.

I have to order components to build that circuit but I might just order the stuff I need. I have a bluetooth cassette adapter on the way which I will try as well.
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2641
Joined: Mon Nov 13, 2017 3:16 pm

Re: Any diagram for expansion port EAR input?

Post by Ast A. Moore »

Lynxman wrote: Wed Nov 27, 2019 7:33 pm I have a bluetooth cassette adapter on the way which I will try as well.
That might be the safest and easiest option. In fact, by way of experiment when I was testing my turbo loader, I cobbled together this thing and it worked like a charm (on a +2A):

Image

Thought fiddly to find the correct position of the head and hold it in one place, it cost me absolutely nothing.
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
User avatar
1024MAK
Bugaboo
Posts: 3123
Joined: Wed Nov 15, 2017 2:52 pm
Location: Sunny Somerset in the U.K. in Europe

Re: Any diagram for expansion port EAR input?

Post by 1024MAK »

Years ago I got a “proper” cassette adapter, from of all places, B&Q, it was in their bargain bin for I think £2.

Nearly all audio signals are AC and switch between positive and negative. A DC offset is avoided on all external input or output connections, as it can mess up other devices that may be connected to it.

For production, a 1N4148 signal diode needs connecting in parallel with resistor R102. Anode to 0V and cathode to ULA pin 34. Then you can feed an external audio signal into pin 4 on PL12, the tape deck connector.

If your external audio source cannot produce enough volume (voltage) and you don’t want or need the original cassette deck to work, remove resistor R102 (but make sure the diode is still connected). This may still not be sufficient for an weak external audio source. In which case, you need to use an amplifier.

Mark
:!: Standby alert :!:
“There are four lights!”
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :dance
Looking forward to summer later in the year.
Lynxman
Drutt
Posts: 17
Joined: Tue Nov 26, 2019 12:23 am

Re: Any diagram for expansion port EAR input?

Post by Lynxman »

Is there any reason why I can't connect the phone to the pin on the head in the tape drive directly?
Lynxman
Drutt
Posts: 17
Joined: Tue Nov 26, 2019 12:23 am

Re: Any diagram for expansion port EAR input?

Post by Lynxman »

Here's what it looks like after the 128k input circuit I cobbled together earlier with the phone volume at maximum, loading Knight Lore. The clamping diode is just one I salvaged off something so it might have too high of a forward voltage (0,56 V)for this as there's about 200 mV of negative voltage getting through.

Image
Lynxman
Drutt
Posts: 17
Joined: Tue Nov 26, 2019 12:23 am

Re: Any diagram for expansion port EAR input?

Post by Lynxman »

I made the circuit from JoulesperCoulomb's video and it works fine. I removed the 5V input reverse polarity protection diode after the photos were taken. I actually struggled first because one of the 0,02uf caps on the inputs were bead and evenually failed completely but once I found that and replaced it it worked well.

I made it small and the pcb fits ncely on top of the tape deck PCB, hiding it from view when the Spectrum is opened. The tab over the power port was broken off on my Spectrum so I hot glued a jack there for input, which also makes all wires short since it' right next to the PCB over the tape deck PCB.

Image
Image

I checked the output with my scope and it's about 2,5 V square wave and all positive, like in his video.
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2641
Joined: Mon Nov 13, 2017 3:16 pm

Re: Any diagram for expansion port EAR input?

Post by Ast A. Moore »

Lynxman wrote: Sun Dec 29, 2019 9:56 am I checked the output with my scope and it's about 2,5 V square wave and all positive, like in his video.
That should be plenty. Congratulations.
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
Lynxman
Drutt
Posts: 17
Joined: Tue Nov 26, 2019 12:23 am

Re: Any diagram for expansion port EAR input?

Post by Lynxman »

I received my cheapo Bluetooth cassette adapter too now and have tried it. It's not as reliable as the EAR input circuit. I had to modify it to get it to work well. The little rubber drive wheel would jam and lock up the tape drive, and the head was crooked and not centered. I also lubricated the gears slightly. Not sure if the gears and the drive mechanism is even needed but it's smooth and doesn't jam now. It came with a mic which also serves as the on switch. I soldered on a little switch instead so that I don't have a microphone sticking out. It's convenient to not have to use a cable to load games though.
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2641
Joined: Mon Nov 13, 2017 3:16 pm

Re: Any diagram for expansion port EAR input?

Post by Ast A. Moore »

Not sure about the +2, but on the +2A you don’t even need to press PLAY on the Datacorder to load games. The circuitry is active all the time.
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
User avatar
Joefish
Rick Dangerous
Posts: 2058
Joined: Tue Nov 14, 2017 10:26 am

Re: Any diagram for expansion port EAR input?

Post by Joefish »

Thread from the Dead Question -
Lynxman wrote: Tue Nov 26, 2019 8:11 pm ...

128k:
Image

+2:
Image
If I completely rip out the cassette player board from a grey +2, swap that 390 grounding resistor for a 1K with a diode back up over it, haven't I then got the same cassette input circuit as a 48K Speccy? (From pin 4 on the now unused cassette connector, I mean).
Or maybe parallel piggy-back a 470 on the 680 to bring the 680:390 resistor pair down to the same ratio?

Ah, wait, no, there's then no capacitor actually in-line in the circuit. But can that then just go in anywhere? e.g. between a hypothetical cassette input jack socket and that there pin 4?

(No, I'm not going to build a whole new amplifier - it's got to be simpler than that!)
User avatar
Ast A. Moore
Rick Dangerous
Posts: 2641
Joined: Mon Nov 13, 2017 3:16 pm

Re: Any diagram for expansion port EAR input?

Post by Ast A. Moore »

Joefish wrote: Fri Aug 21, 2020 4:59 pm If I completely rip out the cassette player board from a grey +2, swap that 390 grounding resistor for a 1K with a diode back up over it, haven't I then got the same cassette input circuit as a 48K Speccy? (From pin 4 on the now unused cassette connector, I mean).
Well, yes, aside from the capacitor, which is there just to remove any DC offset. If fact, looking at the values of the components, they are identical between a 48K Speccy and a Toastrack.
Joefish wrote: Fri Aug 21, 2020 4:59 pm Ah, wait, no, there's then no capacitor actually in-line in the circuit. But can that then just go in anywhere? e.g. between a hypothetical cassette input jack socket and that there pin 4?
Technically, yes, although it might created some unwanted filtering via an RC circuit.

But why not replicate the circuitry exactly? It’s just a few of components anyway, and half of them are already on the board.

P.S. On my +2B, when I modded the 3.5 mm plug to accept an external audio input, I had to bypass C200 altogether. Otherwise, nothing would load with the weak audio signal produced by my phone or computer. (C200 is still in-circuit when loading from the built-in Datacorder, though.)
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
Post Reply