Forum

Detect cycles of an infinity rotary potentiometer


#1

Hi vvvvorum,
I need to detect cycles of an infinity rotary potentiometer. I can simulate the behavior with the LFO (Animation) because it has Cycles output pin. I recieve data from Phidget stuff.

Please look at the attached patch.

Thanks…

PotentiometerCycles.v4p (11.9 kB)


#2

Check the node FrameDifference (Animation) to figure this out.

Like I d did in attached patch.

Endlelss Potti.v4p (11.5 kB)


#3

Yep! Perfect, thanks! ;)


#4

There’s also the SumUp module, pretty handy along with framedifference.


#5

Another question: I want to limit my endless potti value e.g. from 0 to 5. When I’m rotating clockwise the value increases from 0 to 5 and then it locks at 5 also if I continue to rotate. If I change the direction of the rotation the value soon decrease. The same thing should happen at 0.

Any help?


#6

have you tried SumUp (Value)? doesn’t have a helppatch but does exactly that.


#7

like this?

increase min max and add a frac node to the output to get the cycles…

Endlelss Potti.v4p (8.5 kB)


#8

Usefull trick


#9

I used SumUp in a wrong way. Westbam patch + FrameDifference (Animation) + SumUp (Value) work for me.

Thanks guys!