Giter Site home page Giter Site logo

Cannot change address about ads1x15 HOT 11 CLOSED

robtillaart avatar robtillaart commented on August 10, 2024
Cannot change address

from ads1x15.

Comments (11)

yihan-liu avatar yihan-liu commented on August 10, 2024 1

That was an option I considered however I understood that 0x48 did work? So maybe only the address logic is gone?

Anyway, if your problem is solved you may close the issue.

Yes, on the commercial module the ADDR is pulled to GND. That is why 0x48 works. Anyway, I think at least the code is tested to be good when using address 0x49. Thank you so much!

from ads1x15.

RobTillaart avatar RobTillaart commented on August 10, 2024

Thanks for the issue, will come back too it asap.
Will try to find some time tomorrow.

from ads1x15.

RobTillaart avatar RobTillaart commented on August 10, 2024

Q: if you connect ADDR to Vdd, and you run an i2c scanner, does it report the address correctly?

from ads1x15.

yihan-liu avatar yihan-liu commented on August 10, 2024

Q: if you connect ADDR to Vdd, and you run an i2c scanner, does it report the address correctly?

I just tried and it wouldn't detect the address

from ads1x15.

RobTillaart avatar RobTillaart commented on August 10, 2024

Q: if you connect ADDR to Vdd, and you run an i2c scanner, does it report the address correctly?

I just tried and it wouldn't detect the address

Q1: Does it not detect any address?

Q2: Please measure the voltage level of the ADDR pin.
If it is fluctuating it is definitely not connected correctly.

Q3: Please measure the resistance Ω between ADDR pin and VDD (not connected to power).

from ads1x15.

yihan-liu avatar yihan-liu commented on August 10, 2024

Q: if you connect ADDR to Vdd, and you run an i2c scanner, does it report the address correctly?

I just tried and it wouldn't detect the address

Q1: Does it not detect any address?

Q2: Please measure the voltage level of the ADDR pin. If it is fluctuating it is definitely not connected correctly.

Q3: Please measure the resistance Ω between ADDR pin and VDD (not connected to power).

A1: No, it's not detecting any address.

A2: It's at a solid 3.29V

A3: The resistance is 234 kΩ.

I just finished these measurement and I am going to try debugging the I2C interface again by running I2C scanner.

from ads1x15.

RobTillaart avatar RobTillaart commented on August 10, 2024

The resistance of 234 is oo high imho.
If you have a direct connection between Vdd and ADDR it should be less than 1 ohm.

If i2c scanner does not see any address the build in initialization of the device failed somehow. At start the device scans which pin is connected to ADDR to set the address (my assumption)

from ads1x15.

yihan-liu avatar yihan-liu commented on August 10, 2024

I do have a pull-up resistor at 10K at ADDR, so that is why the resistance at no power is significant. But you are right that I probably have a faulty PCB.

from ads1x15.

RobTillaart avatar RobTillaart commented on August 10, 2024

You need to connect the vdd direct to addr, so without pull-ups. You might replace the 10K on the pcb with a piece of wire?

from ads1x15.

yihan-liu avatar yihan-liu commented on August 10, 2024

You need to connect the vdd direct to addr, so without pull-ups. You might replace the 10K on the pcb with a piece of wire?

The I2C scanner could not find the chip no matter how I change the connection (even switching to ADDR being LOW). After a painstakingly amount of test around the ADS1115 I have, I found that I have a fried chip. Switching to a new chip made the I2C scanner find the device at address 0x49. Thanks for the help!

from ads1x15.

RobTillaart avatar RobTillaart commented on August 10, 2024

That was an option I considered however I understood that 0x48 did work? So maybe only the address logic is gone?

Anyway, if your problem is solved you may close the issue.

from ads1x15.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.