RE: [Sumo11users] Re: Error Messages when downloading
I am
sure your programming is beyond reproach, everyone’s is. but would you mind sharing your actual logic for the RPM
calculation with the encoders? I really suspect that is the issue. Also, you
should confirm that the physical encoders are working correctly. That is mount them on an axel and verify that one revolution always
produces the correct number of ticks for the resolution of the devices…
Jim
-----Original Message----- From: Sumo11users@yahoogroups.com
[mailto:Sumo11users@yahoogroups.com] On
Behalf Of Belal Ahmad Sent:Thursday, July 13, 20066:02 PM To: Sumo11users@yahoogroups.com Subject: Re: [Sumo11users] Re:
Error Messages when downloading
Thanks Dan, I appreciate your help. Please let me know
if you run accross a fix for the encoder problem. It is hindering with my
control system, I hope there is fix for it.
Dan Gates
<topazx2@...> wrote:
Hi,
Sorry for the delayed response. Please note that the error message
has absolutly no ill effect on Sumo11 functionality and can simply be
ignored. However it is annoying and can be fixed fairly easyily by
overwriting the lib_sumo11.frm file with the one found in the files
section of this groups message brd.
There was a mixup in communication with the last release of IC, I was
told that the new version would be defined as IC 5.0 and built the
Sumo11 firmware under that assumtion. I sent my files in to be
compiled with the new release of IC and found out later that the
revision did not go to IC 5.0 but 4.301 instead. Anyway, it was
Botball season and the developers of IC did not want to make any
changes at that time, so the Sumo11 gets the error.
As for the encoder issue, I'll have to look into that some more. I do
seem to remember a similar issue I had with the Handyboard, but it was
something to do with the way I set up the encoders in my code. More on
this later.
-Dan
--- In Sumo11users@yahoogroups.com,
"bxa1322003" <bxa1322003@...> wrote:
>
> Hello,
>
> Whenever I download a program, I get the following error that reads...
>
> "Please note that the version (430) of the library currently in use
> does not match the version (501) of the firmware on the controller on
> the board. This can result in undefined behavior"
>
> Is there a fix for this?
>
> Also, I have an encoder reading the rpms of dc motor, the value never
> reaches a constant value. The voltage and current of the dc motor are
> constant, but never reaches a steady-state-value. Any ideas?
>
Thanks Dan, I appreciate your help. Please let me know if you run accross a fix for the encoder problem. It is hindering with my control system, I hope there...
I am sure your programming is beyond reproach, everyone’s is. but would you mind sharing your actual logic for the RPM calculation with the encoders? I...
Sure, I have no problem sharing my code. Infact, I would prefer that to make sure that I am not making any mistakes. Do you want me to sent it to this address...
Actually I was suggesting you post to the board. What I think needs to be shown is how you are transforming the encoder counts to RPM, You need to have the...
Thanks for the explanation. Below is the first attempt... NOTE: I varied 'j' value frm 10 to like 150 or so to see if they were any changes, but no change ...
I believe the problem is the enable encoder inside the get_spd() routine. I recoded the program as below. Note that I converted the for(j… ) loop to a while...
Thanks abundance for your help. I have a few questions. What does the while loop doing? That is, stT = srtT= seconds(); //These two valuabel are equal, always...
The while has a block of code that sets stT = seconds() each time (stT – srtT <.25) is true. You read reading while as “DO Until, which would not execute...
Just one other thing.... Thanks abundance for your help. I have a few questions. What does the while loop doing? That is, stT = srtT= seconds(); //These two...
No, that is not what I meant,,,according to your loop.. stT - srtT = seconds() which is 0 <.25 that condition is always true...right? It will never be false. ...
The block updates stT with the current time. After .25 seconds we exit. ... From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of...
Jim, thanks so much for your help...I'am going to run it on my controller. I'll let you know how it goes. I appreciate your time. Jim Peterson <jimcp@...>...
Hello Jim, Thanks for your help with the encoder. Your code works perfect. I figured out what the problem was with me not getting a constant reading from my...
I donlt think I understand your question. What “some other device” where you interested in using? What kind of signal does the “some other device” want...
A device that reads the ouput on an encoder for a certain fix time and output the speed of the motor to the Sumo11. The idea is that I don't want to you use...
Any approach that uses digital measurement will always be some previous speed, not the current. My feeling is the error in the delayed reading would only be...
Thanks for your advise, I'll do a little more research to see if I can get anywhere with that. Another question for you, is there anyway I can control a small...
I have seen the motor ports used to operate even larger relays, There is always a concern for ground differential problems so another choice is an opto...
Ooh that is interesting, how does that work? Where can I get an Opto Isolator to work best with the sumo11? Also, aren't those LEDs used by the servo's output...
I can’t take the responsibility of completely educating you, For one thing, I am not really qualified to teach this topic. Do a google search on the terms...
Hello all, I am using the sonar sensor sr04 with the sumo11 using the following code: persistent int dist_test[50]; void main() { int j; sonar_init(); j = 0; ...
I tried a range of sleep times, but I'm still reading a constant number of tics that dances around the 1100 region. I was using the port 7 for an encoder...
If you still have the encoder module loaded that is probably it. ... From: Sumo11users@yahoogroups.com [mailto:Sumo11users@yahoogroups.com] On Behalf Of Belal...
But I changed the encoder port to port # 8 and I'm using port 7 for the sonar. I recycled power to the sumo11 several times but still no real results. The...
I am not sure. Both the encoders.asm and the srf04_sonar_asm use TIC3. There certainly is a potential for interference. ... From: Sumo11users@yahoogroups.com...
Here's a couple of thoughts: 1- Use the "Wheel Watcher" optical quad encoder to do all the work of decifering speed and direction. I've been told by the...