The Qwiic Button isn’t being detected by i2c scans via an Adafruit FT232H Breakout. My SparkFun Spectral Sensor Breakout - AS7263 NIR (Qwiic) and SparkFun Indoor Air Quality Sensor - ENS160 (Qwiic) are detected just not the Qwiic Button.
Odd - Was it purchased from us? If so head over to Return Policy - SparkFun Electronics (contact vendor if purchased elsewhere) and we’ll get ya squared away
Hi Steffen (@stefovego ),
The Qwiic Button uses an ATTiny microcontroller to read and control the button, and provide the I2C interface. It uses I2C clock stretching. That may cause problems for the FT232H. A standard beginTransmission, endTransmission detection test may not work. You may need to (e.g.) check the Qwiic button device ID to truly test if it is present. Read register 0x00 and check if it returns 0x5D.
I hope this helps,
Paul
Thanks, I purchased it directly from Sparkfun. I just filled out the RMA form looking forward to getting a replacement.
You can try the suggested method above too to see if that helps ![]()
I wasn’t going to say anything but I thought that it was most likely ai info. Also I thought this was supposed to be plug in play.
It is not…that’s one our most knowledgeable posters (note there’s a title of “leader” next to their username); feel free to trust 'em ![]()
import board
i2c = board.I2C()
address = 0x6f
while not i2c.try_lock():
pass
try:
i2c.writeto(address, bytes(0x00))
result = bytearray(2)
i2c.readfrom_into(address, result)
print(result)
finally:
i2c.unlock()
I tried to run the above circuitpython code and I get nack when I try to run write to the device. I swapped the address with the address of a AS7263 module and I get a response back. Sorry PaulZC for the accusation, that was uncalled for.
So I think the button module doesn’t work.
No worries Steffen (@stefovego ),
Thanks for trying that. I’m sorry, I have no other suggestions… Please go ahead with the return.
Best wishes,
Paul
