NEW >>> K8090 8-Channel USB Relay Card

I bought the 8 channel relay card yesterday, I have to interface this with the Lab view project. Now I have updated the drivers but please post me if it is possible to access this device from the Labview. I am worried If I have to write a new driver for labview or this driver given with the installation CD is valid for labview too.

Please post me your ideas on this.

Hi,

I have a K8090 and I just bought a Raspberry Pi.
I was hoping that I could connect both so that the Raspberry Pi could run software that controls the K8090.

Are there examples of source code available that control the K8090 from Linux?

Thanks!

Nevermind, I found instructions here: http://forum.velleman.eu/viewtopic.php?f=3&t=6186.

Thanks

hello
i have 4 K8090 and a ipad and iphone.
i have install K8090 remote app and it’s verry good
i have lauch 4 server with different port an com on my pc “card 1= port 1,com1” ,“card 2 =port 2,com2” etc…

and i have modify app ifo.plist “app version number” for install 4X app 8090 remote on the same iphone.

multicard work fine but in the app it’s not possible to rename the label number relais 1,relais 2,relais3 etc… it’s possible to modiffy it??? because i have 32 relais and i don’t know witch relais command what!!!
and possibility to check push buton or interupteur mode for each relais.

in mobile K8090 app it’s possible but multicard not working!!!

when yo do a new version of K8090 remote
my dream are:
a pc app with server integrated… for command a 8090 with pc and iphone on the same time and multicard support!!!

it’s possible

my mail is bricedenice2005@yahoo.fr
sorry for my bad english if you speak french it’s verry good!!!

Hello,

I’ve seen you have server software available for iOS apps.
I’m wondering if any of these servers can be used for commincation from a webserver also?

That may be possible, the protocol of the server is the same as for the card, the server just acts as a gateway.

I’m guessing that server communicates via some kind of REST API. It would really help if he/she who made the server application would be so kind to share that.

Could anyone help me to get in touch with the correct person here?

The server software for the K8090 Remote iOS application uses that same protocol as the K8090.

This installer package contains the K8090 protocol PDF files:
velleman.eu/downloads/files/ … 0_rev1.zip

RESTful is not very suitable in this case since it would require continuous polling and you would not get very good responsiveness.

I’m building a web-based booking-system for indoor sport-facilities and require some kind of software on the computor that is connected to the K8090 to handle calls from a web-server.
My guesses where that the server softare communicates with the iOS app via a REST API, but as I understand from what you are saying the iOS app uses the same protocoll to communicate with the server as used between card and server?

I’m running the server but would like to talk to it via my web-server instead of the iOS app :slight_smile:

[quote=“VEL448”]All the kits you mentioned need a server application running on a computer that relays traffic from the module to the iPhone/iPad…

Coincidentally, a new module is being developed that will have an ethernet interface, eight relais, an iPhone/iPad app to operate it, a web interface, etc. Depending on how long you can postpone your project, I think this will be a perfect match![/quote]

HO ! very good news ! Waiting for it for a while !

Will buy one ! , but did you plan to change form factor of the card? because I have done a box for it…

And a last idea : It can be great to add an usb port on it to drive an old K8090 card attached on it to get 16 port

[quote=“casi”]I’m building a web-based booking-system for indoor sport-facilities and require some kind of software on the computor that is connected to the K8090 to handle calls from a web-server.
My guesses where that the server softare communicates with the iOS app via a REST API, but as I understand from what you are saying the iOS app uses the same protocoll to communicate with the server as used between card and server?

I’m running the server but would like to talk to it via my web-server instead of the iOS app :)[/quote]

It’s very easy , just open port 2233 to the server and send plain text “relai1-On” or “relai1-Off” , same way with 2 to 8.

Would that mean that everyone on the internet can send that?

If your firewall opened to that port yes

Ah, you meant the Windows Firewall on the system with the card attached. For some reason I thought about port forwarding, my mistake.

Could you have some examples in c. I have a project using multiple boards and com port which could make this a handy thing to have.

I’m searching for some linux shell commands to use my velleman k8090 I can toggle the relays already but I also want to read the status of the relays.

Can this be done in simple shell?

What are the serial ports credentials to connect with by example putty or minicom? When I use the credentials of the manual my screen stays black

Hi!

If I start my computer I can’t connect to the device with the Demo application, it shows an error “Failed to connect. Access is denied”. I can fix it only if I plug it into another USB, but after the next restart the same problem occurs. I installed the driver, it doesn’t show any problem. Furthermore if I try to Connect to the board in C# it returns false, if I try Disconnect first I get the error: “Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”
I have Windows 8 operating system.

Thank you for your help in advance.

Don’t call disconnect without a succesful connect.

This is the K8090 driver for Windows 8:
velleman.eu/downloads/files/ … 0-win8.zip

Once the device is installed correctly using this driver, the K8090 Demo software should be able to connect to the COM port that is assigned to the K8090.

I’m currently writing a little python script to toggle the relays and read the status of the relays.
I managed to toggle them one by one and all at a time. I also managed to read the status of the relays.
I also know the values of the relays are:

1
2
4
8
10
20
40
80

When I read the relay status I get some hexadecimal notation like this
0451ffff00ad0f

I know that the value I have to use is the one in bolt but when I have several relays the decimal value isn’t just the sum of the corresponding values. Is there a way to calculate this or is there a list of possible values and there relay state.

Just a guess, those values are probably HEX values and their decimal counterparts are 1, 2, 4, 8, 16, 32, 64 and 128. Use bitwise AND and OR functions with things like that.