4

I want to make the simplest and most reliable on/off device controlled from a compuer software (Java).

I was thinking about sinus sound singnal + RC filter with relay for specific frequency, but unfortunatelly I can't use sound card - it is already occupied for different purposes.

How can I achieve this without much compatibility/reliability issues. It should work both on Unix and Windows

I mean an output device, so I want to turn on/off relay from Java software.

debergalis
  • 11,870
  • 2
  • 49
  • 43
Piotr Müller
  • 5,323
  • 5
  • 55
  • 82

2 Answers2

2

USB MIDI adapter and then midi to relay .

Paxmees
  • 1,540
  • 1
  • 15
  • 28
  • I propably don't precised enough ot misunderstood you - I want an output device - turn on/off relay from java program. – Piotr Müller Nov 15 '13 at 08:27
  • I see a midi-out possibility but how to transform midi signal to simple 0/1 singnal from such output http://www.ausmidi.com/images/G2M-MIDI%20OUT.JPG ? – Piotr Müller Nov 15 '13 at 08:35
  • 1
    http://www.midisolutions.com/prodrel.htm for example. – Paxmees Nov 15 '13 at 10:15
  • Accepted - I think that RC filter + relay is simpler, but this seems to be most simple alternative and without compilacted custom hardware. – Piotr Müller Nov 20 '13 at 13:26
-1

Maybe use a Raspberry Pi (includes GPIO controller). Put a web service to control the GPIO. The web service is accesable from any HTTP client.

http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/

PeterMmm
  • 24,152
  • 13
  • 73
  • 111