Jump to content
IGNORED

Pause Mod LED


Ikrananka

Recommended Posts

I have previously completed a pause mod on one of my CVs and am now planning on doing this again for another. This involves placing a switch on the system that when switched to pause pulls pin 24 (WAIT) of the Z80 CPU low (ground). However, this time I'd like to have an LED illuminate when the system is paused. I have a low understanding of electronics and so am looking for some help on how to achieve this. Would the following work? I have a specific switch in mind so I need to be able to do this with a single pole switch as shown.

 

post-5757-0-80660600-1549579037.png

Edited by Ikrananka
Link to comment
Share on other sites

Keep using +5V :-o

 

This may give you an interesting result though. The M1 state pulls the WAIT pin down for a clock cycle, as does the sound chip. So I think you'll see the LED on all the time, though dimmer when not paused.

 

It might be simpler to use a switch with an integrated LED (well, I *think* they exist), or otherwise use a DPST or DPDT switch and have the LED on the other pole.

Edited by ChildOfCv
Link to comment
Share on other sites

Another suggestion is to experiment with using the BUSRQ line instead of the WAIT line. BUSRQ not only tells the processor to sit tight, but it also tells the processor to completely disengage control of the data and address buses. So it's WAIT on steroids. And it's a line that's unused except for the possibility of expansion units such as the Atari module.

Link to comment
Share on other sites

you could do it like that yes but i would isolate the LED from WAIT with a double pole double throw switch.

have one side of the switch for WAIT and one side for the led connecting to +5 via a 220 or 330 ohm resistor, you could use a higher value depending on the LED brightness you want to achieve, you will have to experiment on the brightness you want to use

Link to comment
Share on other sites

you could do it like that yes but i would isolate the LED from WAIT with a double pole double throw switch.

have one side of the switch for WAIT and one side for the led connecting to +5 via a 220 or 330 ohm resistor, you could use a higher value depending on the LED brightness you want to achieve, you will have to experiment on the brightness you want to use

 

I have a specific DPDT switch I'll be using for this but the other pole will be used to turn off the sound when the system is paused. Hence my desire to try and pause the system and illuminate the LED with a single pole.

Link to comment
Share on other sites

Parkfun and I did some experiments with this a couple years ago.. He made a nice drawing of the pause mod w/sound off circuit and took some pictures as well, which are in his gallery here, IIRC. Maybe it'll be able to help you.

 

Yeah, I know how to do the pause and sound mod, completed this on a CV a while back. What I want to do is to be able to add a pause LED but without changing the DPDT switch that I'm using. I'm absolutely certain that it's possible, just not sure exactly how just yet.

Link to comment
Share on other sites

Like this. I've not tested, but looks like it would work ok.

 

Great, thank you. I think I understand (almost anyway :-D ). So, with the Shottky diode there am I right in thinking that now it shouldn't matter if I connect to the Z80 WAIT or the Z80 BUSRQ, i.e. if I connect to WAIT the Shottky diode will prevent the LED part of the circuit from affecting the WAIT line at the Z80?

Link to comment
Share on other sites

use a 3PDT switch if you want the LED circuit will be separate/isolated

 

Yes, I know that a 3PDT switch would separate things and would be ideal, but I have a specific DPDT switch I want to use and I know it can be achieved (but just not how - although looks like we might have a solution above thanks to grips03).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...