cancel
Showing results for 
Search instead for 
Did you mean: 

Ads1115 interface with Stm32f446 nucleo

harry123
Senior

Hello everyone 

  • I want to interface ads115 Adc with stm32f446re nucleo. 
  • All the necessary connection between ads1115 and stm32 are made with I2c 
  • Can I get the example source code to read multiple channels.
  • As I am not able to get values from adc
  • Is any ads115 library has to be added to ide for working.   

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Andrew Neil
Evangelist III

@harry123 wrote:
  • Can I get the example source code to read multiple channels.

The ADS115 is not an ST product, so unlikely that ST will provide a specific example.

You should go to the manufacturer's Product Page; ie, TI:

https://www.ti.com/product/ADS1115

There is example code under 'Design & Development':

AndrewNeil_0-1727688185815.png

 


@harry123 wrote:
  • As I am not able to get values from adc

So what testing/investigation/debugging have you done to find out what's going wrong?

There's some general Debugging hints in the Posting Tips:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/706966/highlight/true#M49

 

View solution in original post

1 REPLY 1
Andrew Neil
Evangelist III

@harry123 wrote:
  • Can I get the example source code to read multiple channels.

The ADS115 is not an ST product, so unlikely that ST will provide a specific example.

You should go to the manufacturer's Product Page; ie, TI:

https://www.ti.com/product/ADS1115

There is example code under 'Design & Development':

AndrewNeil_0-1727688185815.png

 


@harry123 wrote:
  • As I am not able to get values from adc

So what testing/investigation/debugging have you done to find out what's going wrong?

There's some general Debugging hints in the Posting Tips:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/706966/highlight/true#M49