News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_TFM

Free Trojan Phaser for the CPCPlus

Started by TFM, 01:20, 16 February 12

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bryce

Much better. If you can tell me the values of the other parts I can sketch you a quick schematic:

Numbers on transistors (Probably start with BC or 2N)
Numbers on disc capacitors (probably something like 102 or 103)
Numbers on big capacitors (something like 100/16 or 47/25)

Bryce.

arnoldemu

Quote from: dragon on 16:18, 16 May 14
One cuestion. ¿The magnum is compatible with all cpcs?. I found a french article about the crtc differences, and  the amstrad solution to use  varius crtc with the cpc, means the only cpcs  can read the register 16 and 17 are the equipped with the crtc 0.
I have read about similar things.

I will check it soon.

On all CRTC the values are readable, but because of the difference in the way the /rd,/wr signals are connected etc, this means it may not be readable on cpc.

I am also planning to do some other crtc start up checks when I get my x-mem because I will be able to write a custom firmware rom.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

dragon

#52
Quote from: Bryce on 13:57, 21 May 14
Much better. If you can tell me the values of the other parts I can sketch you a quick schematic:

Numbers on transistors (Probably start with BC or 2N)
Numbers on disc capacitors (probably something like 102 or 103)
Numbers on big capacitors (something like 100/16 or 47/25)

Bryce.
Ok bryce, what yo need :) . let my a moment.

C5=33MFD, 16WV
C4=16V
C3=104Z
C2= A litte problem the number is erased I'll make a picture, maybe 223 o 323 i am not sure.
C1=103
T4=2N3904M020
T3=T4
T2=2N3904M016
T1= unkonw light reciever

Bryce

#53
Ok, thanks, just looking at the pictures, some of the resistor values aren't clear (despite my earlier joke). Can you tell me what those are too?

Anything more than 16V on C4?
223 will be correct for C2, no need for a picture.

Bryce.

dragon

#54
Refresh, and download the last attachemts  bryce, are my  original Big picture good resolution. i think colors are good.

About c4 yeah sorry 33uf samhawa (sa) 85º

Anyway i look resistances later, I'm going to eat :)

Bryce

#55
Ok, here's the schematic. I chose a BP104 for the photodiode, which should be fine for this. TR2 / TR3 and associated parts are a two stage amplifier with filtered input. TR4 is a switch that pulls the signal (Out) low when light is detected.

Bryce.

Bryce

Or to keep it Spanish style :)

Bryce.


dragon

Very good schematic bryce, now the big question is posible transform the gun to cpc+?.

if i remember correcty, lpen is activaten in up latch wtf, so the contrary of the spectrum. and the 12v are the other question. In amstrad press the trigger = ¿1 or 0?

Bryce

#58
The trigger won't be a problem as long as it's connected to the correct common pin. As far as LPEN is concerned, yes, it's pulled low in the CPC+ by R114 so it is expecting a high signal, but the output signal of the lightgun could easily be inverted using either an inverter IC or even just a simple transistor.
The circuit would probably work fine on 5V if you swapped a few resistor values.

Bryce.

dragon

#59
Can you made a list of componentes to change bryce?.

This can be very good article.

I do not think that there are so small protoboard to fit in the gun, so the best aproach from ic comverter can be ,The "playstation mod chip style". So yea the ic flying with a small bracket.

PD: the trigger uses 12v to.

Gryzor

A bit off-topic, but please bear with me:  that single post increased the amount of data on the server by a full 11MB. Not really worth it now, is it? Full-res pics almost never help; if there's something of importance to show, just crop the thing. And I doubt anyone would need to see a capacitor or something at a multiple-MP size...

TFM

AgreeD. And in addition pics with too high resolution are shown either too small (thumbnail) or too big (full size). So a .png or .jpg with about couple hundred pixels in X and Y is always a good idea!

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

dragon

#62
Quote from: Gryzor on 18:36, 21 May 14
A bit off-topic, but please bear with me:  that single post increased the amount of data on the server by a full 11MB. Not really worth it now, is it? Full-res pics almost never help; if there's something of importance to show, just crop the thing. And I doubt anyone would need to see a capacitor or something at a multiple-MP size...

Well, my first intention, was link to external page, as imageshack now charges. I use  this subir imagenes, subir foto, subir imagen,

But I have not managed to put it as a thumbnail. That click and expand on the external server, So at first I put as attachment but cpcwiki puts the image at full screen, and edit a image adjunt in cpcwiki, means upload the picture again. So my 32kbps upload struggle for testing a reduction. So finally I put all in wirar to find a relatively quick solution  :D .


PD: view it now most slow,I think found a litte solution put first a preview, and later a hyperlink:

img20140521144651

