-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No RPM with working encoder #230
Comments
Hi, I'm having a similar problem though I think I may have a bad TI board. How did you test your encoder? I'd like to test mine as well. |
There is a lengthy discussion of this problem below, discussion 197. Many of us have had this problem. Did it work and then stop or did it never work. If it never worked id first look at and check connections as in the trouble shooting instructions then if problem is not resolved i would re program the board using the second input of the TI board. That has solved the issues we had where it worked and stopped. |
It has never worked. And I've tried the 2nd encoder port as well will both encoders. |
If you have the same encoder me and Clough42 have, then you can take a multimeter and touch the + probe to VCC 5v and the - probe to A and slowly turn the encoder while the encoder is powered. It should at some spots give 5v. Then do the same on b and c legs. |
Did you re configure, re flash the TI board?? you just cant move to the other input. On code composer right below the resolution it says #define encoder_use_equep1 below it says //#define encoder_use_equep2 just go in and add the // in front of the first line and remove the // from the second line, reprogram and then change your encoder to the other input. if it still doesn't work i would highly suspect you have a TI board problem. Have you also checked for both 3 volt and 5 volt power on both boards. |
Yes to all of the above. I changed the port to 2 and checked both encoders. Then back to 1 and checked both encoders again. I guess I'll order a new TI board. Is there a way I can check the board? |
I am sure the board could be diagnosed but I doubt that it could be done with normal DIY tools. Plus you would need some schematics with voltages and possibly traces to follow. |
Excellent information, thanks for the help. |
I'm having the same issue, and I'm fairly certain that the encoder is working. I want to make sure I'm not making a mistake myself before I order another board. I've triple-checked the wiring and tried the second set of pins while reflashing. When testing the encoder with just the (+,-) connected to the board, holding the (-) on the ground and the (+) on any of the 3 signal wires, I get 5.14v (not spinning). When I turn the encoder, the voltage drops significantly. Please tell me if I'm doing this wrong!! When I test the voltage on the board with (- to ground) and (+ to 5v,A,B, or I) , I get 5.14v in the pins (with the encoder disconnected) on both J12 and J13. Is that correct, or should the voltage be different? working with small electronics is very new to me so this is a learning process for sure. |
There was just another gentlemen above that closed his question he also did all the testing etc. turned out to be a failed encoder. This seems to be a much better built encoder 3 people have had success is repairing problems, I hope you didn't ruin your launch board. I would try an encoder first. I tried testing, i had power on one leg but the second didn't seem correct. I personally believe you need an oscilloscope to properly diagnose the encoder. Here is a link to the encoder from Amazon. https://www.amazon.com/gp/product/B08RS6M32J/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1 |
Thank you for the link. I'll give it a try. I just don't want to ruin an encoder by putting 5v into something that shouldn't have it. I'm afraid the board is sending power to pins that It shouldn't. |
Honestly, i understand, I was lucky I guess my ELS worked for an hour or two then suddenly stopped. That was about a year ago and Launch boards were very hard if not imposable to find. I dint feel that I wanted to try the original encoder on the second set of inputs. I tested it by putting a 5 volt source on the =5 volts and ground then measured from ground to each output, i measured both ac and dc voltage. I only got one wire that i thought maybe correct possibly. I really felt i had a bad encoder. So i ordered the Amazon encoder and reprogramed the board. It worked fine. before that i also had a bad display, don't know if i damaged it or it never did work. |
Kevin and Chuck, Quick update....I just checked the outputs of each of the phase wires on the encoder with the 5V supplied to the +5 and ground wires. When turning the shaft, they fluctuated very slightly in output voltage (i.e. maybe 0.3V, hard to tell) but definitely not a strong 3 or 5 V fluctuation. Still wondering if the Ti Launchpad microcontroller should be applying 5V on all the phase pins at the header. Both encoder headers, #1 and #2 measure the same (5V on all pins except ground with nothing connected to them. |
i cant confirm the reading on the pins, but i can only say it doesn't make sense that there would be voltage at the other pins. |
I checked all the connections for continuity as suggested. Both headers are measuring 5V on all pins except ground…no encoder installed and has never been installed on the 2nd header. The phase pins could be a pull down design meaning the encoder pulls them to ground to create the signal….not sure but it is the only way I can think of that would produce 5V without the encoder installed.
I just ordered the amazon encoder and will test it. You should read the 1st review (from “Alex”) on the amazon page for this link. Pretty funny!
From: Chucksbp ***@***.***>
Sent: Tuesday, June 6, 2023 8:50 AM
To: clough42/electronic-leadscrew ***@***.***>
Cc: patl1 ***@***.***>; Comment ***@***.***>
Subject: Re: [clough42/electronic-leadscrew] No RPM with working encoder (Issue #230)
i cant confirm the reading on the pins, but i can only say it doesn't make sense that there would be voltage at the other pins.
you may want to configure the other set of pins, do not connect the encoder and measure the voltages. in my mind the other three pins should be inputs to receive the signal from the encoder.
Have you measured voltages and continuity on the two boards as described in the trouble shooting guide?
Both of ours worked for a short time before having a problem so we were sure of the integrity of the build.
—
Reply to this email directly, view it on GitHub <#230 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AG7WVZ3GIIKZERAF7UIKNR3XJ5GT7ANCNFSM6AAAAAARFCXHKY> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AG7WVZ55DACGC2KAGR66KJDXJ5GT7A5CNFSM6AAAAAARFCXHK2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS6DX7FU.gif> Message ID: ***@***.*** ***@***.***> >
|
Is anyone able to check the voltages on the 3 pins (A,B,and I) on the header for the encoder on the Ti board (with the header plug from the encoder unplugged)? This would confirm to me that mine is either correct at 5 V or not. I have ordered a new encoder, but would really like to not shotgun this problem and the information re: the pin voltage would tell me a lot. |
Pat, |
Thanks Kevin, Really helps. I’ll let you know after I get and try my new encoder on Thursday Pat
|
I got the Amazon encoder suggested in the link above and it worked to produce an rpm signal. Thank you for the assistance and the information on the pin out voltages to help me narrow down the issue. Based on my experience and that of many others with the ebay encoders, I suggest James change his wiki page link to the Amazon one and dump the ebay link. I wasted a lot of time trying the ebay encoder and so have many others |
encoder in use: https://www.ebay.com/itm/274651353872
I have tried 2 of the listed encoders.
Encoder resolution: 4096
encoder pin: EQEP1
Correctly wired.
Multimeter shows 5v pulse when rotated by hand.
I see no rpm change when I rotate the encoder while plugged in.
I can send pictures of wiring if needed.
Configuration.h included below
Configuration.txt
Any and all help is much appreciated.
The text was updated successfully, but these errors were encountered: