Bad ESP32-S2 BMP280 Module

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
JeremyLaurenson
 
Posts: 53
Joined: Tue Feb 08, 2022 12:13 pm

Bad ESP32-S2 BMP280 Module

Post by JeremyLaurenson »

I bought two of the ESP32-S2 modules with BME280s on them and both came with issues, only one of which I could fix:
Using 8.0RC1 Circuitpython I used the code here: https://learn.adafruit.com/adafruit-esp ... rd-sensors

Some of the time I get an error:
RuntimeError: No pull up found on SDA or SCL; check your wiring
and sometimes I get:
ValueError: No I2C device at address: 0xb
and sometimes it works, until it doesnt.


On board 2, the board had to be flashed using ESPTool - it shipped bricked.


(Similarly I have an ESP32-C3 QT Py that wnt connect to Wifi at all, and 9 others that do. Whats going on with QA??)

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Bad ESP32-S2 BMP280 Module

Post by Franklin97355 »

Can you post pictures of the offending item and maybe the pack it came in so we can trace the supply chain?

User avatar
JeremyLaurenson
 
Posts: 53
Joined: Tue Feb 08, 2022 12:13 pm

Re: Bad ESP32-S2 BMP280 Module

Post by JeremyLaurenson »

Sure:
Attachments
IMG_2935.png
IMG_2935.png (659.08 KiB) Viewed 89 times
IMG_2936.png
IMG_2936.png (783.25 KiB) Viewed 89 times
IMG_2937.png
IMG_2937.png (646.05 KiB) Viewed 89 times

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: Bad ESP32-S2 BMP280 Module

Post by adafruit2 »

are you enabling the I2C power pin/regulator? it ought to turn on by itself but perhaps theres a but in latest cpy 8 (its still very new). you need to pull the pin high.

https://learn.adafruit.com/adafruit-esp ... management

if you need a new QT Py C3, email support@adafruit - the QT Py C3 wifi is tested onsite but its not as reliable as the ESP modules.

please note, the word "bricked" means does not work and is unable to work, if you were able to load code onto it, it was not "bricked"!

User avatar
JeremyLaurenson
 
Posts: 53
Joined: Tue Feb 08, 2022 12:13 pm

Re: Bad ESP32-S2 BMP280 Module

Post by JeremyLaurenson »

Yes, I had to add an explicit:

# Turn internal I2C bus on
i2c_power = digitalio.DigitalInOut(board.I2C_POWER)
i2c_power.switch_to_output()
i2c_power.value=True

I say the second was 'bricked' because as a typical "circuitpython" device, it was not "The easiest way to program microcontrollers"

I had to use esptool to reflash the board from scratch with the bin file. The target user would certainly have been frustrated if not contacting you to return the board.

User avatar
JeremyLaurenson
 
Posts: 53
Joined: Tue Feb 08, 2022 12:13 pm

Re: Bad ESP32-S2 BMP280 Module

Post by JeremyLaurenson »

Screenshot 2023-02-01 at 6.53.30 AM.png
Screenshot 2023-02-01 at 6.53.30 AM.png (25.57 KiB) Viewed 79 times

User avatar
JeremyLaurenson
 
Posts: 53
Joined: Tue Feb 08, 2022 12:13 pm

Re: Bad ESP32-S2 BMP280 Module

Post by JeremyLaurenson »

First, let me say that I understand that there are from time to time issues with boards, chips etc. Nothing is 100%, and I get that.

Just as a point-of-view:

The reason I purchase Adafruit branded items from Adafruit and not just the equivalent from digikey, amazon or wherever is that the items are "curated".

Circuitpython+AdafruitBoard gives me that true easiest setup and validated combination so I don't have to mess around figuring out chip compatibility with whatever IDE.

My last two orders (totaling 12 Adafruit branded microcontroller boards) have had issues with around 4-5 devices... that concerns me. What I am seeing is >30% intermittent maybe-hardware-issues. Theyve all been Espressif ESP32, so maybe thats it..

To get tot he point here, I dont know the Feathers will intermittently stop working, telling me there is no BME on the board.. or that the QTs will intermittently stop connecting to Wifi. For my sensor application >30% "weird" ratio is uncomfortable.

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: Bad ESP32-S2 BMP280 Module

Post by adafruit2 »

ok! you can email support@adafruit for replacement hardware or a refund.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”