fiduciary

Author Topic: CF8 - removing color profiles and using config.txt settings shuts saber off  (Read 1546 times)

0 Members and 1 Guest are viewing this topic.

Offline EV-9D9

  • Master Force User
  • *****
  • Posts: 545
I have a saber with the main led being Red, DeepRed, Blue

I removed the color profiles from override.txt and removed the color parameters from the prefs.txt
in config.txt for font1 I created:
led=700,700,0,0
fled=0,0,850,0
lled=700,700,700,0
focmix=0000

Blade was red, FoC was blue, as expected, but lockup was solid blue, no red mixed in.

There is no CeX, thus it's using pseudo color mixing.

What setting am I missing to mix the red in with the blue on lockup?

Also, it seems making the above changes causes the saber to turn off after a few seconds. At first I thought the battery died, but it's not. I restored the color profiles to the override.txt file and restored the prefs.txt color0= settings and the saber no longer turned off after a few seconds of running.

Why is the saber shutting off after a few seconds?

Thanks

prefs.txt: (all i did here was remove the 12 color entries)
//Saber Prefs
bank=01
maxled=1000,1000,1000,1000

color0=06
color1=06
color2=02
color3=02
color4=02
color5=02
color6=06
color7=02
color8=02
color9=02
color10=02
color11=02


override.txt: (only change here was I removed all the color profiles)
## Override File
menuvol=4
menupli=0
menugest=0
beep=40
muteb=0
vol=4
sleep=50000
grav=-500
valsnd=1
switch=2
offp=0
offd=200
onp=0
swing=200
clash=150
spin=200
lockup=150
gtsl=192
gtsh=250
plil=5.90
plih=8.10

## Motion
gate=50
hclash=850
hswing=300
hstab=95
hspin=950
field=10,10,10
tcombo=500
combo0=[empty]
combo1=[empty]
combo2=[empty]
combo3=[empty]

## Glyph (12 banks + iSaber)
glyph00=00000001
glyph01=00000010
glyph02=00000100
glyph03=00001000
glyph04=00010000
glyph05=00100000
glyph06=01000000
glyph07=10000000
glyph08=10000001
glyph09=10000010
glyph10=10000100
glyph11=10001000
glyph12=10101010

## Color profiles
color0=0,740,0,0
fcolor0=740,230,0,0
lcolor0=740,230,0,0
xcolor0=0,1023,0,0
color1=0,0,740,0
fcolor1=700,0,740,0
lcolor1=700,0,740,0
xcolor1=0,0,1023,0
color2=740,0,0,0
fcolor2=0,430,200,0
lcolor2=0,430,200,0
xcolor2=1023,0,0,0
color3=100,630,200,0
fcolor3=500,740,0,0
lcolor3=500,740,0,0
xcolor3=300,850,350,0
color4=640,0,430,0
fcolor4=0,0,740,0
lcolor4=0,0,740,0
xcolor4=900,0,550,0
color5=740,230,0,0
fcolor5=0,740,0,0
lcolor5=0,740,0,0
xcolor5=1023,350,0,0
color6=540,730,0,0
fcolor6=0,740,400,0
lcolor6=0,740,400,0
xcolor6=0,1023,550,0
-Graflex V Replica - BB W-FoC - by Master Yoda - CF5
-Obi-Wan Kenobi ANH - BRG - Romans Parts Screen Accurate - by scottjua - CF7+CeX
-Obi-Wan Kenobi TPM - BB BB-FoC - OM Screen Accurate - CF5
-Stormtrooper - RGBW - JQSabers - Upgraded by Lord Bane - CF6+CeX
-Ventress (Force Witch) - RGB - Solo's Hold - CF7+CeX

Offline EV-9D9

  • Master Force User
  • *****
  • Posts: 545
Also, after restoring the color profiles and the color parameters to the prefs.txt file, which only uses profiles 2 and 6, I would expect the FoC and lockup to be purpleish since it's using red and blue dies (lcolor6=0,740,400,0), unless the red and deep-red are in parallel and thus the blue is the value in the second spot and the value in the third spot is ignored. I'm waiting on the builder to let me know the wiring order of the main led.
-Graflex V Replica - BB W-FoC - by Master Yoda - CF5
-Obi-Wan Kenobi ANH - BRG - Romans Parts Screen Accurate - by scottjua - CF7+CeX
-Obi-Wan Kenobi TPM - BB BB-FoC - OM Screen Accurate - CF5
-Stormtrooper - RGBW - JQSabers - Upgraded by Lord Bane - CF6+CeX
-Ventress (Force Witch) - RGB - Solo's Hold - CF7+CeX

Offline EV-9D9

  • Master Force User
  • *****
  • Posts: 545
Update (somewhat baffled)
The led seems to be wired as Red and DeepRed on channel1 and blue on channel3. Since Red and DeepRed seem to be on one channel, can I use 700 per red for a total of 1400 and be safe?

This created a purple blade
RDR,_,B ,_
700,0,700,0

Using all the original config files (i backed up the SD card) when I made some changes to the color profiles, (since I cannot use the config.txt led, fled, lled settings as the saber turns off after a few seconds without the color profiles :sad:) the saber shut off on me again, but only two times. See results below:

