Hi there,
I wonder if someone would be able to help me out a little. I have built from the instructions on Fredrik Hubinette’s website ( just wanted to say what a fantastic job he has done and a big thank you for sharing the plans) to build a Version 1 Teensy saber with the following items.
Teensy 3.2, PJRC prop board, SD card reader, a 4 GB memory card, and a string of SK6812 RBGW addressable Leds .
The saber seems to work ok in testing but seems a bit erratic on the LED front, I used a standard luxion LED at first to check that the FET’s were switching ok and then progressed to the SK6812 which seemed to work fine as well until I was skipping through the styles menu (* Which I am a little confused about how it works) I held the power on button down and gently tapped the body of the saber against the table to make it skip to the next style but this time i tapped it twice by accident, the board then said “no prop directory found” so I removed the battery reset the saber which worked but I now only seem to have 3 styles spoken to me when i go through the menu but I don’t have any patterns or lights working on the SK6812 strip. I wondered if I had come across a menu used to turn off styles or the data to the led strip but looking at the data line to the strip I am seeing data on an oscilloscope as well as the FET gate lines. I am using Version 5.9 of ProffieOS and have played around with the config files but could do with a pointer to setting it up.
For example i don’t understand what the difference is between the top section of the config file starting with Preset presets[] = { and the section Preset red_presets[] = {
Preset presets[] = {
{ "TeensySF", "tracks/venus.wav",
StyleNormalPtr<CYAN, WHITE, 300, 800>(), "cyan"},
{ "SmthJedi", "tracks/mars.wav",
StylePtr<InOutSparkTip<EASYBLADE(BLUE, WHITE), 300, 800> >(), "blue"},
{ "SmthGrey", "tracks/mercury.wav",
StyleFirePtr<RED, YELLOW>(), "fire"},
{ "SmthFuzz", "tracks/uranus.wav",
StyleNormalPtr<RED, WHITE, 300, 800>(), "red"},
{ "RgueCmdr", "tracks/venus.wav",
StyleFirePtr<BLUE, CYAN>(), "blue fire"},
{ "TthCrstl", "tracks/mars.wav",
StylePtr<InOutHelper<EASYBLADE(OnSpark<GREEN>, WHITE), 300, 800> >(), "green"},
{ "TeensySF", "tracks/mercury.wav",
StyleNormalPtr<WHITE, RED, 300, 800, RED>(), "white"},
{ "SmthJedi", "tracks/uranus.wav",
StyleNormalPtr<AudioFlicker<YELLOW, WHITE>, BLUE, 300, 800>(), "yellow"},
{ "SmthGrey", "tracks/venus.wav",
StylePtr<InOutSparkTip<EASYBLADE(MAGENTA, WHITE), 300, 800> >(), "magenta"},
{ "SmthFuzz", "tracks/mars.wav",
StyleNormalPtr<Gradient<RED, BLUE>, Gradient<CYAN, YELLOW>, 300, 800>(), "gradient"},
{ "RgueCmdr", "tracks/mercury.wav",
StyleRainbowPtr<300, 800>(), "rainbow"},
{ "TthCrstl", "tracks/uranus.wav",
StyleStrobePtr<WHITE, Rainbow, 15, 300, 800>(), "strobe"},
{ "TeensySF", "tracks/venus.wav",
&style_pov, "POV"},
{ "SmthJedi", "tracks/mars.wav",
&style_charging, "Battery\nLevel"},
#ifdef ENABLE_WS2811
{ "TeensySF", "tracks/venus.wav", &style_pov, "POV" },
#endif
{ "SmthJedi", "tracks/mars.wav", &style_charging, "battery" },
};
Preset red_presets[] = {
{ "TeensySF", "tracks/venus.wav", StyleNormalPtr<RED, WHITE, 100, 200>()},
{ "SmthJedi", "tracks/mars.wav", StyleNormalPtr<RED, WHITE, 100, 200>()},
{ "TthCrstl", "tracks/uranus.wav", StyleStrobePtr<RED, WHITE, 15, 100, 200>()},
};
Preset simple_presets[] = {
{ "SmthJedi", "tracks/mars.wav", StyleNormalPtr<BLUE, WHITE, 100, 200>() },
{ "TthCrstl", "tracks/uranus.wav", StyleNormalPtr<BLUE, WHITE, 100, 200>() },
{ "RgueCmdr", "tracks/venus.wav", StyleStrobePtr<BLUE, WHITE, 15, 100, 200>() },
};
Preset white_presets[] = {
{ "TeensySF", "tracks/venus.wav", StyleNormalPtr<WHITE, WHITE, 100, 200>() },
{ "SmthFuzz", "tracks/mars.wav", StyleNormalPtr<WHITE, WHITE, 100, 200>() },
{ "SmthGrey", "tracks/mercury.wav", StyleStrobePtr<WHITE, WHITE, 15, 100, 200>() },
};
Preset charging_presets[] = {
{ "charging", "", &style_charging },
};
I hope this makes sense and that I might be able to get a little help if possible as I have been playing with it for weeks now trying to figure it out if i have some faulty hardware.
With kind regards,
Nick