LW12: Change Lamp type
Moderator: Guido Körber
LW12: Change Lamp type
Hello,
I'm using the LED-Warrior 12 to read the DALI signal via I2C.
I'm in a situation where i need to receive dimming and color RGB values.
I managed to read the dimming values which was quite as easy as reading the raw / pwm register values, but using a CASAMBI DALI master i'm only able to control dimming and not RGB.
So do i need to change sthg in the DALI config register in order to accomplish this task? and if so, how should it be like?
Thanks in advance !
I'm using the LED-Warrior 12 to read the DALI signal via I2C.
I'm in a situation where i need to receive dimming and color RGB values.
I managed to read the dimming values which was quite as easy as reading the raw / pwm register values, but using a CASAMBI DALI master i'm only able to control dimming and not RGB.
So do i need to change sthg in the DALI config register in order to accomplish this task? and if so, how should it be like?
Thanks in advance !
- Christoph Jung
- Posts: 670
- Joined: Sun Oct 08, 2006 3:43 pm
- Location: Germany / Berlin
- Contact:
Re: LW12: Change Lamp type
The LED-Warrior12 is device type 6 and you can not change this to device type 8. The LW12 have up to 4 "channels" but
each of them is a single device.
each of them is a single device.
Re: LW12: Change Lamp type
Ok thanks for the quick reply,
So what can we exactly modify using the DALI config register? can you please explain the function of each byte of the 16 used to communicate with the DALI memory bank?
I know that 136 bytes are : 16 for DALI memory bank 1 and 120 = 30 x 4 channels.
I need to know what the 16 bytes do exactly.
Thank you in advance Christoph !
So what can we exactly modify using the DALI config register? can you please explain the function of each byte of the 16 used to communicate with the DALI memory bank?
I know that 136 bytes are : 16 for DALI memory bank 1 and 120 = 30 x 4 channels.
I need to know what the 16 bytes do exactly.
Thank you in advance Christoph !
- Christoph Jung
- Posts: 670
- Joined: Sun Oct 08, 2006 3:43 pm
- Location: Germany / Berlin
- Contact:
Re: LW12: Change Lamp type
The 16 Bytes from memory bank 1 includes the OEM GTIN bytes, the OEM serial number, lamp type and so on.
B0 = last memory address (write protected)
B1 = Checksum of memory bank 1 (write protected)
B2 ... B7 = OEM GTIN bytes (0... 5) (read/write)
B8 ... B11 = OEM serial (MSB -> LSB) (read/write, lockable)
B12 = Subsystem and device number (read/write, lockable)
B13 = Lamptype number (read/write, lockable)
B14 = Lamptype number (read/write)
B15 = Additional OEM data (read/write, lockable)
All these values will have 0xFF as default.
B0 = last memory address (write protected)
B1 = Checksum of memory bank 1 (write protected)
B2 ... B7 = OEM GTIN bytes (0... 5) (read/write)
B8 ... B11 = OEM serial (MSB -> LSB) (read/write, lockable)
B12 = Subsystem and device number (read/write, lockable)
B13 = Lamptype number (read/write, lockable)
B14 = Lamptype number (read/write)
B15 = Additional OEM data (read/write, lockable)
All these values will have 0xFF as default.
-
- Site Admin
- Posts: 2856
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact:
Re: LW12: Change Lamp type
The content of memory bank 1 does have no effect on the behaviour of LW12. It can be used to identify your product but has no further function.
Re: LW12: Change Lamp type
Ok .. so i just hooked pin 8 and 20 to GND but still getting 4 Read values from Raw Data : 254 254 254 254 (I have set the brightness to its maximum that's why the 254)
Any ideas why ? should it not display 254 0 0 0 ?
Any ideas why ? should it not display 254 0 0 0 ?
-
- Site Admin
- Posts: 2856
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact:
Re: LW12: Change Lamp type
The unused channels may have random values. You should check the number of active channels via I2C register 0 and then ignore the not active channels.
Re: LW12: Change Lamp type
Hi again,
the Status register returns 3 -> so the LW is using all channels ..
the Status register returns 3 -> so the LW is using all channels ..
-
- Site Admin
- Posts: 2856
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact:
Re: LW12: Change Lamp type
Did you change the Chan0/1 pins with power applied?
The LW12 reads those pins only at startup.
The LW12 reads those pins only at startup.
Re: LW12: Change Lamp type
Hi,
No the change was before supplying the LW with power .. i've already seen that it reads the channels pins only at startup.
No the change was before supplying the LW with power .. i've already seen that it reads the channels pins only at startup.
-
- Site Admin
- Posts: 2856
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact:
Re: LW12: Change Lamp type
We will try to reproduce this behaviour.
- Christoph Jung
- Posts: 670
- Joined: Sun Oct 08, 2006 3:43 pm
- Location: Germany / Berlin
- Contact:
Re: LW12: Change Lamp type
I have dome some tests with the CH0/Ch1 pins and will get always the correct count from the status register like shown in the datasheet.
This is what I do:
1. set Ch0/Ch1 (I use a jumper)
2. connect power to the LW12
3. connect my I2C-Device
4. read the status register (write 0x00 before to set the pointer to this register)
I ahve test this multiple times and ever run I get the correct count of channels.
This is what I do:
1. set Ch0/Ch1 (I use a jumper)
2. connect power to the LW12
3. connect my I2C-Device
4. read the status register (write 0x00 before to set the pointer to this register)
I ahve test this multiple times and ever run I get the correct count of channels.