{"product_id":"adafruit-can-bus-bff-add-on-for-qt-py","title":"Adafruit CAN Bus BFF Add-On for QT Py","description":"\u003cp\u003eOur \u003ca href=\"\/hi\/collections\/qt-py-xiao-development-boards\"\u003eQT Py boards\u003c\/a\u003e are a great way to make very small microcontroller projects that pack a ton of power - and now we have a way for you to turn many QT Py boards into powerful CAN bus devices that are super small!\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/en.wikipedia.org\/wiki\/CAN_bus\"\u003eCAN Bus\u003c\/a\u003e is a small-scale networking standard, originally designed for cars and, yes, busses, but is now used for many robotics or sensor networks that need better range and addressing than I2C and don't have the pins or computational ability to talk on Ethernet. CAN is 2 wire differential, which means it's good for long distances and noisy environments.\u003c\/p\u003e\n\u003cp\u003eMessages are sent at about 1Mbps rate - you set the frequency for the bus and then all 'joiners' must match it, and have an address before the packet so that each node can listen in to messages just for it. New nodes can be attached easily because they just need to connect to the two data lines anywhere in the shared net. Each CAN device sends messages whenever it wants, and thanks to some clever data encoding, can detect if there's a message collision and retransmit later.\u003c\/p\u003e\n\u003cp\u003eIf you'd like to connect your QT Py or Xiao to a CAN Bus, the Adafruit CAN Bus BFF will work with any and all boards thanks to the simple SPI interface! The controller used is the\u003ca href=\"https:\/\/www.microchip.com\/en-us\/product\/MCP2515\"\u003e MCP26525\u003c\/a\u003e - also known as the MCP2515 controller plus MCP2551 transceiver, an extremely popular and well-supported chipset that has drivers in \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_MCP2515\"\u003eArduino\u003c\/a\u003e and \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_CircuitPython_MCP2515\"\u003eCircuitPython\u003c\/a\u003e and only requires an SPI port and 1 pin for chip-select, plus another for optional IRQ. Use it to send and receive messages in either standard or extended format at up to 1 Mbps.\u003c\/p\u003e\n\u003cp\u003eWe've added a few nice extras to this BFF to make it useful in many common CAN scenarios:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eJST PH socket\u003c\/strong\u003e - Plug in one of our \u003ca href=\"\/hi\/products\/jst-sh-compatible-1mm-pitch-3-pin-to-premium-male-headers-cable-100mm-long\"\u003eJST PH 3-pin cables\u003c\/a\u003e (\u003cstrong\u003enot included\u003c\/strong\u003e!) for fast wiring and connection\/disconnection. Black wire is ground, Red wire is CAN H, White wire is CAN L.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e120 ohm termination resistor on board\u003c\/strong\u003e, you can remove the termination easily by cutting the jumper on the top of the board.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePre-connected CS pin to A3\u003c\/strong\u003e. There are also jumpers if you want to connect the IRQ, Reset and Silent pins.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eWe include some headers that you can solder to your QT Py. You can also pick up an \u003ca href=\"\/hi\/products\/short-female-header-kit-for-itsybitsy\"\u003eItsy Bitsy short female header kit\u003c\/a\u003e to make it removable but compact, you'll just need to trim down the headers to 7 pins long. Works with any QT Py or Xiao-shaped board that has the SPI port and A3 pin available.\u003c\/p\u003e\n\u003cp\u003eQT Py and JST PH 3-Pin cables are \u003cstrong\u003eNOT\u003c\/strong\u003e included.\u003c\/p\u003e\n\u003cp\u003e\u003ciframe width=\"560\" height=\"315\" src=\"\/\/www.youtube.com\/embed\/djxl4UsgaGo?si=6G1TJovWU4YEQtuU\u0026amp;start=331\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen=\"allowfullscreen\"\u003e\u003c\/iframe\u003e\u003c\/p\u003e\n\u003ch2\u003eSpecifications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eProduct Dimensions: 20.7mm x 17.7mm x 7.1mm\u003c\/li\u003e\n\u003cli\u003eProduct Weight: 1.7g\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eResources\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-can-bus-bff\"\u003ePrimary Guide\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":50847484641553,"sku":"ADA5877","price":8.5,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0901\/6285\/6209\/files\/adafruit-can-bus-bff-add-on-for-qt-py-adafruit-ada5877-41717681062083.jpg?v=1735213925","url":"https:\/\/abcd3032.myshopify.com\/hi\/products\/adafruit-can-bus-bff-add-on-for-qt-py","provider":"Tayyab Zak","version":"1.0","type":"link"}