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??)
Bad ESP32-S2 BMP280 Module
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Bad ESP32-S2 BMP280 Module
Can you post pictures of the offending item and maybe the pack it came in so we can trace the supply chain?
- JeremyLaurenson
- Posts: 53
- Joined: Tue Feb 08, 2022 12:13 pm
Re: Bad ESP32-S2 BMP280 Module
Sure:
- Attachments
-
- IMG_2935.png (659.08 KiB) Viewed 92 times
-
- IMG_2936.png (783.25 KiB) Viewed 92 times
-
- IMG_2937.png (646.05 KiB) Viewed 92 times
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Bad ESP32-S2 BMP280 Module
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"!
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"!
- JeremyLaurenson
- Posts: 53
- Joined: Tue Feb 08, 2022 12:13 pm
Re: Bad ESP32-S2 BMP280 Module
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.
# 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.
- JeremyLaurenson
- Posts: 53
- Joined: Tue Feb 08, 2022 12:13 pm
Re: Bad ESP32-S2 BMP280 Module
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.
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.
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Bad ESP32-S2 BMP280 Module
ok! you can email support@adafruit for replacement hardware or a refund.
Please be positive and constructive with your questions and comments.