Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Confusion with I2C addresses
#4
(02-10-2021, 02:10 AM)JFReyes Wrote:
(02-09-2021, 07:58 PM)Rob F Wrote: Ah yes those confusing addresses. The reason for the confusion is i2cdetect shows hex values for addresses but reef-pi and most documents talk regular decimal number. I always thought it was an addressing issue for that custom cable because it should have worked.

Address 0x63 = 99 in reef-pi driver, this is the pH circuit.

Address 0x40 = 64 in reef-pi driver, this is the onboard pca9685

Address 0x70 = 112 in reef-pi driver, this is also for pca9685. That address will control all pca9685 in the circuit.

Address 0x50 = 80 in reef-pi driver, this is the expansion.

Here's a calculator for addresses.

https://www.rapidtables.com/convert/numb...tml?x=0x50

Thank you for the explanation, Rob!

No problem!
Reply to top


Messages In This Thread
Confusion with I2C addresses - by JFReyes - 02-09-2021, 11:39 AM
RE: Confusion with I2C addresses - by Rob F - 02-09-2021, 07:58 PM
RE: Confusion with I2C addresses - by JFReyes - 02-10-2021, 02:10 AM
RE: Confusion with I2C addresses - by Rob F - 02-10-2021, 10:58 AM
RE: Confusion with I2C addresses - by JFReyes - 02-10-2021, 06:10 PM
RE: Confusion with I2C addresses - by Rob F - 02-10-2021, 09:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Two issues: Failed to init I2C & Reef-pi.service not Binding BlakeD 6 2,603 05-12-2023, 10:36 PM
Last Post: Rob F
  attaching i2c colorimeter Adafruit AS7341 david@rainess.com 10 5,108 03-30-2022, 10:56 AM
Last Post: Rob F

Forum Jump:

Current time: 05-01-2024, 11:03 PM