Fix WioTrackerL1 BLE companion: route sensors to Grove I2C bus (Wire1)#1669
Open
Azuresword wants to merge 1 commit intomeshcore-dev:devfrom
Open
Fix WioTrackerL1 BLE companion: route sensors to Grove I2C bus (Wire1)#1669Azuresword wants to merge 1 commit intomeshcore-dev:devfrom
Azuresword wants to merge 1 commit intomeshcore-dev:devfrom
Conversation
Sensors connected via the Grove I2C connector (D18/D17) were not detected because the firmware scanned the OLED I2C bus (Wire, D14/D15) by default. Adding ENV_PIN_SDA/SCL flags directs EnvironmentSensorManager to use Wire1, matching the physical Grove connector pinout. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
via Grove connector
ENV_PIN_SDA=PIN_WIRE1_SDAandENV_PIN_SCL=PIN_WIRE1_SCLbuild flagsto
WioTrackerL1_companion_radio_bleenvironmentProblem
Sensors (e.g. BME280) connected to the Grove I2C port (Wire1: D18/D17) were
not detected because
EnvironmentSensorManagerdefaults to scanning the OLEDI2C bus (Wire: D14/D15) when
ENV_PIN_SDA/ENV_PIN_SCLare not defined.Fix
Added the two build flags so that
EnvironmentSensorManageruses Wire1 forsensor probing, matching the physical Grove connector pinout. The OLED display
on Wire is unaffected.
Test plan
WioTrackerL1_companion_radio_blefirmwareFound BME280 at address: 76