Announcement

Collapse
No announcement yet.

Velleman K8055 Plugin V1.0.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bestgear
    replied
    Hi Malarcy

    You will be very glad and releived to hear that I am now up and running on the main HS server!

    It looks like the root to all my problems with the 8055 plugin was the Velleman supplied Dll I was using. Having switched to yours, I am now up and running.

    My next worry is that I go back to the "new" Velleman Dll... to gain multi board support (which I understand the old version omits) I end up broken again!

    Are you using a later dll or the same one? I think the later ones state they handle memory and performance better....

    I really appreicate all your help... this has been a long drawn out pain in the butt...

    DJ
    Last edited by Bestgear; June 21, 2006, 08:15 AM.

    Leave a comment:


  • Malarcy
    replied
    Guys - I will hopefully have some rawish test code out end of this weekend - assuming, no other HA emergencies come up ( just been away for the weekend - get a call from the wife while I am in the middle of France watching some loud motorcars..... - saying that the house has gone nuts and all the lights keep coming on, she has done the in case of emergency unplug this (cm11) thing and no difference ..., so spent today isolating a rouge tm13 that I had forgotten about in the garage)....

    WAF low at the moment - so I need to tread carefully but I should have some code that with a few manual reg entries should get up and running, I currently only have one board - but the logic for driving mutliples makes it relatively easy to emulate the others - I'll depend on you guys with 2 or more to debug for me.

    more when I have it.

    Malarcy

    Leave a comment:


  • Bestgear
    replied
    Malrcy...I have two 8055's, so if you want, I can send you mine so you can test...

    DJ

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Hi malarcy,I saw some msg about the multiple board version, if you want I have to boards and give it a testrun

    Walter

    Leave a comment:


  • Bestgear
    replied
    Hi Mike... answers inline....

    "Is this a plugin for HomeSeer?? I wish to write a plugin for Girder if possible so thats why im trying to understand how to wire my IR receiver device to the 8055 to learn how to use it as a USB and not Serial device"

    This thread is discussing the excellent work that Malarcy has and is doing on writing a homeseer plugin for the 8055. You would not connect a grider or other IR receiver to a 8055 - most Ir devices are RS232 or USB themselves and have no need for a device such as a 8055. I am not a developer by *any* means... but reading and writing to a serial port in HS is a very simple operation... even I can do that! I suggest you have a look at the scripts libraries on this Board - there are heaps of samples you could build off. as for USB, most...(certainly many) usb devices present themselves as serial com ports, so that may bring to the same place.


    "Yes i have been to the US site but it just promotes buying more kits etc. I suppose is practicle experience of using this device, if it is something that is going to help."

    The site does covery everything Velleman build - I had envisaged that the documents there would have helped you understand interfacing to the 8055. The last few pages in the product manual do infact cover the i/O aspects and how to connect safely to the board. As above - dont bother reading them as the 8055 wont do what you want.


    "My Serial device uses the DCD, RTS & GND pins of the serial port. Is it possible to plug these wires into the 8055, run the demo software to see what lights up or changes when i send a IR signal via a remote control being directed to my receiver????"

    Nope is the simple answer...

    I think you should have a look around at the code samples and snippets that are in the libraries, and post a question in one of these forums, asking specifically about reading/writing to serial ports.... but pls do a search first, as much (everything!) has already been written about that ability.

    Sorry that is not the answer you are looking for... but it should point you in the right direction.


    DJ

    Leave a comment:


  • Guest's Avatar
    Guest replied
    what can i use this card for???

    Hi DJblack

    Yes I know what the kit has as everywhere states the same stuff but its what these in/outputs mean, any examples???

    you say ...
    With the plugin, these items appear as devices that you can monitor and control....
    Is this a plugin for HomeSeer?? I wish to write a plugin for Girder if possible so thats why im trying to understand how to wire my IR receiver device to the 8055 to learn how to use it as a USB and not Serial device

    Yes i have been to the US site but it just promotes buying more kits etc. I suppose is practicle experience of using this device, if it is something that is going to help.

    My Serial device uses the DCD, RTS & GND pins of the serial port. Is it possible to plug these wires into the 8055, run the demo software to see what lights up or changes when i send a IR signal via a remote control being directed to my receiver????


    Sorry I still am lost
    Many thanks
    Mike )

    Leave a comment:


  • Bestgear
    replied
    Hi....yes, we all ask stupid questions... he he...

    The Velleman 8055 kit gives you 8 digital outputs and 5 digital inputs, along with a few other things such as counters on two of the inputs.

    With the plugin, these items appear as devices that you can monitor and control....

    Simple really.... hope that helps...

    I personally go the velleman US site, as it has heaps of stuff on it....

    DJ

    Leave a comment:


  • Guest's Avatar
    Guest replied
    a question about this Velleman 8055 card

    Basiclly what can i use this card for???

    I am sorry if this post is inappropriate for this forum but beleive me i am lost where to look. when you search on the web for 'velleman 8055' you get alot in german which i dont understand.
    I have been over a number of years trying to make my own infra red (IR) transmitter and receiver connected to the pc. so that any remote can be used to control the pc (using Girder and WinLirc for example) and the pc to control other IR devices. I have built a receiver (and works) did have a transmitter working for about an hour but these devices are via the serial port. I wish to have these devices connected via USB!
    I am not electronicly experienced but i thought this '8055 - USB Experiment Interface Card' would give me a grounding in problem solving how to get my project off the ground (again). I thought that having in/output would enable me to plug in the wires from my device and see what lights up. I then imagined i would replacate the components to make a standalone device.
    Now before you all fall down laughing thinking what a mad person I am and that im barking up at the wrong tree, its just been myself trying to piece together little snipets of knowledge and experience into a project that i know does work as there are working models out there. But i am convince i could make them better, especially with the software as that is what i am better or able to grasp better with.

    I realy hope i have given enough information for you to grasp and even able to help or redirect me to a better forum.
    Many thanks for any help
    Mike )
    Last edited by scag; June 15, 2006, 06:15 AM. Reason: miss typed - pressed return instead of edit sorry!

    Leave a comment:


  • Malarcy
    replied
    Right - I am going to sort this issue and get the multi board version done if it kills me - I am going to be away for the next week or so and I'll get some time to look at this weekend after next - sorry - real world just won't go away and I haven't got any opportunity until then.


    Appreciate the patience - and I'll post some updates when I have more

    Malarcy

    Leave a comment:


  • Bestgear
    replied
    Hi...this is apparently the latest, with optimisation for multiple boards

    D
    Attached Files

    Leave a comment:


  • Malarcy
    replied
    The version that I have used fore most of the testing is this one - it doesn't seem to contain a version number.

    Can you post a link (or the file) you have found - I'll do a byte compare.

    Malarcy
    Attached Files

    Leave a comment:


  • Bestgear
    replied
    Well..back again...ish...

    I have found an old DLL version for the K8055 on the web, and it now appears to work!!

    I do have the occasional K8055e0 error... with "Access violation at address 684B19D1 in modules HID.dll. Read of address 00000000"

    I guess this is windows HID dll... so thats anothe trail to follow....

    Inputs being logged? Well... no sign of any log entry and the device has not got the dont log box ticked... ideas? I want to get all HS happenings in SQl, so really need these inputs logged.

    Back to the DLL.... the new one I found in the US is version 2.0.0.1 if that helps...

    DJ

    Leave a comment:


  • Bestgear
    replied
    Well.made some progress tonight......!

    But not quite there yet!!

    I downloaded a new DLL from Velleman's US site, and it is different to the two versions that I have previously tried from the original distribution CD.

    So... now the plug in initialises...gets further... and devices are created... but none of them work....Velleman demo proggy still works ok.

    BUT - At startup with your debug version.... (clicking Ok as we go)

    In INITIO - Starting
    In INITIO - about to call InitHW with port=1
    In INITIO - made it back from the inithw (new stage! - never seen this before)
    In INITIO - call to inithw was successful
    In INITIO - about to set gioenabled
    Run-time error '6': Overflow
    In INITIO - about to exit.....

    And in the HS log..

    08/06/2006 23:27:00 - COM Plugin - InitIO error: Application-defined or object-defined error
    08/06/2006 23:27:00 - COM Plugin Erro - Error initializing Custom Interface: Application-defined or object-defined error
    08/06/2006 23:27:00 - Error - Initializing interface: malk8055->Application-defined or object-defined error

    Is this any help!?!?!

    Dj

    Leave a comment:


  • Malarcy
    replied
    If the device has not been set to "don't log" you should get log messages for each input trigger.


    Malarcy

    Leave a comment:


  • Bestgear
    replied
    ...as an aside, do input events get logged when they happen?

    DJ

    Leave a comment:

Working...
X