Hi list,
i have an endless rotary encoder (Griffin Powermate) which i want to use along the [hid] external. Since the encoder only gives a relative value, it is very important to know, when those relative changes occur. I wonder if there is a way to get the values from the [hid] without polling it. Or is there some basic concept behind it which has to poll it?
Any ideas are very welcome!
Peter
I am not sure what you'd use the time for. You could just keep a
running total of the relative values and use that as the absolute
position. That griffin knob gives strange data, so I found it wasn't
very easy to use.
.hc
On Jun 2, 2009, at 7:19 PM, Peter Plessas wrote:
Hi list,
i have an endless rotary encoder (Griffin Powermate) which i want to
use along the [hid] external. Since the encoder only gives a
relative value, it is very important to know, when those relative
changes occur. I wonder if there is a way to get the values from the
[hid] without polling it. Or is there some basic concept behind it
which has to poll it?Any ideas are very welcome!
Peter
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra
Thanks, i was on a wrong route. The summing up made sense. And it showed that the device's relative data is not really useful. You might be off by 180 degrees after spinning it around for some time.
cheers,
Hans-Christoph Steiner wrote:
I am not sure what you'd use the time for. You could just keep a running total of the relative values and use that as the absolute position. That griffin knob gives strange data, so I found it wasn't very easy to use.
.hc
On Jun 2, 2009, at 7:19 PM, Peter Plessas wrote:
Hi list,
i have an endless rotary encoder (Griffin Powermate) which i want to use along the [hid] external. Since the encoder only gives a relative value, it is very important to know, when those relative changes occur. I wonder if there is a way to get the values from the [hid] without polling it. Or is there some basic concept behind it which has to poll it?
Any ideas are very welcome!
Peter
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra
Yes, you usually need an index mark to reset the counter. Some kind of switch or magnetic or optical sensor to detect an absolute position. But something's wrong if your count needs to be reset more than once, as long as you respect the speed limit for detecting transitions on the encoder output, and take into account the uncertainty of the index position.
Martin
Peter Plessas wrote:
Thanks, i was on a wrong route. The summing up made sense. And it showed that the device's relative data is not really useful. You might be off by 180 degrees after spinning it around for some time.
cheers,
Hans-Christoph Steiner wrote:
I am not sure what you'd use the time for. You could just keep a running total of the relative values and use that as the absolute position. That griffin knob gives strange data, so I found it wasn't very easy to use.
.hc
On Jun 2, 2009, at 7:19 PM, Peter Plessas wrote:
Hi list,
i have an endless rotary encoder (Griffin Powermate) which i want to use along the [hid] external. Since the encoder only gives a relative value, it is very important to know, when those relative changes occur. I wonder if there is a way to get the values from the [hid] without polling it. Or is there some basic concept behind it which has to poll it?
Any ideas are very welcome!
Peter
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list