Frequently Asked Questions
Mon-Fri, 9am to 5pm
U.S. Mountain Time:
Chat With Us
January 18, 2011
about 2 years ago
Ok so scaling the encoder value to give a single LED per encoder-click-rotation:
Figure out the top / bottom end of your encoder values
https://gist.github.com/3983909 ( upload this sketch to your Uno )
Get the interval output from your encoder by looking at the count between clicks in the above sketch
mine was +/- ~4 per physical encoder click
Divide total steps by # of LEDs
256 / 16 = 16
number of LEDs ( 16 in this encoder LED ring ) * above number
16 * 16 = 64
Scale the input to tmpvalue ln:97 by the interval output of your encoder
counter += tmpdata * 4;
Edit the scaledCounter value on ln:104 ( EX: scaledCounter = map(counter,0,255,0,15); )
At first look everything is awesome … except we’re looking at examples that aren’t coded for real end-usability. EX:
- The # of clicks to activate each LED step is inconsistent
- The click function on the encoder doesn’t toggle the LED on/off
If we’re looking to use this for real feedback:
- 1-encoder-rotate-click >> 1 LED increase / decrease
- encoder-rotate-click >> at least increments LEDs at consistent click-intervals
- encoder-press >> toggles an on off
about 3 years ago
No you really should just never run IE…
Ever. Period. Under no circumstances. Lastly its not like its ever going to get better, so your browsing experience will slowly degrade .
about 4 years ago
So I’ve heard about “resonance” speeds on stepper motors outlined here:
i’ve coded RPMs on the steppers to be 60 .. they run fine ..
double it to 120 .. and your motor tweaks out and barely moves … so i was wondering whats the MAX RPMs this unit can drive the stepper at?
im looking to design a ramp-up ( motor speed easing ) function on my arduino .. which apparently will get it a tad bit more speed ?
but just wondering if you have any thoughts on implementing something like the bi polar => single pole for higher speeds
about 4 years ago
i had a look at the diagram on page 5 .. and it looks like the protection diodes (as labeled on the diagram ) aren’t even functional ?
for example the diode off of the ground ( the one immediately to the right of the motor ) flows AWAY from the ground …
can someone confirm that this is a bit wonky ?
im thinking i might get a few of these to run some steppers but im kind of at a loss right now :D
No public wish lists :(
Forgot your password?
No account? Register one!