Skip to content

Use TSL2561 and RTC ds1307 using a different bus #514

@Novocaine85

Description

@Novocaine85

If you need support: Please post on https://www.reddit.com/r/crankshaft/ as this is a bug tracker, not a support forum.

Note: Reporting issues not based on official published builds will be closed without any comment.

  • What phone do you have?
    Poco F3

  • What OS version?
    Android 11 / Miui 12.5.6 Global

  • What crankshaft version?
    Alpha-7.4 2021-09-22

  • Steps to reproduce the bug, if you're planning to report a bug. Please indicate whether the bug is always repoducible.
    On my RPI I have the RTC ds1307 using the regular pins (vcc, gnd, scl, sda) and using a dtoverlay (dtoverlay=i2c-gpio,bus=2,i2c_gpio_sda=17,i2c_gpio_scl=27) on config.txt, i'm using the TSL2561 connected to the pins as per dtoverlay.
    Changed TSL_I2C_BUS to 2 on crankshaft_env.sh but TSL2561 is not recognized.

  • Please provide any further information that you might find helpful if available.

pi@CRANKSHAFT-NG:~ $ crankshaft i2ccheck 39
Crankshaft Management Tool v2.4.0 is executing command...

No device found.

Done.
pi@CRANKSHAFT-NG:~ $ crankshaft i2ccheck 68
Crankshaft Management Tool v2.4.0 is executing command...

Device 0x68 found and in use by another process.

Done.


pi@CRANKSHAFT-NG:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@CRANKSHAFT-NG:~ $ sudo i2cdetect -y 2
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- 39 -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@CRANKSHAFT-NG:~ $

debug.zip

Thanks for any advice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions