Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2C not working on ESP32-S2 TFT #345

Closed
isomorphic85 opened this issue Oct 7, 2022 · 7 comments
Closed

I2C not working on ESP32-S2 TFT #345

isomorphic85 opened this issue Oct 7, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@isomorphic85
Copy link

isomorphic85 commented Oct 7, 2022

Describe the bug
I2C devices are not discoverable on ESP32-S2 TFT boards.

I have tried numerous different I2C sensors including several BME280 I2C sensors .

Manually trying to add a bme280 doesn't work either as it can't see the I2C device

Arduino board
ESP32-S2 TFT

To Reproduce
Connect I2c Sensor

  1. Go to devices / I2C Scan
  2. Click on Scan Again
  3. No devices will show
  4. Scan show's complete

Expected behavior
expecting to see the i2c device that is connected's address

Which components are connected to your device
none, unable to add any due to i2c not working

Screenshots
image

image

image

Desktop (please complete the following information):

  • OS: win10
  • Browser chrome
  • Version 105.0.5195.127 (Official Build) (64-bit)

Additional context
Tried with different ESP32-S2 TFT boards and all had same problem.

@brentru brentru added the bug Something isn't working label Oct 7, 2022
@brentru brentru self-assigned this Oct 7, 2022
@isomorphic85
Copy link
Author

any update on this?

@brentru brentru added this to the beta 52 milestone Oct 11, 2022
@brentru
Copy link
Member

brentru commented Oct 11, 2022

This issue will be looked at this week as part of the batch of issues tagged for beta 52

https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/milestone/3

@brentru
Copy link
Member

brentru commented Oct 13, 2022

Confirming this is replicable with WipperSnappter Beta 51 and the Adafruit Feather ESP32-S2 TFT

@brentru
Copy link
Member

brentru commented Oct 13, 2022

Testbed I2C scan works on my board

Default port I2C scan: 0x0, 0xB, 0x38, 0x77,

WipperSnapper I2C scan is same as issue

@brentru
Copy link
Member

brentru commented Oct 13, 2022

Hi @isomorphic85 - I've resolved this issue. You do not need to update the firmware! There was a mismatch between the I2C pins on the definition we use and the actual I2C pinout. This has since been fixed.

Please try deleting the ESP32-S2 TFT Feather from your Adafruit IO devices page. Then, refresh your tab and reconnect your board. Please let me know if it's working for you. I tested it as well with a similar setup:

I2C scan with BME280 and AHT20 attached to ESP32-S2 TFT's I2C Port:
image

BME280 attached to ESP32-S2 TFT
image

@isomorphic85
Copy link
Author

isomorphic85 commented Oct 13, 2022

That worked! Awesome.

Thank you

side note- any support for images or data on the screen in the works through wipper?

@brentru
Copy link
Member

brentru commented Oct 14, 2022

side note- any support for images or data on the screen in the works through wipper?

Like on a TFT? Yes, it's on the roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants