This is a CAN-Bus shield, designed with novices in mind and so uses 99% THT (Through-Hole Components) that is designed to be used with any of Adafruit’s Feather range.
Why did I make it?
As part of my car project I have going, I wanted to add a BMW iDrive unit into a vehicle that was not a BMW. I also wanted to use it as, initially, a USB input device, I then progressed to using it as a Bluetooth HID device that can be used with anything really.
I designed the PCB in Fritzing – I never intended to create a product to sell, but when I first completed my project many people asked me for a PCB so I had loads created.
These are all I have remaining. Once they’re gone, they’re gone
My base code is available on GitHub and provides 90% of code required, with the last 10% of work being making it work for your specific needs such as changing what keys etc it sends.
Please note, this code was specifically written for a feather that supports BLE. I have tested and used it personally with both the Feather 32u4 BLE and also the M0 BLE. Links to both are below in the resources section along with my github link.
I’m not an expert coder, so the code is not at a professional level however it worked perfectly for my needs.
What makes it special?
I made this because I was limited on space and because there’s no CAN bus shields available for Adafruits range of feathers.
It’s based on an open source CAN Bus schematic
What do I get?
This is for the bare PCB ONLY (1st Picture) – All other pictures are for reference only unless buying the pre-assembled PCB with iDrive controller
If you choose the Assembled PCB + iDrive kit, then you are getting 1 x pre-assembled Feather CAN Bus shield and the iDrive controller that has been tested working with the unit. NO ADAFRUIT FEATHER IS INCLUDED
BOM (Bill of Materials -> Components Needed)
1 x Generic male header – 2 pins pin spacing 0.1in (2.54mm) (CAN JP Connection)
2 x 1206 100nF Capacitor
1 x 10kΩ Resistor
1 x 120Ω Resistor
1 x 16MHZ Crystal, pin spacing 5.08mm;
2 x 1kΩ Resistor
2 x 22pF Capacitor
1 x 47kΩ
1 x Generic male header – 2 pins
1 x Screw terminal – 2 pins
1 x Red (633nm) LED
1 x Blue (633nm) LED
1 x MCP2515 I/P MCP2515 P/DIP
1 x MCP2551 MCP2551 P/DIP
I recommend either of these Adafruit Feathers (You can use any, but my code on GitHub is specifically for either of these)
We are angry, frustrated, and in pain because of the violence and murder of Black people by the police because of racism. We are in the fight AGAINST RACISM. George Floyd was murdered, his life stolen. The Adafruit teams have specific actions we’ve done, are doing, and will do together as a company and culture. We are asking the Adafruit community to get involved and share what you are doing. The Adafruit teams will not settle for a hash tag, a Tweet, or an icon change. We will work on real change, and that requires real action and real work together. That is what we will do each day, each month, each year – we will hold ourselves accountable and publish our collective efforts, partnerships, activism, donations, openly and publicly. Our blog and social media platforms will be utilized in actionable ways. Join us and the anti-racist efforts working to end police brutality, reform the criminal justice system, and dismantle the many other forms of systemic racism at work in this country, read more @ adafruit.com/blacklivesmatter
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.