Hello,
I'm in the process of creating application that will sense the tension changes on the piece of metal using tensometers (strain gauge?). I have created out of them a bridge. I've managed to make Funduino Mega 2560 r3 communicate with the PGA309 over 2-wire interface. I've been able to write to and read from PGA309 registers. I have used the provided here www.ti.com/.../slvc073 calculator to calculate needed values.
My code is available here: github.com/.../pga309-blutooth-android-tensometer the main ino code is here: github.com/.../testPin_I2C and the Eagle schematics are here: github.com/.../eagle
The problem I'm facing now is that I'd like to implement calculator like that in my android Application. I've read the manual many times and I cannot understand how to make all the needed calculations or I just simply cannot find them. I've been able to just use the calculator and write the data to the first part of EEPROM with correct checksum1 but it's not what I need. I want to make the needed calculations on phone, calibrate the pga309 there. Later the calibrated data need to be written to the EEPROM. The first part isn't a problem but I don't understand how to create the 2nd part (temperature look up table according to DAC settings). Again the calculations for that are not clear.
I'd really appreciate any help I can get. Algorithms, equations or anything useful is highly welcome. If you have any further questions about my project then please ask.
Regards,
Lucas