drivers icon indicating copy to clipboard operation
drivers copied to clipboard

atlas: Atlas Scientific PH/EC sensor support

Open SoleimanyBen opened this issue 2 years ago • 2 comments

Was looking to add support for Atlas Scientific PH/EC sensors.

I see no one is actively working on it, so I thought I would go ahead and take a stab at it.

PH Sensor: https://atlas-scientific.com/kits/gravity-analog-ph-kit/ EC Sensor: https://atlas-scientific.com/kits/conductivity-k-1-0-kit/

SoleimanyBen avatar Nov 11 '22 18:11 SoleimanyBen

Sounds great @SoleimanyBen let us know here how we can help!

deadprogram avatar Nov 14 '22 21:11 deadprogram

Thanks for the reply @deadprogram! It turns out that the Atlas Scientific libraries rely on the onboard EEPROM in order to store the calibration values into it.

I already created a simple driver that interacts with the PH sensor, but it would require an external SPI/QSPI flash storage device in order to use it. This can be easily extended to support i2c EEPROMs, but I really think it would be better to use the onboard storage.

I was looking into possibly adding support for onboard EEPROMs. I commented on https://github.com/tinygo-org/tinygo/issues/1566#issuecomment-1312387089 and was hoping to get more insight on the comment I made about how it would be possible to implement it.

From the research I've done, it seems like it should not be too difficult to implement the EEPROM lib?

SoleimanyBen avatar Nov 14 '22 21:11 SoleimanyBen