These are ADC for bridges, mostly used for scales.
Has anyone successfully communicated with one of these?
Apart from this:
https://github.com/IJonez/DMS/tree/test
I came up empty handed wrt to python.
Thanks
TI ADS1231/ADS1232/ADS1234
Re: TI ADS1231/ADS1232/ADS1234
No, but I took a quick look at the datasheet, they look like they should be fairly straightforward. Wait for the DRDY line to toggle (put the pin in input mode and wait for an edge interrupt), then drive the clock signal 24 times reading in one bit at a time on the DOUT line. pretty much everything else looks like it's configured by circuitry ratehr than anything complicated like setting registers etc.
Let's just say that...this isn't a very good reference for how to write Python or low-level code. You should use shifting and anding to accumulate the data bits...not appending them to a string!?poesel wrote: ↑Mon Apr 13, 2020 4:44 pmApart from this:
https://github.com/IJonez/DMS/tree/test
I came up empty handed wrt to python.
Re: TI ADS1231/ADS1232/ADS1234
Thanks - I'll look into it.
Re: TI ADS1231/ADS1232/ADS1234
A few years back, I was using ADS123x in a RPi project, I haven't finished the code apparently (e.g. internal temperature module...) :
https://github.com/nahaangard/ADC_Pytho ... er/ADS1232
now, I'll be getting back to this ADC, this time on ESP32 and uPy, I'll be revisiting the datasheet and code soon...that's why I was browsing the forum and came up with this post...thought might be worth to have a look.
Cheers.
https://github.com/nahaangard/ADC_Pytho ... er/ADS1232
now, I'll be getting back to this ADC, this time on ESP32 and uPy, I'll be revisiting the datasheet and code soon...that's why I was browsing the forum and came up with this post...thought might be worth to have a look.
Cheers.