[RELEASE] DFAtmo the driver for Atmolight controllers

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
durchflieger Offline
Member
Posts: 60
Joined: Sep 2011
Reputation: 2
Post: #41
tocinillo Wrote:One question:

I tried to use "speed" option with DFAtmo Add-on, but seems that doesn't work correctly. Under driver_param I wrote:

"speed=19200"

Doesnt work...

With boblight I use this config:

boblight-X11 -f -x -o saturation=5 -o value=10 -o threshold=10 -o use=1 -o interpolation=1 -o autospeed=0.2 -o speed=30

How I use speed=30 in DFAtmo?

Thanks four your awesome work!

The correct syntax is: speed:19200

Please post your working boblight.conf
(This post was last modified: 2011-10-13 13:43 by durchflieger.)
find quote
tocinillo Offline
Fan
Posts: 301
Joined: Dec 2010
Reputation: 2
Post: #42
With syntaxis = speed:19200 it seems that work (no error message) but Atmolight doesn't work (doesn't power on).

My boblight.conf is:

Quote:[global]
interface 127.0.0.1
port 19333

[device]
name ambilight
type atmo
output /dev/ttyUSB0
rate 38400
channels 15
interval 16000
prefix FF

[color]
name red
rgb FF0000
gamma 1.0
adjust 1.0
blacklevel 0.0

[color]
name green
rgb 00FF00
gamma 1.0
adjust 1.0
blacklevel 0.0

[color]
name blue
rgb 0000FF
gamma 1.0
adjust 1.0
blacklevel 0.0

[light]
name left
color red ambilight 4
color green ambilight 5
color blue ambilight 6
hscan 0 50
vscan 0 100

[light]
name right
color red ambilight 7
color green ambilight 8
color blue ambilight 9
hscan 50 100
vscan 0 100

[light]
name top
color red ambilight 10
color green ambilight 11
color blue ambilight 12
hscan 0 100
vscan 0 50

[light]
name bottom
color red ambilight 13
color green ambilight 14
color blue ambilight 15
hscan 0 100
vscan 50 100

And for turn ON Atmolight I use my own script with Executor:

Quote:#!/bin/sh
boblightd -f > /dev/null 2>&1
export DISPLAY=:0.0
boblight-X11 -f -x -o saturation=5 -o value=10 -o threshold=10 -o use=1 -o interpolation=1 -o autospeed=0.2 -o speed=30> /dev/null 2>&1

Regards and thanks!
find quote
durchflieger Offline
Member
Posts: 60
Joined: Sep 2011
Reputation: 2
Post: #43
@tocinillo

what kind of atmolight controller do you use?

xbmc on Windows or Linux?
(This post was last modified: 2011-10-13 23:01 by durchflieger.)
find quote
tocinillo Offline
Fan
Posts: 301
Joined: Dec 2010
Reputation: 2
Post: #44
Atmolight from Carsten Presser, Win7 32 bits.

Thanks!
find quote
durchflieger Offline
Member
Posts: 60
Joined: Sep 2011
Reputation: 2
Post: #45
tocinillo Wrote:Atmolight from Carsten Presser, Win7 32 bits.

Thanks!

The baudrate for this controller should be 38400 (the default speed of DFAtmo).
Your boblight.conf seems to be a Linux version (/dev/ttyUSB0) Confused?
Area to channel mapping in your boblight.conf is not default. You
need to specify a corresponding proto: configuration (see below).
I assume you do not configure the correct COM port in driver param?

Code:
driver -> serial
driver param -> COM1;proto:255|0|0|15|Rl|Gl|Bl|Rr|Gr|Br|Rt|Gt|Bt|Rb|Gb|Bb|0|0|0
areas -> top 1, bottom 1, left 1, right 1
(This post was last modified: 2011-10-14 08:18 by durchflieger.)
find quote
OOge Offline
Junior Member
Posts: 18
Joined: Aug 2011
Reputation: 0
Post: #46
Trying to get it to work with the sedu board. anybody tried this
find quote
erix Offline
Junior Member
Posts: 28
Joined: Mar 2004
Reputation: 0
Location: Finland
Post: #47
Can you please elaborate a bit about configuring the areas? I've read several times the README but still I have problems to understand the areas and sections.

I have a light setup with 3 lights on the top and 2 on both sides. With boblight configuration I was able to slice the screen up so that it nicely mapped to the lights but with this I'm not sure.

If anyone is interested, I'm using ShiftBars with arduino to drive the LED stripes.

Thanks,
-erix-
find quote
pike Offline
Project Manager
Posts: 4,820
Joined: Sep 2003
Reputation: 28
Location: Sweden
Post: #48
too bad AtmoLight from Carsten Presser is poorly designed.
I found a flicker issue which he could not resolve and he refused to give me my money back.

So I can't recommend this hardware, and I bet that KarateLight also has this issue.

Don't say I didn't warn you Sad

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
durchflieger Offline
Member
Posts: 60
Joined: Sep 2011
Reputation: 2
Post: #49
erix Wrote:Can you please elaborate a bit about configuring the areas? I've read several times the README but still I have problems to understand the areas and sections.

I have a light setup with 3 lights on the top and 2 on both sides. With boblight configuration I was able to slice the screen up so that it nicely mapped to the lights but with this I'm not sure.

If anyone is interested, I'm using ShiftBars with arduino to drive the LED stripes.

Thanks,
-erix-

Well maybe the label text i choose for the "Areas" dialog within the plugin settings dialog does confuse you a little bit. I think i will change these.

Similar to boblight you can slice the screen in DFAtmo. Each slice is called a "Section". Each Section has a location on the screen. These locations are called "Areas". DFAtmo knows the basic areas Top, Bottom, Left, Right which represents the four borders of the screen , the more special areas TopLeft, TopRight, BottomLeft, BottomRight which represents the corners of the screen and the center area which represents the hole screen.
You can have up to 128 sections in each basic area.
The sections are sliced in this way that each section has the same length
along the border.

Here are two examples of possible layouts for your installation.
Your LED strips in each section should cover the border
from + to + . You should choose the layout that best fits with
your installation.

Code:
[font=Fixedsys]Top 3, Bottom 2, Left 2:

+--T1--+--T2--+--T3--+
I                                    I
L1                                 R1
I                                    I
+                                  +
I                                    I
L2                                 R2
I                                    I
+                                  +


Top 1, Left 2, Right 2, TopLeft, TopRight:

TL--+--T1--+--TR
I                        I
+                      +
I                        I
L1                     R1
I                        I
+                      +
I                        I
L2                     R2
I                        I
+                      +
[/font]
I hope this helps a little bit.

Edit: I am struggling with the alignment of the layout inside the code section of this article. I already choose a fixed size font but alignment of spaces is going wrong. Can anybody give me a hint about that?

- durchflieger
(This post was last modified: 2011-10-24 10:21 by durchflieger.)
find quote
yadiel Offline
Junior Member
Posts: 5
Joined: Feb 2011
Reputation: 0
Location: Malaga (Spain)
Post: #50
Hello!

First, apologize for my bad English (thank goodness that there is google translator)

Use Carsten Atmolight Presser from Windows 7 64b with 4 strips of LEDs (one for each side of the television)
I have configured the port com3 atmolight, using the drivers that automatically detects windows.

Perfect, but I've seen in scenes where bright colors predominates (red, orange ...) there are abrupt changes. What option should I play to avoid that?

Thanks for everything.
find quote
Post Reply