Adafruit BusIO library makes debugging I2C failures fast ๐Ÿ› ๏ธ๐Ÿ’ก๐Ÿ”Œ

Subscribers:
460,000
Published on ● Video Link: https://www.youtube.com/watch?v=quou3fe_ZEU



Duration: 1:21
4,281 views
59


It's not often... but every few months, one of our sensor drivers stops working due to hardware changes. It happened this week with the AHT20 tester - for some reason, it doesn't init anymore! What would typically turn into a multi-hour debugging session is a lot easier since we started using an intermediary library called BusIO for I2C/SPI device interactions https://github.com/adafruit/Adafruit_BusIO - there is a single #define we enable to turn on print debugging and when we recompile and upload - voila we see full translation details including stops and transfer failures. Turns out the secret calibration command no longer exists on AHTs; a quick PR https://github.com/adafruit/Adafruit_AHTX0/pull/13 , and we're back in business!

Visit the Adafruit shop online - http://www.adafruit.com

-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
-----------------------------------------

#adafruit #electronics #opensource #opensourcehardware #busio #aht20 #i2c #spi #hardwaredebugging #sensordrivers #libraryinteraction #fastfix #testertools #commandcalibration #transferfailure #businessrecovery #techinnovation #deviceinteractions




Other Videos By Adafruit Industries


2023-08-16Ambient Sound Machine demo #adafruit
2023-08-16PCB of the day! Bluetooth + TFT = nRF52840 Sense Feather with TFT display ๐Ÿ› ๏ธ๐Ÿ”„๐ŸŽš๏ธ
2023-08-16JPโ€™s Product Pick of the Week 8/15/23 PC Joystick to seesaw I2C Adapter #adafruit @adafruit
2023-08-15DIY Overhead Camera Rig #adafruit #3dprinting
2023-08-15PCB of the day! HUSB238 USB PD Sink Breakout ๐Ÿ”Œ๐Ÿ”‹๐Ÿ’ก
2023-08-14Rocket Tea Light #3dprinting #adafruit #timelapse
2023-08-14PCB of the day! NeoKey 1x4 QT I2C - Four Mechanical Key Switches with NeoPixels - STEMMA Qwiic ๐Ÿ”ง๐ŸŽ›๏ธ๐Ÿ”—
2023-08-14CircuitPython Weekly Meeting for August 14, 2023 @circuitpython #circuitpython #adafruit
2023-08-14The Great Search: 2x5 0.05" JTAG/SWD connector and cable #TheGreatSearch #digikey #adafruit @DigiKey
2023-08-14The Desk of Ladyada - Complex kernel compiles? Docker it up!
2023-08-13Adafruit BusIO library makes debugging I2C failures fast ๐Ÿ› ๏ธ๐Ÿ’ก๐Ÿ”Œ
2023-08-13PCB of the day! Ultimate GPS GNSS with USB - 99 channel w/10 Hz updates ๐ŸŒ๐Ÿ”Œ๐Ÿ’ป
2023-08-12It's 10pm ... Never give up on ESP32-S3 Linux builds... success! ๐Ÿ”ง๐Ÿ’ป๐ŸŽ‰
2023-08-12Deep Dive w/Scott: Dusting off ESP-IDF 5 update #adafruit
2023-08-11fAcToRy fRiDaY - MaDe iN NyC ๐Ÿญ๐Ÿ”ง๐Ÿ—ฝ
2023-08-11John Park's CircuitPython Parsec: Circuit Playground Buttons #adafruit #circuitpython
2023-08-11PCB of the day! Adafruit BME688 - Temperature, Humidity, Pressure and Gas Sensor - STEMMA QT ๐ŸŒก๏ธ๐Ÿ’จ๐Ÿ”Œ
2023-08-11JOHN PARK'S WORKSHOP LIVE 8/10/23 Taylor Loves LEDs @adafruit @johnedgarpark #adafruit
2023-08-10#NewProducts 8/9/23 Featuring #AdafruitMetro #RP2040!
2023-08-10Adafruit Top Secret August 9, 2023 #Adafruit #AdafruitTopSecret @Adafruit
2023-08-10Python on Hardware weekly video 242 #CircuitPython #Python @Adafruit @micropython



Tags:
adafruit
electronics
diy
arduino
hardware
opensource
projects
raspberry
pi
computer
raspberrypi
microcontrollers
limor
limorfried
ladyada
STEAM
STEM
python
microbit
circuitpython
neopixel
neopixels
raspberry pi
circuitplaygound
nyc
make
makers
micro:bit
adafrit
adafruit promo code
ada fruit
adafruit coupons
raspberry pi zero
micropython
machine learning
ai
tensorflow