mooshim / Mooshimeter-AndroidApp

50 stars 28 forks source link

Arbitrary math #32

Open jwhong opened 8 years ago

jwhong commented 8 years ago

It would be helpful to users to have an interface for perform simple operations on meter readings in real time. This is already implemented to some extent in math calculations like "Apparent Power" and "Thermocouple K", which simply apply formulas in the app to readings coming in from the meter, but there is no way for the user to plug in his own formulas.

607nm commented 7 years ago

This would be really helpful.

Sembazuru commented 7 years ago

This would be really helpful. Especially if calculating current over an external shunt. Plug in the resistance of the shunt (or copy from a resistance reading if using a large enough resistor) and have the display, graph, and logging report the calculated value. (For logging, I would probably prefer to have both the original raw reading and the calculated value recorded.)

kc0tfb commented 7 years ago

Sorry I haven't the skill to fork the code and implement this myself, but please count me as another user that would be happy to see it done - including the ability to change the displayed-vs-measured units. The ability to save presets would be excellent - I propose five fields to store the user's values, with a few examples:

Example for use with a 75mV / 100A shunt: Name: 100A Shunt
Range: 100mV Mode: DC Math: * 1333.3333 Label: A DC

Example for use with a coil that reads 1V AC @ 30A: Name: 30A Coil Range: 1.2V Mode: AC Math: * 30 Label: A AC

Things like thermocouples get a bit complicated - out of my league, I'm afraid.

famo commented 7 years ago

I'm also dearly missing the shunt support, I already wrote on the forum: On the website the feature to measure high currents with shunts is explicitly advertised, yet there is no support at all in the app for shunts. :-(

What do I mean by support: – For the top readout there should be an option to select “shunt”, with a popup where you then can enter the shunt type (ampere, voltage drop). – the top readout would then display current (instead of ohm) – one would be able to use the third readout (real power, etc.)