kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.95k stars 494 forks source link

ADC MCP3208 #1215

Closed matousfiser closed 1 year ago

matousfiser commented 2 years ago

Hey mate, i want to ask you, if there is any possibility to add support for ADC MCP3208. It should be very similar to MCP 3008,.

Thank you for your reply. Have a nice day! M.

kizniche commented 2 years ago

I can't find a Python library for this device.

kizniche commented 2 years ago

I found a library that is no longer in pypi, at https://github.com/MomsFriendlyRobotCompany/mcp3208. I'm unsure if it works and I don't have this device to test. Nonetheless, I created an Input module that uses the library and should work, in commit https://github.com/kizniche/Mycodo/commit/4a1bcf89c03fe80d3d260aa22253ff111a582d45. To test the latest this module in the latest code, prior to release, you'll need to upgrade to master.

kizniche commented 2 years ago

This pull request has been mentioned on Radical DIY Forum. There might be relevant details there:

https://forum.radicaldiy.com/t/mycodo-v8-14-0-release/1136/1