[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-690401-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-690401-en":130,"doc-similar-690401":154},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","adafruit-liion-or-lipoly-charger-bff-add-on-for-qt-py","Adafruit LiIon or LiPoly Charger BFF Add On for QT Py","","Adafruit LiIon or LiPoly Charger BFF Add On for QT Py provides a compact add-on board for portable powering of a QT Py using a single 3.7V/4.2V Li-ion or Li-poly rechargeable battery. It charges the battery at up to 200mA from the QT Py’s USB Type-C 5V input, indicates charging with a yellow LED, and supports a slide switch or external on/off via breakout pads. When USB is removed, the battery can reverse-charge through a Schottky diode into the 5V port, while a voltage divider on pin A2 lets firmware detect USB vs battery state.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/adafruit-liion-or-lipoly-charger-bff-add-on-for-qt-py/690401/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/adafruit-liion-or-lipoly-charger-bff-add-on-for-qt-py/690401.png","ImageObject",300,407,{"name":42,"@type":43},"Ophelia","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-11-08",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What batteries are supported by this QT Py BFF charger?","Question",{"text":63,"@type":64},"It supports Adafruit LiPoly/LiIon batteries only, using single 3.7V/4.2V cells. Older 3.6V/4.1V cells are not supported.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does charging work when the QT Py is powered by USB?",{"text":68,"@type":64},"With USB Type-C power applied to the QT Py, the MCP73831 charges the connected battery at up to 200mA max rate. The charge LED lights up during charging.",{"name":70,"@type":61,"acceptedAnswer":71},"How can firmware detect whether USB power is present or the board is running on the battery?",{"text":72,"@type":64},"A simple voltage divider connected to pin A2 lets firmware distinguish basic modes: above 4.3V indicates USB power, and 4.2V or below indicates the Li-poly battery, with the divider requiring double-checking for the true voltage value.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},690401,1794165584,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":26,"preview_urls":145},7971461741311,"https://ap-avatar.wpscdn.com/avatar/74000253aff267980c6?x-image-process=image/resize,m_fixed,w_180,h_180&k=1779345379180704826","Adafruit LiIon or LiPoly Charger BFF Add  \nOn for QT Py  \nCreated by Kattni Rembor  \n[https://learn.adafruit.com/adafruit-qt-py-charger-bff](https://learn.adafruit.com/adafruit-qt-py-charger-bff)  \nLast updated on 2026-09-28 01:37:58 PM UTC  \n©Adafruit Industries Page 1 of 14  \nTable of Contents  \nOverview 3  \n\n| Pinouts | 7 |\n| --- | --- |\n| • Power Slide Switch\u003Cbr>• Power Switch Breakout Pads\u003Cbr>• Battery JST Connector\u003Cbr>• Charge LED\u003Cbr>• Battery Monitor Pin and Jumper\u003Cbr>• Charge Chip and Voltage Divider\u003Cbr>Downloads | 11 |\n\n• Files  \n• Schematic and Fab Print  \n• 3D Model  \n©Adafruit Industries Page 2 of 14  \nOverview  \nText emphasized with a yellow exclamation:  \nRevision History: As of December 12, 2025-We added two breakout pads for the on/off switch for an external switch if desired. We also updated the PCB with Adafruit Pinguin to make a lovely and legible silkscreen.  \nIs your QT Py all alone () , lacking a friend to travel the wide world with? When you were a kid you may have learned about the \"buddy\" system. Well, this product is kinda like that! A board that will watch your QT Py's back and give it the power and support to wander out past your USB port.  \n©Adafruit Industries Page 3 of 14  \nThis little lipo charger is designed to fit onto the back of any QT Py board, and make it easy for portable powering. Simply plug any standard 3.7V/4 . 2V lithium polymer or lithium-ion rechargeable battery into the JST plug on the end. When powered by the USB port on the QT Py, the charger kicks in and will charge up the battery at 200mA max rate. You'll see the yellow LED light up when that happens.  \nWhen the USB is removed, the battery will reverse charge into the 5V port via a Schottky diode. You can turn it on or off with the built in slide switch as well.  \n©Adafruit Industries Page 4 of 14  \nA simple voltage divider on the cathode side of the diode and connected to pin A2 will let your firmware detect basic modes: if the voltage is over 4.3V, it is probably plugged into USB. If the voltage is 4.2V or below its probably running on the Lipoly battery and you can roughly determine the battery state.  \nWe include some header that you can solder to your QT Py. You can also pick up an Itsy Bitsy short female header kit to make it removable but compact ([http://adafru.it/](http://adafru.it/)[ ](http://adafru.it/)[4174](4174)) , you'll just need to trim down the headers to 7 pins long.  \nFor use with Adafruit LiPoly/LiIon batteries only! Other batteries may have different voltage, chemistry, polarity, or pinout.  \n©Adafruit Industries Page 5 of 14  \n• Comes as an assembled and tested PCB  \n• Uses the 5V input via USB Type-C connector on QT Py  \n• For charging single Lithium Ion/Lithium Polymer 3.7/4.2v batteries (not for older 3.6/4.1v cells)  \n• 200mA charge current  \nBatteries ([http://adafru.it/258](http://adafru.it/258)) and QT Py are not included.  \n©Adafruit Industries Page 6 of 14  \nRevision History:  \n• As of December 12, 2025-We added two breakout pads for the on/off switch for an external switch if desired. We also updated the PCB with Adafruit Pinguinto make a lovely and legible silkscreen.  \nPinouts  \nText emphasized with a yellow exclamation:  \nRevision History: As of December 12, 2025-We added two breakout pads for the on/off switch for an external switch if desired. We also updated the PCB with Adafruit Pinguin to make a lovely and legible silkscreen.  \n©Adafruit Industries Page 7 of 14  \nThis QT Py BFF has a bunch of features packed into a cute little board. This page will explain the hardware!  \nPower Slide Switch  \nThe power slide switch , located in the middle of the right side of the board, turns the BFF on or off, but only when the QT Py is NOT plugged into USB power.  \n©Adafruit Industries Page 8 of 14  \nPower Switch Breakout Pads  \nOn rev C of the BFF are power switch breakout pads. They are located next to the power slide switch and let you wire up an external switch to use instead of the slide switch. ","cbCaiaFFpvrmZ7UU","https://ap.wps.com/l/cbCaiaFFpvrmZ7UU","pdf",2839260,14,"English","# Overview\n# Pinouts\n## Downloads","[{\"question\":\"What batteries are supported by this QT Py BFF charger?\",\"answer\":\"It supports Adafruit LiPoly/LiIon batteries only, using single 3.7V/4.2V cells. Older 3.6V/4.1V cells are not supported.\"},{\"question\":\"How does charging work when the QT Py is powered by USB?\",\"answer\":\"With USB Type-C power applied to the QT Py, the MCP73831 charges the connected battery at up to 200mA max rate. The charge LED lights up during charging.\"},{\"question\":\"How can firmware detect whether USB power is present or the board is running on the battery?\",\"answer\":\"A simple voltage divider connected to pin A2 lets firmware distinguish basic modes: above 4.3V indicates USB power, and 4.2V or below indicates the Li-poly battery, with the divider requiring double-checking for the true voltage value.\"}]","Adafruit LiIon or LiPoly Charger BFF Add On for QT Py | PDF",35,[146,150],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e31110cc869205bff46fad82897d5ae8.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ed1adec5fb22ec7a405f85da7f52a257.webp",982,1388,{"list":155,"token":11},[156,162,168,174,180,187,193,199,205,211],{"doc_id":157,"doc_title":158,"file_type":137,"home_preview_img_url":159,"slug":160,"view_count":55,"category_name":29,"create_tm":161},690402,"Adafruit QT Py Charger BFF Add-On for QT Py","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002636060/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=7w3TOboCfIQOqzVRCSc6CZCgM%2FI%3D","adafruit-qt-py-charger-bff-add-on-for-qt-py",1794165585,{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":30,"category_name":29,"create_tm":167},720730,"USB, DC & Solar Lipoly Charger - Build Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024403571/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=kF3GkRg3afd2UZSxBrf%2BWcuAg38%3D","usb-dc-solar-lipoly-charger-build-guide",1795038992,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":55,"category_name":29,"create_tm":173},690397,"Adafruit MicroLipo and MiniLipo Battery Chargers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002025833/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=9dqq9C7x1Wyjn%2FM5f%2FXi6vsQl1M%3D","adafruit-microlipo-and-minilipo-battery-chargers",1794165577,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":102,"category_name":29,"create_tm":179},719890,"TC4056 MODULE TYPE-C - Lithium Battery Charging & Protection Module","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024374216/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=X%2BjSpZu%2FhEJiCi18Ad%2BEPJAQci8%3D","tc4056-module-type-c-lithium-battery-charging-protection-module",1795032759,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":185,"category_name":29,"create_tm":186},562572,"S-8254A Series - Battery Protection IC - Rev.5.4","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947885521/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=OLj3UOsRGvGUlFePflNlxqxzmto%3D","s-8254a-series-battery-protection-ic-rev54",11,1791808994,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":30,"category_name":29,"create_tm":192},692036,"LTC4056-4.2 - Features - Linear Li-Ion Charger with Termination in ThinSOT","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002892150/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=972dKaeFP0eDCp5GamL5yXKNB6g%3D","ltc4056-42-features-linear-li-ion-charger-with-termination-in-thinsot",1794177832,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":97,"category_name":29,"create_tm":198},720728,"MCP73871 click - Li-Po/Li-Ion battery charge management and system load sharing solution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023677828/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=ZuayGbXB%2Fg9QWdJXqrZjk2kHuIE%3D","mcp73871-click-li-poli-ion-battery-charge-management-and-system-load-sharing-solution",1795038988,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":115,"category_name":29,"create_tm":204},562994,"MP1540 - 1.3MHz, 18V Step-Up Converter","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947897992/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=B5GUux%2FOKuIh%2F4MSSxoJ6lLkLOA%3D","mp1540-13mhz-18v-step-up-converter-562994",1791810287,{"doc_id":206,"doc_title":201,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},562993,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947845497/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=4Lnjv%2F2ECsRbbknT6eAe0zCBRGg%3D","mp1540-13mhz-18v-step-up-converter",13,1791810284,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":29,"create_tm":217},201520,"TLR-7 HL-X - Multi-Fuel High-Lumen Rail-Mounted Light for Glock 43X/48 MOS - USB","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882496801/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234699&Signature=zQCugLX28fY8SO%2BGz2o5R1KUR2Q%3D","tlr-7-hl-x-multi-fuel-high-lumen-rail-mounted-light-for-glock-43x48-mos-usb",24,1788534955]