Export to GitHub

boblight - issue #23

Arduino LTBL-code not working


Posted on Dec 27, 2011 by Happy Panda

What steps will reproduce the problem? 1. Compile and run boblightd 2. Connect an arduino via USB using ltbl

What is the expected output? What do you see instead? Expected behaviour: Being able to control the output pins of the arduino using eg. boblight-constant FF0000 for {1,0,0} output.

What version of the product are you using? On what operating system? rev400, Ubuntu.

Please provide any additional information below: It seems that the skeleton code provided does not properly reflect the updates ltbl-protocol. Several steps are completely ommited.

Comment #1

Posted on Dec 31, 2011 by Quick Cat

What code did you program into the arduino?

Comment #2

Posted on Dec 31, 2011 by Happy Panda

the code from arduino/boblight_arduino_pwm/boblight_arduino_pwm.pde from svn revision 400

Comment #3

Posted on Jan 2, 2012 by Quick Cat

That code was designed to use the momo protocol, you can use duemilanove.conf or mega.conf (depending on which arduino you have).

Comment #4

Posted on Jan 3, 2012 by Happy Panda

Is there a good explanation of the LTBL-protocol anywhere? I found: http://blogger.xs4all.nl/loosen/articles/420470.aspx but that link doesn't seem to state the same behaviour as the source code. For ex. the source code expects a return from the LTBL device, which is not specified.

Comment #5

Posted on Jan 4, 2012 by Quick Cat

The return from the device is the request of the current channel values.

Comment #6

Posted on Jan 17, 2012 by Grumpy Bear

I tried to use the arduino code posted in the link above. When I start boblightd it terminates with an Error "Device not responding". I think the code implements the ltbl-protocol as it is described here: http://blogger.xs4all.nl/loosen/articles/420470.aspx Are there any changes, that are not described in the example?

Comment #7

Posted on Jan 20, 2012 by Quick Cat

Yes, because that arduino code implements the momo protocol, I don't have any arduino code that implements the LTBL protocol.

Comment #8

Posted on Jan 21, 2012 by Grumpy Bear

Ahh damn... I mixed up the links, thought the link above points somwhere else. Well I tried to use that code http://geekswithblogs.net/kobush/archive/2009/11/27/136572.aspx (included in the package boblight).

Comment #9

Posted on Jan 21, 2012 by Quick Cat

I don't know how that arduino code could have ever worked with the LTBL protocol in boblight, it never writes anything to the serial port.

Comment #10

Posted on Jul 2, 2012 by Quick Cat

Dunno what to do here, closing.

Status: WontFix

Labels:
Type-Defect Priority-Medium