The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rs232/USB relay control



Heh going with the SOM1 :

Instruction below - what could be simpler ?! 2 seconds hacking up a perl
script done.

If you require to write your own software the follow points should be noted

· The serial port should be programmed to 2400 baud no parity one start and
one stop bit.

· Two bytes of data are sent with each burst of data. The first byte
contains the address of the module and the second byte

contains the state of the relays with a 1 indicating that the relay should
be operated and a zero indicating that it should be

released. Relay 1 uses the most significant bit (128), Relay 2 the next bit
(64), Relay 3 uses bit 32 and Relay 4 uses bit 16.

The remaining low order bits must be set to zero.






----- Original Message -----
From: "Robert Welsh" <bob-ukha@xxxxxxx>
To: <ukha_d@xxxxxxx>
Sent: Thursday, September 11, 2003 2:32 PM
Subject: RE: [ukha_d] rs232/USB relay control


> > > something like http://www.dontronics.com/giga.html#io24
assuming
> > > you're handy with a soldering iron (or know a man who can).
> >
> > Hell no : Writting USB device drivers is a pain in the ****
> > (Oh yeh I should stop surfing and get back to writting that
> > piece of junk)..... Mind you this one does look VERY
> > interesting pity it's USB.
>
> You're wanting to support it on Linux - right ??
> I know there's Windows drivers for it...but you should drop the guys @
> http://www.ftdichip.com a line.
They were quite helpful last I spoke
> with them. (They're based in Glasgow).
> Might save you some development.
> Incidentally, I'd prefer to see more of these external units
supporting
> USB - so if you are developing something then, for me anyway, USB
would
> be a big plus-point.
>
> > Many thanks again Rob.
>
> No worries.
>
> Cheers,
> Rob
>
>
>
> ** UKHA2004 BE THERE! ** - start planning now.
>
> http://www.automatedhome.co.uk
> Post message: ukha_d@xxxxxxx
> Subscribe:  ukha_d-subscribe@xxxxxxx
> Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
> List owner:  ukha_d-owner@xxxxxxx
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>




Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.