2012-03-06, 20:44
Something is wrong with the boblight.conf you're using, for me to figure out what exactly, you need to upload it as a file somewhere, so not on a paste site.
bobo1on1 Wrote:Something is wrong with the boblight.conf you're using, for me to figure out what exactly, you need to upload it as a file somewhere, so not on a paste site.
[url=http://www.fileserve.com/file/2snfaXp/boblight.conf][b]File name: boblight.conf File size: 991 Bytes[/b][/url]
Memphiz Wrote:You didn't mix zero with O on that devicename did you?
bobo1on1 Wrote:It says otput instead of output.
bobo1on1 Wrote:It says otput instead of output.
beta-j Wrote:can you tell me what the number of channels in boblight.conf actually refers to please?
bobo1on1 Wrote:The channels in boblight.conf don't match the arduino pins, you should use channels 4, 5 and 6 as shown in the howto.
Also, set hscan to 0 100 since it's the only light you have.
(2012-03-04, 13:58)beta-j Wrote: [global]
interface 127.0.0.1
port 19333
[device]
Here it is - I just copied it off the tutorial page.
Quote:name arduino
output /dev/ttyACM0
channels 6
type momo
interval 20000
rate 38400
prefix 55 AA
#arduino bootloader runs when opening the serial port for the first time
#delay transmission one second after opening so we don.t send shit to the bootloader
delayafteropen 1000000
#debug on
[color]
name red
rgb FF0000
[color]
name green
rgb 00FF00
[color]
name blue
rgb 0000FF
[color]
name yellow
rgb FFFF00
adjust 0.5
blacklevel 0.1
gamma 2.3
[color]
name white
rgb FFFFFF
adjust 0.3
blacklevel 0.7
gamma 1.6
[light]
name main
color red arduino 5
color green arduino 6
color blue arduino 4
hscan 0 50
vscan 0 100
(2012-03-12, 07:53)phil65 Wrote: if your problem is software related and if you aren´t experienced with electronics I´d suggest to use some ULN2003A, then you do not have to solder that much.
(2012-03-12, 10:56)beta-j Wrote:(2012-03-12, 07:53)phil65 Wrote: if your problem is software related and if you aren´t experienced with electronics I´d suggest to use some ULN2003A, then you do not have to solder that much.
Actually I'm an electrical engineer - so I'm not really worried about the electronics - and in fact I'm already using a ULN2003A - it makes it that much easier to put everything together on a veroboard.
For the time being however I've hooked up a single RGB LED directly to pins 9,10 and 11 of the Arduino to eliminate any possible points of failure until I get everything working.
root@fritz:/var/tmp/boblight# boblightd
(InitLog) start of log /mod/root/.boblight/boblightd.log
(PrintFlags) starting boblightd
(CConfig::LoadConfigFromFile) opening /etc/boblight.conf
(CConfig::CheckConfig) checking config lines
(CConfig::CheckDeviceConfig) ERROR: /etc/boblight.conf no devices defined
(CConfig::CheckColorConfig) ERROR: /etc/boblight.conf no colors defined
(CConfig::CheckLightConfig) ERROR: /etc/boblight.conf no lights defined
> file packages/target-mipsel_uClibc-0.9.31.1/boblight-417/root/usr/bin/boblightd
packages/target-mipsel_uClibc-0.9.31.1/boblight-417/root/usr/bin/boblightd: ELF 32-bit LSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x3040000, stripped
root@fritz:/var/media/ftp/uStor01/archiv# ldd ./boblightd
libdl.so.0 => /lib/libdl.so.0 (0x2aabe000)
libm.so.0 => /lib/libm.so.0 (0x2aad1000)
librt.so.0 => /lib/librt.so.0 (0x2aaf9000)
libpthread.so.0 => /lib/libpthread.so.0 (0x2ab0a000)
libuClibc++.so.0 => /usr/lib/freetz/libuClibc++.so.0 (0x2ab2d000)
libc.so.0 => /lib/libc.so.0 (0x2ab61000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2abdc000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
root@fritz:/var/media/ftp/uStor01/archiv# ldd ./boblight-constant
libdl.so.0 => /lib/libdl.so.0 (0x2aabe000)
libm.so.0 => /lib/libm.so.0 (0x2aad1000)
librt.so.0 => /lib/librt.so.0 (0x2aaf9000)
libpthread.so.0 => /lib/libpthread.so.0 (0x2ab0a000)
libuClibc++.so.0 => /usr/lib/freetz/libuClibc++.so.0 (0x2ab2d000)
libc.so.0 => /lib/libc.so.0 (0x2ab61000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2abdc000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
root@fritz:/var/media/ftp/uStor01/archiv# ./boblightd --help
Usage: boblightd [OPTION]
options:
ERROR: Unknown option -
-c set the config file, default is /etc/boblight.conf
-f fork