Welcome, Guest. Please login or register.

Author Topic: A new project  (Read 2448 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
A new project
« on: May 13, 2006, 06:00:51 PM »
As some of you will know, I use an LCD TV for my Miggy, which displays both the VGA output from my Voodoo and the RGB output from the 15KHz display.

This is handy, but a little bit annoying when I have to use the remote to change from the VGA input to the RGB input every time I change between Voodoo and AGA screenmodes.

I have bought a learning remote, which I will teach the commands to change to the VGA input and the TV input. I will then rip the remote apart and connect it to a parallel relay board. I can then use software on the Amiga to trigger the pushing of each button.

I already use AmigaDOS scripts to run my WHDLoad games, so I can put a command before WHDLoad starts to send the correct command to the relay board to change to the TV input, then once the game has quit it will send another command to change it back to the Voodoo.

Cool huh :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: A new project
« Reply #1 on: May 13, 2006, 08:24:47 PM »
Sounds like fun, especially with some of the 'One4All' remotes that you can hack their EPROM for new codes and functions :hammer:

Did you ever checkout InfraJoy/InfraRexx, an IR interface that connects to the joyport and is controllable by Arexx?
 It worked fine on my A1200, but it never learned the IR codes properly on my A4000  
On schedule, and suing
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: A new project
« Reply #2 on: May 13, 2006, 09:14:08 PM »
The One4All remotes can't create the codes I need, and it's cheaper to get a universal remote than to get a chip programmer to rewrite the One4All's ROM  ;-)

That project you linked to, was it the one CU Amiga gave away on a magazine cover? They had the PCB sellotaped to the front, and you had to send away for the components. I built it once, but never got it working.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Oliver

  • Hero Member
  • *****
  • Join Date: Sep 2005
  • Posts: 803
    • Show only replies by Oliver
Re: A new project
« Reply #3 on: May 14, 2006, 01:45:50 PM »
Hi,

Sounds like a fun project.  I'm not sure exactly how you will do it, but can't you do this just with logic gates, and leave out the relays?  I think it should be simpler, smaller, and use less power.
Good good study, day day up!
 

Offline Homer

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1166
    • Show only replies by Homer
    • http://www.graingerweb.net
Re: A new project
« Reply #4 on: May 14, 2006, 02:34:56 PM »
I built a working IR interface from the magazine many years ago complete with the stickers  :-D
If Arexx can do this it could be the better option as it opens up other control idea's and possibilities as well
 :idea: but for now, its Sunday afternoon so I'll have a :pint:
Let X = X
{(c) Laurie Anderson}
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: A new project
« Reply #5 on: May 14, 2006, 02:44:47 PM »
Quote
Oliver wrote:
Sounds like a fun project.  I'm not sure exactly how you will do it, but can't you do this just with logic gates, and leave out the relays?  I think it should be simpler, smaller, and use less power.

If you can tell me how, then I'll do it :-) I know very little about parallel ports so I wouldn't know where to start.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Oliver

  • Hero Member
  • *****
  • Join Date: Sep 2005
  • Posts: 803
    • Show only replies by Oliver
Re: A new project
« Reply #6 on: May 14, 2006, 03:10:02 PM »
I haven't used parallel ports for much before, but I think they're not overly complicated.

I think your current plan is to switch some control signals for the remote via relays, right?  So probably this could be done using transistors instead.  I've only used relays when I've needed to switch fairly large currents, or AC currents.  You shouldn't normally need to use relays for digital control signals.  I think relay designs are generally bigger and more expensive than transistor designs, and can create additional electrical noise.

Maybe I've misunderstood your idea.  :-?
Good good study, day day up!
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: A new project
« Reply #7 on: May 14, 2006, 04:04:37 PM »
You understand correctly :-) The relay board will connect to the parallel port. The Amiga will issue a command to the parallel port which closes relay x. Relay x will close, completing a circuit which will short across the contacts for button y on the remote control, in effect "pushing" that button.

If you think this could be done better with transistors and can let me know how, then I will try. Otherwise, I would rather not experiment and risk damaging my parallel port!

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Oliver

  • Hero Member
  • *****
  • Join Date: Sep 2005
  • Posts: 803
    • Show only replies by Oliver
Re: A new project
« Reply #8 on: May 14, 2006, 05:02:32 PM »
Hi,

I would guess you could do the same design that you were thinking of, but use transmission gates instead of relays.  Do a search for 'transmission gate'.  There are other ways to tackle it, but I think this would match your original idea very closely.

You could have a look at this chip.  It has 4 transmission gates built in.  There should be a number of implementations, each of a '4066' designation.  The switch resistance is ~80 Ohms.  I think most relays will give much lower resistance than this, though.

I seem to recall there are also solid state relays available now (I've only used the electromechanical types).  I think internally, they are similar to photoconductors or MOS transistors.  These should be smaller, less noisy, and maybe have multi packaged designs, and presumably low activation currents.

Otherwise, you could have a look inside the remote control, and see what kind of signal is required internally.  Then, design the transistors to affect the signals as required.  This might be more of a hassle for you though.

edit- I haven't looked at this very closely, so take all the usual precautions.
Good good study, day day up!
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: A new project
« Reply #9 on: May 14, 2006, 06:23:12 PM »
Quote

motorollin wrote:
The One4All remotes can't create the codes I need, and it's cheaper to get a universal remote than to get a chip programmer to rewrite the One4All's ROM  ;-)

You don't need a chip programmer, just a homemade serial cable that connects to a header that's hidden inside the battery compartment
More info on the JP1 website

Quote

That project you linked to, was it the one CU Amiga gave away on a magazine cover

Yup that's the one, IIRC Eyetech used to sell them too. Although I guess it depends if you'd rather hog a joyport or parallel port as to what method you eventually end up using.
There's a post by Stedy on the Amiga Hacks Yahoo group with some  details of possible problems and fixes for the InfraJoy, I guess he's been too busy with the Amy'05 to test them out.

I stumbled across something else on aminet that might be of interest to you,
TURD ..The Ultimate Relay Driver, supports parallel port relay cards and also has ARexx support.

On schedule, and suing
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: A new project
« Reply #10 on: May 14, 2006, 07:12:24 PM »
I did look at TURD on Aminet, but I want something which can be driven with CLI commands, not a GUI or ARexx. Once the relay board has arrived I will probably be looking for advice on writing a small C programme to control the parallel port.

There is a Unix command to drive parallel relay boards, and if I understand correctly it sends an 8 bit string to the port which turns the 8 data lines on or off, which is then translated by the relay board to turn the 8 relays on or off.

I suppose this would be quite simple to achieve with the Amiga, but I have no idea where to start.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10