USB-RLY02 example

I2C, Serial, Wireless etc.

Moderator: chris

USB-RLY02 example

Postby jos » Wed May 11, 2011 9:35 pm

I bought a USB-RLY02 just to switch a relay with a simple command, just as the documentation said.
But i cannot find a example to program this.
The test program is not working on my Windows 7 computer.
Can anybody help to make this relay board work.
Or can anybody make a sample program for me ?
jos
 
Posts: 1
Joined: Wed May 11, 2011 9:28 pm

Re: USB-RLY02 example

Postby chris » Thu May 12, 2011 9:48 am

I have just tried a USB-RLY02 with our computer thats running Windows 7 here and it works fine. Did you install the Devantech device drivers from the webpage as instructed? Letting windows automatically install its own drivers can cause issues.
Try reinstalling the driver and see if it fixes the problem.
User avatar
chris
 
Posts: 172
Joined: Wed Nov 08, 2006 3:13 pm
Location: Norfolk, England

Re: USB-RLY02 example

Postby martijnobb » Tue Nov 13, 2012 1:01 pm

The RLY02 works fine with me using the testprogram. Are there any code-samples available? The source of the test-program would be nice.
martijnobb
 
Posts: 1
Joined: Tue Nov 13, 2012 12:53 pm

Re: USB-RLY02 example

Postby chris » Wed Nov 14, 2012 10:03 am

There is some source code examples on the bottom of the USB-RLY16 page for Visual basic and c#. They are very simple and easy to see what you need for the USB-RLY02.
User avatar
chris
 
Posts: 172
Joined: Wed Nov 08, 2006 3:13 pm
Location: Norfolk, England


Return to Communication devices

Who is online

Users browsing this forum: No registered users and 1 guest

cron