Page 1 of 1

component for ADC

Posted: Thu Feb 06, 2020 3:15 pm
by pollob
Please sir,

add ADC module in user component like ADS1115 and ADS1232 and HX710 and MCP3301.
please add XC104 digital potentiometer. thanks.

Re: component for ADC

Posted: Thu Feb 06, 2020 9:25 pm
by kersing
There is no need to post the same request multiple times.

Re: component for ADC

Posted: Fri Feb 07, 2020 11:29 am
by Benj
That's a nice list of new components to add, thanks for the suggestions.

Do you have any preference on which to try and do first?

Also I can't seem to find a datasheet for the XC104 device, do you mean X9C104?

Re: component for ADC

Posted: Fri Feb 07, 2020 1:55 pm
by Benj
I've added the digital pot component now to the update system, the others I will investigate next week if I get some time.

Re: component for ADC

Posted: Fri Feb 07, 2020 5:21 pm
by pollob
yes it X9C10x group

Re: component for ADC

Posted: Fri Feb 07, 2020 5:27 pm
by pollob
i need ADS1115 in user component badly

Re: component for ADC

Posted: Fri Feb 07, 2020 6:11 pm
by Benj
Ok thanks I'll look at that one next :D

Re: component for ADC

Posted: Fri Feb 07, 2020 6:33 pm
by pollob
Thank you so much :) :)

Re: component for ADC

Posted: Fri Feb 21, 2020 1:15 pm
by Benj
Hello,

I've had a few looks at the ADS1115 for you and it looks possible but it also looks complex to do well. I don't have a lot of time at the moment to give this proper attention and don't want to keep kicking it down the road as it were leaving you hanging on. Would you be able to have a go using the I2C master component and see how you get on.

I can help you to get up and running and once you have working code this should help a lot in terms of getting the component to work first time.

This should help in terms of understanding and using I2C comms.
https://www.matrixtsl.com/blog/simplifi ... c-and-spi/

If you want to try and take this further yourself then this is something that should help.
https://www.matrixtsl.com/wiki/index.ph ... Components

Let me know what you decide to do and how you're getting on.