Beginging k8055 Project

First off, hello everybody, this board is way more detailed then I could ever imagine.

Second off, I have no idea what section my post should be in so I figured I would start in the PC section. I have searched for my problem, but it seems everybody is way farther than I am so hopefully this will help out some newbies.

Finally my problem: I am trying to use this k8055 just to trigger relays. I am very unskilled with electronics like this so its kinda hard for me to figure out and I find it hard to explain. Before I bought this, I used trigger switches to run the relays. They are 12V DC relays if that helps. So what I figure I have to do is wire the relays to the power source, then have them get triggered by the k8055 and stay on, but I have no idea how to do that. Hopefully this makes sense, but we’ll see. Again, sorry if it has been answered before, but I can’t find the answer anywhere so please point me in the right direction. Thanks in advance for any help.

EDIT: not really an edit but I tried something and I think I’m on the right path so I’ll leave that incase it helps somebody help me. I believe I need to make the k8055 a trigger switch. I have all my relays wired up and labeled for my trigger switches (like normally open and normally closed). I figured to get this to work I would run one end of the NO switch into the ground and the other end into the O1 and hit the output 1 on the demo it would work. But before I could hit the switch, the relay would already be active, therefore bypassing the whole ‘switch’ I want.

EDIT2: I tried to make the simple circuit, but I’ve never drawn something like this so it may not be clear. What the simple circuit does is once you hit trigger switch 1 (TS1) it turns on relay 1 (R1). Then TS2 turns on R2 and TS3 turns on R3 and finally TS4 kills all 3 of them. What I want to happen is the k8055 take over the place of the trigger switches. I was fiddling around and I tried putting the normally closed (NC) wire into the input side and the other side to an output. I then hit a the output button on the demo and it work, but only work whenever I did just one switch. If I tried TS1-TS3 and hit first ‘switch’ all three relays activated. I haven’t tried it with the kill switch but I don’t really understand how.

On the K8055 the digital outputs provide a path to ground when activated.
You’ll need on more relay.
Connect the negative of your power source to the GND terminal of the board.
Connect pin 14 on each relay to an output (O1 to R1-14 thru O4 to R4-14 for example).
Connect the positive of your power source to R4 pins 9 & 13.
Connect R4 pin 1 (NC) to R1, R2 & R3 pin 13.

Now activating O1 should energize R1, O2 energizes R2, O3 energizes R3, and O4 energizes R4 which deenergizes R1, R2, and R3.

Any idea how to make a custom program for this board?
I took some C++ classes a few years back, but have brain dumped it all.

Thanks for the reply, makes sense, I will try it when I get time. As far as programming I was going to us visual basic, but I haven’t even got started on that since when I run the program given in the booklet it can’t find the .dll. Maybe is because I’m on windows 7 but I don’t know. Thanks again

Please put the DLL to the Windows folder. The 64-bit operating system doesn’t find it from System32 folder.

See also this thread how to solve other possible problems with Windows 7:
viewtopic.php?f=3&t=4005

After finally getting time to work on this, wacachu2 your method worked perfectly, thanks a lot. VEL255, that also worked thanks. Now I have some questions about programming. First off, I was wondering if I could use the visual basic located inside of EXCEL. I had to delete some lines from the sample program in the user manual, but I got it to connect. The command ‘check(i)’ does not seem to work. If this does/doesn’t work, where can I go to figure out how to activate the outputs just like a on/off switch? It seems like no one on these boards are trying to do something as simple as me so it is pretty overwhelming trying to find it. Thanks again for all the help!

EDIT: Seems like all I had to do was use ‘SetDigitalChannel (#)’. And also, with using the ‘cleardigitalchannel’ I can get rid of the trigger switch I have that is killing all the other switches.

[quote=“bcrowdis”]I was wondering if I could use the visual basic located inside of EXCEL.
[/quote]
Try having a look at this post viewtopic.php?p=15677#p15677 might be something there you could use.