Bryce

I usually resize images to 1280xwhatever or 1920x.. if details are important. Anything bigger doesn't give any additional info really. Making sure the picture is sharp and well lit are more important than the size most of the time.

Bryce.

TFM

Right, sharpness is actually way more important than resolution.... are we on topic  ???
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

dragon

Quote from: arnoldemu on 14:02, 21 May 14
I have read about similar things.

I will check it soon.

On all CRTC the values are readable, but because of the difference in the way the /rd,/wr signals are connected etc, this means it may not be readable on cpc.

I am also planning to do some other crtc start up checks when I get my x-mem because I will be able to write a custom firmware rom.

When the amstrad gun arrive, I try it in my all cpc, 6128 crtc 4 , and two cpc 464 with crtc 2 and 1. So the only left is the crtc 0.

I'll tell you if it does not work at all.

arnoldemu

Quote from: dragon on 00:23, 22 May 14
When the amstrad gun arrive, I try it in my all cpc, 6128 crtc 4 , and two cpc 464 with crtc 2 and 1. So the only left is the crtc 0.

I'll tell you if it does not work at all.
great. Are you using basic to read it or use it on a game?

The reason is that for some crtc you can read using port &be00 and for some it's port &bf00.

I have a spectrum compatible lightgun and so I am also interested about how to convert it for cpc and for plus.

My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

dragon

#67
I thinking in game. But I can try read it in basic.

When bryce tell change resistors, I think he tell changue de resistance to maintain the intensity of the circuit, so ttl output leves is the same.

So if R8=Voltaje/Intensity-> 1000omh(1K=1000omh)=12v/I

I=V/R->I= 12/1000=0,012 A.

So, R8new=V/I= 5V/0,012 A=416,16 omh.

But i not know if is neccesary change R5, and  R1, I don't know well the transistors.

Bryce

It's not as simple as that. In fact it's quite a complicated calculation. It would be safer to build the circuit and try it in real to be certain. R8 is only a pull-up resistor, it wouldn't change. The other resistors are calculated to obtain the correct gain from the amplifier at 12V and these would need to be calculated and confirmed for a 5V supply. Are you sure the Spectrum was connected to 12V and not 5V? The circuit doesn't seem to calculate correctly for 12V at the moment.

Bryce.

dragon

As I not have a spectrum, I based +12v in the "aux" connector and in the service manual

ZX Spectrum Plus3 Aux - HwB

The aux is  connected directly to the ay trough mc1489 chip



Bryce

So this gun was to be connected to the AUX connector only, ie: it's not sending a 5V bit back to the computer, rather it's sending 12V RS232 signals back?? That would explain why I couldn't make sense of the voltage levels!

Bryce.

dragon

#71
Yes, well  exactly the spectrum have two chips between the ay. pins 3 and 5, are connected to the mc 1489 And pin 6,2,4, and 1 are connected to a MC1488. +12v its connect to a R73(100) and is the vcc of the MC1488.

And the  two are connected to ay. In the deepfb tutorial, he said he try first the spectrum gun with some rewire, And when he press the trigger the amstrad freeze but nothing more. Amstrad is not destroyed. :)

TFM

Ok, instead of breaking guns apart... Can we make an adapter for the CPC. Do Sega and Speccy guns provide all needed signals, so that an adapter for our CPC could work?

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Bryce

Quote from: dragon on 15:30, 22 May 14
Yes, well  exactly the spectrum have two chips between the ay. pins 3 and 5, are connected to the mc 1489 And pin 6,2,4, and 1 are connected to a MC1488. +12v its connect to a R73(100) and is the vcc of the MC1488.

And the  two are connected to ay. In the deepfb tutorial, he said he try first the spectrum gun with some rewire, And when he press the trigger the amstrad freeze but nothing more. Amstrad is not destroyed. :)

Ok, then the circuit isn't really suitable for the CPC at all. It's tuned (light sensitivity) for 12V and outputs 12V. It would be easier to just completely replace the circuit with a small 5V solution. Then you could use a modern opamp with manual sensitivity tuning and provide both a positive and negative level output depending on what computer you wanted to connect it to. It should be simple enough to even do on a stripboard.

Bryce.

dragon

Leaving aside the spectrum one moment.

My amstrad gun arrive.... It not appear work very well. I tried it in my all no plus cpc. No way to hit anything wtf. Im not sure if the problem are the crtc, the gun, the ctm 644.(he not paint the vertical lines exactly straight It moves a little to the right on the bottom.) or the cpc expansion ports.

In fact it took me the trigger work. I had to take a little expansion port connector, If not only worked sometimes.
Nobody has a program or something to test the gun without using a game?.

Powered by SMFPacks Menu Editor Mod