duststorm / boblight

Automatically exported from code.google.com/p/boblight
GNU General Public License v3.0
0 stars 0 forks source link

Arduino LTBL-code not working #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by 2kelN...@gmail.com on 27 Dec 2011 at 7:04

GoogleCodeExporter commented 9 years ago
What code did you program into the arduino?

Original comment by bob.loo...@gmail.com on 31 Dec 2011 at 12:21

GoogleCodeExporter commented 9 years ago
the code from arduino/boblight_arduino_pwm/boblight_arduino_pwm.pde from svn 
revision 400

Original comment by 2kelN...@gmail.com on 31 Dec 2011 at 11:17

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

Original comment by bob.loo...@gmail.com on 2 Jan 2012 at 11:27

GoogleCodeExporter commented 9 years ago
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. 

Original comment by 2kelN...@gmail.com on 3 Jan 2012 at 1:51

GoogleCodeExporter commented 9 years ago
The return from the device is the request of the current channel values.

Original comment by bob.loo...@gmail.com on 4 Jan 2012 at 3:45

GoogleCodeExporter commented 9 years ago
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?

Original comment by darth-...@web.de on 17 Jan 2012 at 10:02

GoogleCodeExporter commented 9 years ago
Yes, because that arduino code implements the momo protocol, I don't have any 
arduino code that implements the LTBL protocol.

Original comment by bob.loo...@gmail.com on 20 Jan 2012 at 7:30

GoogleCodeExporter commented 9 years ago
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). 

Original comment by darth-...@web.de on 21 Jan 2012 at 1:33

GoogleCodeExporter commented 9 years ago
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.

Original comment by bob.loo...@gmail.com on 21 Jan 2012 at 6:13

GoogleCodeExporter commented 9 years ago
Dunno what to do here, closing.

Original comment by bob.loo...@gmail.com on 2 Jul 2012 at 12:11