blade blue
foc no red added (small amount of red does not trigger the red die)
lockup no red added (small amount of red does not trigger the red die)
saber shut off after foc/lockup (one time only)
color1=0,0,740,0
fcolor1=90,0,740,0
lcolor1=60,0,740,0
xcolor1=0,0,1023,0

blade blue
foc no red added (small amount of red does not trigger the red die)
lockup no red added (small amount of red does not trigger the red die)
color1=0,0,840,0
fcolor1=90,0,740,0
lcolor1=60,0,740,0
xcolor1=700,0,0,0


blade pale purple
foc blue (red not turning on)
lockup blue (red not turning on)
color1=700,0,90,0
fcolor1=90,0,740,0
lcolor1=60,0,740,0
xcolor1=0,0,1023,0


blade red
foc blue
lockup blue (red not turning on)
saber shut off on lockup (shut off one time only)
color2=700,0,0,0
fcolor2=0,0,700,0
lcolor2=700,0,100,0
xcolor2=1023,0,0,0


blade pale red
foc and lockup whitesh purple
color6=740,0,30,0
fcolor6=700,0,90,0
lcolor6=700,0,60,0
xcolor6=0,1023,550,0
-Graflex V Replica - BB W-FoC - by Master Yoda - CF5
-Obi-Wan Kenobi ANH - BRG - Romans Parts Screen Accurate - by scottjua - CF7+CeX
-Obi-Wan Kenobi TPM - BB BB-FoC - OM Screen Accurate - CF5
-Stormtrooper - RGBW - JQSabers - Upgraded by Lord Bane - CF6+CeX
-Ventress (Force Witch) - RGB - Solo's Hold - CF7+CeX

Offline erv

  • Plecter Labs Inc. "Keeper of the Buttered Toast"
  • Manufacturer
  • Master Force User
  • *
  • Posts: 4920
  • Formerly known as Irvin PLECTER
    • Plecter Labs - Props Electronics
why did you remove the color from prefs ? you're not suppose to do that.
If you want to remove the color profiles, remove them from override.txt only.

if the saber shuts off, it's because you're pulling too much current from your battery.

orientation controlled lockup color works only in fullmix mode for Foc (focmix=1111)

Offline EV-9D9

  • Master Force User
  • *****
  • Posts: 545
why did you remove the color from prefs ? you're not suppose to do that.
If you want to remove the color profiles, remove them from override.txt only.

if the saber shuts off, it's because you're pulling too much current from your battery.

orientation controlled lockup color works only in fullmix mode for Foc (focmix=1111)

I searched the cf8 manual and could find no mention of the color in the prefs.txt since I wasn't going to have any color profiles in override.txt it seemed like a conflict for color in prefs.txt to be referencing a nonexistent item. I'm using the profiles now to set the colors instead of the config.txt parameters.

Sounds like the Saber shut off is a wiring issue (I didn't build it). It has yet to shut off after those first few times (with color por files removed and a few times after restoring the original prefs.txt aND override.txt files.

For lockup color I was only trying to mix the red deepred (main blade color) with the blue.
-Graflex V Replica - BB W-FoC - by Master Yoda - CF5
-Obi-Wan Kenobi ANH - BRG - Romans Parts Screen Accurate - by scottjua - CF7+CeX
-Obi-Wan Kenobi TPM - BB BB-FoC - OM Screen Accurate - CF5
-Stormtrooper - RGBW - JQSabers - Upgraded by Lord Bane - CF6+CeX
-Ventress (Force Witch) - RGB - Solo's Hold - CF7+CeX

Offline erv

  • Plecter Labs Inc. "Keeper of the Buttered Toast"
  • Manufacturer
  • Master Force User
  • *
  • Posts: 4920
  • Formerly known as Irvin PLECTER
    • Plecter Labs - Props Electronics
color params in prefs.txt aren't used if no color profiles are found, no conflict there.

Like I said, a saber that shuts off is usually tripping the PCB of the battery.

Offline EV-9D9

  • Master Force User
  • *****
  • Posts: 545
So configurations I did with the color parameters and profiles should not have triggered the poweroff. is there a procedure of any kind to test for tripping the PCB of the battery? thanks.
-Graflex V Replica - BB W-FoC - by Master Yoda - CF5
-Obi-Wan Kenobi ANH - BRG - Romans Parts Screen Accurate - by scottjua - CF7+CeX
-Obi-Wan Kenobi TPM - BB BB-FoC - OM Screen Accurate - CF5
-Stormtrooper - RGBW - JQSabers - Upgraded by Lord Bane - CF6+CeX
-Ventress (Force Witch) - RGB - Solo's Hold - CF7+CeX

Offline erv

  • Plecter Labs Inc. "Keeper of the Buttered Toast"
  • Manufacturer
  • Master Force User
  • *
  • Posts: 4920
  • Formerly known as Irvin PLECTER
    • Plecter Labs - Props Electronics
you could increase the current / color settings via RICE in real time and see when it cuts off.

 

retrousse