Hi, Folks
I knew something REALLY simple was available ... but Where ???
http://www1.produktinfo.conrad.com/d...K_5Prozent.pdf
In the Application notes section ( You must scroll down ... the left side menu doesn't work !!! )
Alain
Hi, Folks
I knew something REALLY simple was available ... but Where ???
http://www1.produktinfo.conrad.com/d...K_5Prozent.pdf
In the Application notes section ( You must scroll down ... the left side menu doesn't work !!! )
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Wow, you mention that and I look at the gauge that the sender was supposed to work with and they did that!
So I looked at the resistor that was used, its 510
It brings the change in resistance per degree down to
3 ohm from 100-150
2 ohm from 151-200
1 ohm from 201-250
Isnt that crazy.
I am going to use an op amp to get me full range of my 0-5v scale instead of this 0-1v stuff... would that limit the signal from "bouncing" around?
You could filter your signal in hardware, or in software (averaging results). I tend to use hardware in many case as it's just a matter to add a capacitor or any kind of Low-Pass filter. On the other hand, a combination of both is also good depending how fancy you want it.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
interesting, I have heard about the capacitor trick. How would it be done "averaging" in software?
Erice1984,
Looking at the EXCEL graph that you have posted it seems like a second degree polinomial will fit nicely. A formula of the form Y(X)=a*(X^2) + b will work. The EXCEL trendline will give a value for a and b in the above formula. Then, round this numbers up and you should have a good approximation for your graph. I am writing this reply from my cell phone so I don't have EXCEL with me at this moment to show you what it might look like.
Give it a try. If you have any problems, let us know.
Robert
Here's one possible way.
http://www.picbasic.co.uk/forum/show...3267#post13267
Although I never did hear back from ANYONE.
I have used it myself since that post.
No problems found.
It's based on my original Averaging routines ...
Averaging 16 bit values without using 32 bit math?
http://www.pbpgroup.com/modules/wfse...hp?articleid=7
HTH,
DT
Bookmarks