Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a driver for the CS1237 24 bit ADC and for the HX710 24 bit ADC. #153

Open
robert-hh opened this issue Jun 11, 2024 · 2 comments
Open

Comments

@robert-hh
Copy link

Hi Mike.
The CS1237 plays in the field of the HX711, but is told to be less noisy. My test did not show a huge difference, but that may be a problem of the test set-up. It's more flexible than the HX711, with gains of 1,2,64 and 128, and sampling rates of 10, 40, 640 and 1280.

https://github.com/robert-hh/CS1237

I made a variant of my HX711 driver for the HX710: https://github.com/robert-hh/hx710
My HX711 driver is at: https://github.com/robert-hh/hx711

The difference to the HX711 driver you listed already is the synchronization of the data reading with the data ready pulse on the data line, which will be created even if the data reading is in progress. If you do not synchronize the reading with that pulse, it may cause severely wrong values being retrieved.

Best Regards, Robert

@mcauser
Copy link
Owner

mcauser commented Jun 25, 2024

Thanks @robert-hh

Added CS1237 in a1fac96
Added HX711 in bb7f876
Added HX710 in 4fe836f

I moved the the existing HX71x drivers to a new category Sensors > Load Cell and added yours there.
https://awesome-micropython.com/#load-cell

Added CS1237 to IO > ADC
https://awesome-micropython.com/#adc

Some of these drivers fit multiple categories. It's hard to pick the most appropriate. Let me know if you want anything recategorised.

@robert-hh
Copy link
Author

Thanks. The CS1237 is called by the vendor as 24Bit ADC, but I suppose it's mostly used for load cells or general sensor of Wheastone bridge type. But since the gain can be set to 1 or 2, it can as well be used for other tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants