impellerhead Posted May 3, 2014 Report Share Posted May 3, 2014 I have a small accelerometer module that puts out 0v at -3g, 1.65v at 0g and 3.3v at 3g. How do I get this to show in the log in a good way? I have tried different cal table setups but I can't get any good settings to make it show what I want. Â Quote Link to comment Share on other sites More sharing options...
Dave Kriedeman Posted May 3, 2014 Report Share Posted May 3, 2014 Hi Fredde, I have attached a screen shot of how to set it up. To log you just need to log your AN VOLT you have connected your sensor to. Set it up as DEG CELCIUS so it will allow you to use a negative value. I hope this is what you where after. Regards Dave. Quote Link to comment Share on other sites More sharing options...
Dave Kriedeman Posted May 3, 2014 Report Share Posted May 3, 2014 Hi Fredde, Ignore the last screen shot, I had the wrong cal table selected in the AN VOLT page. Here is the corrected one. Regards Dave. Quote Link to comment Share on other sites More sharing options...
impellerhead Posted May 4, 2014 Author Report Share Posted May 4, 2014 Ah, didn't try that one. Thanks ! Quote Link to comment Share on other sites More sharing options...
impellerhead Posted May 4, 2014 Author Report Share Posted May 4, 2014 I tried this but it will only show for example 1 or 2g not the decimals like 0.8g How do I get it to show the decimals ? Quote Link to comment Share on other sites More sharing options...
impellerhead Posted May 4, 2014 Author Report Share Posted May 4, 2014 Seems to not be possible to have lower than 1 in table increments ? Quote Link to comment Share on other sites More sharing options...
Dave Kriedeman Posted May 4, 2014 Report Share Posted May 4, 2014 Hi Fredde, Just right click properties on the guage and select how many decimal places you want. As per sample below. Regards Dave. Quote Link to comment Share on other sites More sharing options...
Scott Posted May 5, 2014 Report Share Posted May 5, 2014 Dave is onto it. The only unit type you can use is temperature as the others do not go negative. One issue you may still have is that the degrees C only change in steps of one. You may need to change the Cal 4 table to go from -30 to +30 and then apply a x10 multiplier to your gauge. This will give you a resolution of 0.1. If you are logging the value it will have a range of -30 to 30 and you will have to mentally shift the decimal point. Scott Quote Link to comment Share on other sites More sharing options...
impellerhead Posted May 8, 2014 Author Report Share Posted May 8, 2014 This works but it would be nice to be able to get the actual values, more customisable tables please. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.