iLoadMini Demo Unit change
moonpen
Posts: 3
Hi, I've been trying to convert the load data from the iLoadmini sensor using the demo [ http://obex.parallax.com/object/284 ] from imperial to metric.
This is for a school project and I am quite inexperienced with the propeller boards and the spin language but there is not much code to work from with other microprocessor boards.
This is for a school project and I am quite inexperienced with the propeller boards and the spin language but there is not much code to work from with other microprocessor boards.
Comments
BTW, there is a handy little free program called convert that will do all sorts of unit conversions.
BTW, there is a handy little free program called convert that will do all sorts of unit conversions. I tried to multiply the load reading with 0.453...... and it shows up on the serial display as 0.0 or just freezes the code completely. Could I have done something wrong?
Sorry, not in a position to test the code for this.
Instead of multiplying by 0.453, multiply by 453 but keep in mind the result is a thousand times the real value.
When you display the results use a method like "DecPoint" to place a decimal point in the correct place. Here's a link to one example of doing this sort of thing.
Sorry, not in a position to test the code for this.
I think I have tried this and failed. I'm currently on holidays so i cant test it ether
Sorry, not in a position to test the code for this.
I think I have tried this and failed. I'm currently on holidays so i cant test it ether
I'm working away from home as well. Will be back Friday night and look at it then.