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

Support of ADS1234 (or ADS1231) instead of ADS1115 #2556

Open
R1F800 opened this issue Aug 19, 2019 · 14 comments
Open

Support of ADS1234 (or ADS1231) instead of ADS1115 #2556

R1F800 opened this issue Aug 19, 2019 · 14 comments
Labels
Category: Plugin Related to supported sensors Type: Feature Request Add a completely new feature (e.g. controller/plugin)

Comments

@R1F800
Copy link

R1F800 commented Aug 19, 2019

Hi.
in Test Version support of an HX711 is included.
Instead of this I want to use established ADC for an beehive weightcell.
But there is only support of the ADS1115 ADC.

Is there any chance to include a new ADS1235 for a higher bit resolution?
THX

@uzi18
Copy link
Contributor

uzi18 commented Aug 19, 2019

do you have more details?
how you want to connect it to weightcell
both ADSxxxx have different interfaces

@R1F800
Copy link
Author

R1F800 commented Aug 19, 2019

HI. Sorry made a mistake !! It is ADC1234 or 1231.
I am not shure, what / how i May give you more Information.

A BOSCHE H40A-C3-0150 sould be connected to Analog IN an ( equal as ADS1115 but with higher Resolution 24 bit instead of 16)

@R1F800 R1F800 changed the title Support of ADS1235 Support of ADS1234 (or ADS1231) instead of ADS1115 Aug 19, 2019
@uzi18
Copy link
Contributor

uzi18 commented Aug 19, 2019

where to find/buy such module? can't find documentation for it.

ok it is ADS12343 not ADC

@uzi18
Copy link
Contributor

uzi18 commented Aug 19, 2019

what about ADS1256

@R1F800
Copy link
Author

R1F800 commented Aug 19, 2019

Well I think it is a GAIN issue. ADS1234 / 1232 has an GAIN of 128 (MAX)

ADS1256 GAIN of 64 (MAX)

and I think we don´t Need 30k SPS instead of GAIN ..

@TD-er TD-er added Category: Plugin Related to supported sensors Type: Question Question about how something works with concrete answers labels Aug 19, 2019
@R1F800
Copy link
Author

R1F800 commented Dec 4, 2019

Are there any new Information About support of ADC1231 in ESPeasy instead/beside ADS1115 ?

@R1F800
Copy link
Author

R1F800 commented Dec 4, 2019

@TD-er
PLEASE Change TYPE:QUESTION >>> TYPE:FEATURE REQUEST

@TD-er TD-er added Type: Feature Request Add a completely new feature (e.g. controller/plugin) and removed Type: Question Question about how something works with concrete answers labels Dec 4, 2019
@TD-er
Copy link
Member

TD-er commented Dec 4, 2019

I have not done anything for this request, simply because other fixes and stability issues were taken all of my time.

@uzi18
Copy link
Contributor

uzi18 commented Dec 5, 2019

@R1F800 First of all weight cell is not a good idea for long term measurments.
If can suggest, please check this project: http://www.openhivescale.org/ and write here what do you think about it.

@R1F800
Copy link
Author

R1F800 commented Dec 5, 2019

Because of other implemented Services at my home Automation this kind of technical solution will not fit.
I am working at a Project www.hiveeyes.org. So there are as many solutions as requirements...

My requirement is to integrate this data with ESPeasy to my implemented home Automation (FHEM / ESPeasy - data generating layer)
ETL will be next step at grafana or something else....

@uzi18
Copy link
Contributor

uzi18 commented Dec 5, 2019

Why a mechanical scale, and not using load cells?

Because load cell are not supposed to be under continuous load

    Typical use case implies a tare between each measurement, not possible in hive monitoring scenario
    A creep phenomen make measurement unstable after some time, this is well documented, that we check on our first prototype
    Mechanical scale is not subject to this phenomen. Even if structure creeps, measurement wouldn’t change.

https://dipot.ulb.ac.be/dspace/bitstream/2013/146415/1/RAM_HBM.pdf

“Transducer manufacturers provide only information on the short-time stability like maximum creep after 30 minutes or maximum 1 hour under full load, but appear very reticent to provide figures on the long-term stability of their products……

Recording strains over long periods of time without having the opportunity to unload the test specimen or the structure and check zero reference is considered to be one of the most difficult applications of strain-gauges….”

http://www.analog.com/en/analog-dialogue/articles/a-reference-design-for-weigh-scales.html

Because we don’t depend on any complicated part that we must outsource on the mechanical part (motor, optical endstop)

    This makes possible to keep cost low
    Easier to understand what could go wrong and repair
    DIY-ers friendly

Electronic is much simpler : no analog layer on which measurement quality depends

In my opinion is just firmware adaptation.

About ADS1231/32/34/35 they have SPI like interface where ADS1115 is I2C.
So ... we need another plugin for this or we need some unification in core to support it in one, right @TD-er ? Ideas?

@TD-er
Copy link
Member

TD-er commented Dec 5, 2019

My first idea is indeed that change of communication layer (I2C/SPI/UART/etc) is potentially a big change so it will make a plugin quite complex to support both.
Thus if it is using a different comm. layer, I would suggest to start a new plugin for it.

A lot of chips do support SPI and I2C, just by pulling some pins low or high using resistors.
If the chip you need can be set to I2C and still meets your requirements regarding data speed etc. then it might be possible to extend support for the other chips in the same plugin.
As long as the chips do share a lot of the logic to interface with them (e.g. same kind of registers to read, similar way of interpreting the data etc.), then it makes sense to have a plugin support multiple chips. For example the Bosch BME280 and BMP280 are 2 different chips, but they share a lot of the same logic to read and interpret their data.
The same with SenseAir S8 and S11/Sunrise. They are completely different chips, but still are combined in the same plugin. (S11 in UART mode, not I2C. For exact the reason explained above)

@uzi18
Copy link
Contributor

uzi18 commented Dec 6, 2019

here it is impossible to switch to I2C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Plugin Related to supported sensors Type: Feature Request Add a completely new feature (e.g. controller/plugin)
Projects
None yet
Development

No branches or pull requests

3 participants