atari doubt

Para comentar los proyectos de hardware presentados en la web.

atari doubt

Notapor Denijs el Jue Ene 16, 2014 6:23 pm

i want to make some relais for my model trein to switch de wissels and lichts on the station

no do I have a question voor you if you can tel me how i can make the joystick inputs to outputs.
what poke i must type in to the computer program (if you have a example will make that very happy).
and also for the cartrige and the interface connection.
i sa that you youse it for your eprom programmer zo if you have a exampel of the program that i must have.
Denijs
novice
novice
 
Mensajes: 3
Registrado: Jue Ene 16, 2014 6:19 pm

Re: atari doubt

Notapor ZZT el Jue Ene 16, 2014 7:09 pm

Denijs escribió:i want to make some relais for my model trein to switch de wissels and lichts on the station
no do I have a question voor you if you can tel me how i can make the joystick inputs to outputs.
what poke i must type in to the computer program (if you have a example will make that very happy).
and also for the cartrige and the interface connection.
i sa that you youse it for your eprom programmer zo if you have a exampel of the program that i must have.

Hi Denjis

Welcome and thanks for join us.

Oh! this topic is too much exciting to me. Like you, I love model train too (I have a couple of sets over here), so for years I have in mind the same you are thinking.
Well, using both joysticks as outputs you can drive without not much trouble up to eight devices. To drive a mini lamp or relay just fit a transistor between the Atari and what you want to drive.

Both ports are controled by the adress 54018. Normally set at poke 54018,60 for all inputs. To change to all as outputs just poke 54018,43.
To send data to the port POKE 54016,DATA.

Example:
10 POKE 54018,43
20 POK3 54016,1
RUN
That activates UP player 1 (Device 1= lamp or train)

So:
Device 1= POKE 54016,1
Device 2= POKE 54016,2
Device 3= POKE 54016,4
Device 4= POKE 54016,8
Device 5= POKE 54016,16
Device 6= POKE 54016,32
Device 7= POKE 54016,64
Device 8= POKE 54016,128

Now, if you want to activate two or more devices, just make a simple add.
Example:
To drive devices one and two: POKE 54016,3
To drive devices three and six: POKE 54016,36
To drive all devices: POKE 54016,255

So, how you can see, that's it's too much easy.

Now, the schematic:
Imagen
This circuit drive leds, just leds. On this one I using a 74LS245 chip between the Atari and the "real world". :-D

But, with a transistor in between, you can drive a lamp or relay:
Imagen
RVcc depends on the relay do you have. The most populars are from 12V coils. If you using this one, the power (RVcc) must be 12V. Right?

With this method you don't need any cartridge interfase, just the both joysticks ports.

Any doubt or question please do it. I happily answer to you.
Avatar de Usuario
ZZT
Site Admin
Site Admin
 
Mensajes: 11194
Registrado: Mar Nov 07, 2006 5:45 pm
Ubicación: La Florida-Santiago-Chile

Re: atari doubt

Notapor ZZT el Jue Ene 16, 2014 7:39 pm

WARNING! do not short or mix 5Vcc from the Atari and 12Vcc (RVcc) of the relay!!!!

Be extremely careful with that cuestion. If you mess around, your Atari must fried in a microsecond!
Avatar de Usuario
ZZT
Site Admin
Site Admin
 
Mensajes: 11194
Registrado: Mar Nov 07, 2006 5:45 pm
Ubicación: La Florida-Santiago-Chile

Re: atari doubt

Notapor redwine el Jue Ene 16, 2014 8:25 pm

W). ese es mi zetita de toda la vida
Avatar de Usuario
redwine
expert
expert
 
Mensajes: 1180
Registrado: Jue Abr 16, 2009 7:12 pm
Ubicación: O V A L L E

Re: atari doubt

Notapor BonesCollector el Vie Ene 17, 2014 12:57 am

Avatar de Usuario
BonesCollector
expert
expert
 
Mensajes: 3245
Registrado: Vie Nov 10, 2006 10:02 pm
Ubicación: Santiago de Chile

Re: atari doubt

Notapor Denijs el Sab Ene 18, 2014 7:25 am

Thanks for the quick respons now it is up to me to make it all working.

i will sure ask you some more because i want to have some inputs in return if it is possible and more outputs.
that is where i want to use the cardrige or the serial bus at the back of the atari.

and i want to no howe i can make de eprom writer/reader so i can make some prints.

but first i will make the relay outputs.

Denijs.
Denijs
novice
novice
 
Mensajes: 3
Registrado: Jue Ene 16, 2014 6:19 pm

Re: atari doubt

Notapor ZZT el Lun Ene 20, 2014 4:40 am

Denijs escribió:Thanks for the quick respons now it is up to me to make it all working.

i will sure ask you some more because i want to have some inputs in return if it is possible and more outputs.
that is where i want to use the cardrige or the serial bus at the back of the atari.

and i want to no howe i can make de eprom writer/reader so i can make some prints.

but first i will make the relay outputs.

Denijs.

Yeah! try with the relays first.

About your other request.... well, I really don't know yet how much you know about this kind of electronic projects. So, I'm a little scary, because when using the cartridge port or parallel port the chances of burning the Atari are increasing exponentially. You really have to be aware of that!

Now, go with the relays outputs (through the joystick ports) and later, if you have success with that, with pleasure, I will help you in more complex things.

Please send pics!

PD: you are Dutch? maybe German?
Avatar de Usuario
ZZT
Site Admin
Site Admin
 
Mensajes: 11194
Registrado: Mar Nov 07, 2006 5:45 pm
Ubicación: La Florida-Santiago-Chile

Re: atari doubt

Notapor Denijs el Mar Ene 21, 2014 11:33 pm

I 'am Dutch (the Netherlands) I live in de town Heerhugowaard.
Denijs
novice
novice
 
Mensajes: 3
Registrado: Jue Ene 16, 2014 6:19 pm

Re: atari doubt

Notapor ZZT el Mié Ene 22, 2014 2:19 am

Denijs escribió:I 'am Dutch (the Netherlands) I live in de town Heerhugowaard.


I knew it! Because the way you write. :-D

By the way, I'd love go to Holland... see some windmills round and round must be cool. (-o
Avatar de Usuario
ZZT
Site Admin
Site Admin
 
Mensajes: 11194
Registrado: Mar Nov 07, 2006 5:45 pm
Ubicación: La Florida-Santiago-Chile


Volver a PROYECTOS

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado

cron