Having a haptic motor ramp up with smooth swing

Hello! This is my first post on here, and i think i need a professional’s help.

I am in the process of installing a hilt, using a Proffie V3.9 and i would like to add a haptic motor / vibration motor inside the hilt. I know about the false clashes and whatnot that can come from having them too close to the soundboard, but this will be more for show / feel, so i won’t be dueling with it. Maybe someone has done this before and succeeded, or maybe tried and failed.

My main question, is there a way to set the config so that the motor ramps up when you swing the hilt? Then return to idle / low rpm when stationary?

The hilt is not installed yet, so my config is not set up yet. But I do use Fett’s config generator tool.

In all honesty, with the right speaker, you get a nice rumble from the hum anyway. All a motor will do is make detection worse and complicate the install.

1 Like

Ah ok. As far as detection are you referring to clashes? Or just motion in general?

The hilt will have a 28mm 8ohm 3watt speaker from TSM. You think that will give it the oomf i’m looking for?

While I agree this probably won’t do what you want, for the sake of providing a lead for anyone who comes looking:

It’s as simple as doing a Mix and using SwingSpeed with whatever multiplier you’d like to go between the color the motor is configured as responding to.

StylePtr<Mix<SwingSpeed<250>,Black,White>>()

1 Like

Thank you for your reply.

Am I correct in assuming that many have tried this and didn’t like the results?

I don’t think many people have tried this, if any at all.

I’m just going off of intuition, it might feel a little weirder than you might expect.

SmoothSoundLevel (or some mix between the two) might give results closer to what you’re wanting, but I can’t say for sure.

Certainly go ahead and try it and see if it does what you want. It’s definitely a subjective thing, so even if it’s something me or others don’t think we would like, it might be what you’re looking for.

1 Like

You can use Swingspeed but hold it a bit so it is noticeable.
Something like

StylePtr<Layers<
  Mix<HoldPeakF<SwingSpeed<400>,Int<500>,Int<20000>>,Rgb<30,30,30>,White>,
  InOutTrL<TrFade<300>,TrFade<300>>>>()

Based off Fett263’s “swing inertia”, but simplified.
Adjust values to taste here:
ProffieOS Style Editor

2 Likes

Yeah I could see that happening. It has been an idea I had ever since installing my first hilt. I think I’ll try it and post the results! If I don’t like it, then you can say I told you so😂

Thank you for this! I will post results when I have it finished!

I’ve used vibration motors in all my sabers and have never had problems with false clashes, even using two motors in different locations inside the hilt, just make sure it’s not too close to the Proffieboard.

I personally use this line in the presets:

// Vibration Motor
StyleNormalPtr<AudioFlicker<Black, White>, White, 300, 800>(),

This one to configure it:
SimpleBladePtr<CreeXPE2WhiteTemplate<550>, NoLED, NoLED, NoLED, bladePowerPin6, -1, -1, -1>(), // Vibration Motor

Configured that way it will follow the sound and it will vibrate accordingly depending on everything that happens, hums, swings, clashes, blaster sounds, and so on, it’s pretty cool!

And in my opinion, no speaker can replicate that, you can get a bit of vibration from a really good strong bass speaker, but it will never be like a vibration motor, not even close.

1 Like

Awesome! Thank you for the reply!!

Does that just get configured as another blade in the config?

  • edit. Nevermind i didn’t read your entire reply :man_facepalming:

(Almost) Everything gets configured as another blade in the config.

This is the (proffie) way.

1 Like