Main Site Documentation

RLY08 Relay Board


#1

Has anyone used the RLY08 board for their project?

More info: http://www.robot-electronics.co.uk/htm/rly08i2c.htm

Have one, just awaiting connectors to arrive to get it connected up in i2c mode with my FEZ Cobra.

Ideally looking for a code sample as a starting point if anyone has already done the hard bit! Just thinking the Relayx16 board’s code may be worth a look.

Thanks.


#2

If I were you, I would check out a i2c driver (example: the relay board driver uses i2c :wink: )

Then you can look at the commands posted on the website to control the board:


#3

On their site, there’s an example section, with code for various languages. One of them is C# 2008: http://www.robot-electronics.co.uk/files/cs_rly08_ser.zip

All you need to control this board is in there.


#4

Thanks.

I have a Relay16 board and had started to look at the driver code to see what could be reused. However I thought I’d ask if anyone had already done the “donkey work” to save me reinventing the wheel! :wink:

Unfortunately the example on the website is the RLY08 being used in Serial mode not i2c.

Looks like I’ll have to write the driver for this device in i2c mode. Will release it for others to use once I’m happy it is reliable.


#5

OK good. Please let us know if you have any questions left :slight_smile: