It would be nice with at calibration feature for the Atlas ORP sensor. Its a one point calibration. Either hardcoded at 225mV or selectable like with the EC.
Its the same command as the other atlas sensors, Cal,225 for a 225mV solution.
# Atlas ORP
if command == 'ec_one_point':
if self.board_version == 2:
err, msg = self.send_command('cal,{uS}'.format(uS=set_amount))
Oh, and while we are at it. Would it be possible to add a address change feature for the atlas boards. I think its I2C,n for all of them. Where n is a integer from 0 to 127, but it would be better to be able to enter the hex address.
That’s a good idea. I just committed changes to add the ability to change the I2C address of current Atlas Scientific Inputs and the Atlas Peristaltic Pump Output. If you upgrade to master and test, let me know if it works.
Ah. Calibration is performed from the Input itself, on the Data → Input page. I was actually thinking as I was adding the calibration last night that the Calibration section of the UI is really no longer needed since I added Actions that can be performed for each Input/Output/Function. This also allows users to create their own calibration routines since they are a part of the single-file module that is imported (rather than needing to edit multiple files that are deeply integrated in the UI).