is there a way to check if something is broken or not connected? Am Samstag, 7. Januar 2017 23:00:03 UTC+1 schrieb Sag ich Dir nich: > > okay i think i may have a problem... > > i have switched the encoder from eQEP to PRU without giving me errors BUT, > when i manually rotate the spindle, the RPM stays at 0 and when i set the > spindle to 100 rpm it increases to maximum rpm so i looked with HALSCOPE at > the inputs. > > P9.27 is B and set to pruin (P9.30 is set to in) > P9.42 is A and set to in (P9.92 is set to pruin) > and > P9.41 is Z and set to in (P9.91 is set to pruin) > > the problem is, i only see the counts when i watch P9.30, not P9.27 (which > is the QEP input and where i need to see the counts) > > i have manually soldered the correct pins and also tried switching the > encoder pins on the Cramps board but no difference > > what could be wrong? maybe the Qep Pin on the BBB broken? (i have tried > using eQEP 1 but those pins were used from the HDMI so i thought i > destroyed everything and soldered it back and it "worked" again with eQEP > encoder.) Now with the PRU encoder it does not work because i have to set > the A,B and Z pins (its a miracle how it "worked" before) > > Am Sonntag, 6. November 2016 16:33:46 UTC+1 schrieb Sag ich Dir nich: >> >> Hi, >> >> i am using a Cramps board and want to control a spindle with an encoder >> to spin in both directions with working PID but the problem is: >> >> *1*. The PID only works correctly in cw direction, if i reverse the >> direction the spindle reverses but the PID does not try to hold the >> velocity. It only does that when i set the PID minimum output to -8500 (if >> i set it to the maximum rpm 8750 the spindle does full speed in either >> direction even when i command 100rpm). >> the problem with that is when i turn the spindle on and manually turning >> it faster than the commanded speed, it speeds up to maximum speed. (seems >> like the PID tries to slow down but does not reverse the direction so it is >> in a loop trying to slow down by decreasing the speed but actually >> increasing it (i dont know how to explain it better)) >> >> working spindle reverse is important to me because i want to do rigid >> tapping. >> >> is it possible to have a encoded spindle with spindle soft start? >> >> *2*. sometimes the Spindle stutters every second one or sometimes two >> times in a row when turning cw with the working PID. When in reverse >> without working PID (only PWM) it does not happen. >> >> *3*. the index pulse is often undetected (i am using a 512ppr encoder >> with A,B and index pulse, i also soldered pull-up-resistors to improve rise >> times like the instruction said) >> >> so currently i am using the eQEP 0, which shares two signals on the A and >> B pins, maybe the stutter is gone when i use eQEP 1 or 2 because they have >> only one signal attached? >> The Pins for eQEP 1 and 2 are not setup in the setup.sh file, can i just >> add them? >> >> i uploaded my whole machine config >> >> i hope someone can help me >> >
-- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
