2017-05-04, 08:32 AM
(2017-05-03, 11:17 PM)e-sailing Wrote: It sounds intresting and we can try to put it into the repository. (At the moment I have not enough time to completly understand the prog and the problem)
Have you got a circuit diagram?
You have understood how to easily integrate own modules in OpenPlotter!
Regards,
E-Sailing
Cool,
I am still writing on the code, it should be some more streamlined before I forward the code to you. I'll try to prepare a diagram and documentation on how I wire up the ADS1115 for differential measurement for both Hall current sensors and voltage measurement.
I am still not sure if it should be merged into the original ADS1115 code (using only one entry in the GUI) or as I have made it now with an extra entry in the GUI. It is easier to use an extra python script for the differential mode, but keeping the config file as before. I use active=2 in the config file for the entries that apply to the differential case, while the single ended are assigned 1, still not active is 0.
I still have not figured out how I should deal with more than one ADS1115 in differential mode, there can be up to 4 ADS1115 on the I2C bus.
Regards,
Ole