Comma Pedal: Building with MacroFab
Getting a Comma Pedal is NOT EASY, nor should it be. It’s not exactly a polished and warranted product and it can be dangerous or even deadly to alter the way your car was manufactured. In fact, it doesn’t really even work… that is, unless you build it, flash firmware, and wire it inline with your car’s Accelerator pedal (of which has to be already fitted with some sort of ACC modules) and ensure OpenPilot code exists to run it. But for those of us who love this stuff (and want to punish ourselves)… we forge on.
Get one-on-one openpilot help & support by considering Becoming a Patreon supporter. Your financial support helps fund the opc.ai website, and gets you continued dedicated one-on-one support from myself and others that become a part of this effort. Visit https://www.patreon.com/openpilotcommunity today to help the efforts! Every little bit helps.
My first experience with MacroFab (and ordering PCB’s in general) was when I went to order my Comma Pedal. I had sent things to MacroFab before, but I didn’t do it myself — someone more inclined always had. My background for the past 20 years is in computer science (mainly software development), but that’s where most of my focus ended. I never really got into electrical engineering, soldering PCB’s, or the physical side of computing all that much. I built a computer from NewEgg but that’s hardly the same.
So when I heard I could order my own Comma Pedal from a company like MacroFab I thought, wow that sounds easy… well its not. And that isn’t MacroFab’s fault, it’s just difficult if you don’t know what you’re doing. So that’s why I’m writing this article.
The rest of this guide will have to do with the latest version of MacroFab’s website so feel free to CMD+CLICK / CTRL+CLICK to open it in a new tab so you can keep the guide open below:
You should already have a tab opened since you so obviously read my preface above… you did right? You better have, that’s just rude to scroll down to the words “Getting Started” and miss all of my fluff.
Log in or Sign up first, might as well get that out of the way.
Once you’re logged in for the first time, you will be taken to your dashboard and be greeted with a friendly Welcome message.
Now, the first thing you should notice is that the arrow of the popover does not line up with the Create New PCB button. Oh you didn’t notice? Sorry, inner UX voice is speaking aloud again. Ignore this.
After clicking Okay, instead of Thank you… because we’re rude like that… we will need to start creating our PCB. This ought to be interesting considering I don’t even know what PCB stands for.
Drop my PCB files? I was not told there would be files involved in this guide… awkward. Okay, I’m out.
Alright so, we got our order started and it’s already going to be $17.09 and take 10 days to build even though I haven’t really given them anything yet… Well, like your favorite tax software, these numbers can and will change as you move through the steps.
Find the build files
So I lied, we won’t ONLY be on MacroFab’s website for the remainder of the article. Quick detour…
Head on over to
commaai/neo repo on GitHub, or follow the link below:
This is the link for the HARDWARE side of your Comma Pedal. It has all of the files needed to build your PCB.
Click on the
board link and then click the
interceptor.brd then click on the Raw button.
Go to File > Save As or (CMD+S or CTRL+S).
I had to do it this way, right clicking and going to Save Link As did not bode well on MacroFab, it didn’t like the file type or something. Make sure you remove .txt file extension from the Save As: box, and change Format to All Files so it saves as an actual
.brd instead of
Now do the same for the
BOM.csv file. No worries, it’s not an actual bom, I’ve already verified it won’t blow anything up by using spelling.
Now, flip back over to that dropity MacroFab tab and drag that freshly downloaded
interceptor.brd file onto the website to upload.
After you see some processing of the file happening (aka hamsters), we’re finally getting somewhere exciting!
Wow, believe it or not, that was the easy part.
Now on to the next tab, which is Bill of Materials
Sourcing the materials
On the Bill of Materials tab, you’ll be responsible for selecting the parts needed to produce this PCB.
Damn, you mean it didn’t automatically search and locate all the parts I need? Unfortunately not.
Luckily for you, that’s what the BOM.csv file was we downloaded earlier. Ahhh datz what da bom stands for.
Open up BOM.csv and reference each line to each part.
I found it was easiest to click the Magnifying glass next to the N/A No part selected. In the search box, copy / paste the MPN number from the BOM.csv file into the search box as seen below.
Then click the Select button on the matched item.
Repeat this for all parts in the list, except for the J1, J2, and HONDA-6PIN.
Check the DNP box next to the J1-J2.
If you find that any of the parts are not available or require too large of a minimum order, there are alternatives. For instance, for I had to substitute
GRM188R71C104JA01D which is slightly different but should work fine for this application. You may have to replace the same part if it ends up applying to you.
Just try to check in the Slack channel or leave a comment below if you have a question on whether a part will work as a replacement or not. I ended up finding the alternative on DigiKey, and then searching for the new part on MacroFab.
Now we’re moving on to Part Placement.
On my attempt, I didn’t have to adjust the part placement, the MacroFab system did a fairly good job of overlaying the orange boxes over the parts.
You will probably have to confirm each part’s position before you can submit your order. Follow the prompts in the Part Placement tab to approve each part’s placement. If you see something isn’t aligned properly, ensure you nudge it over a little to line up.
Continue doing so until all your parts are approved.
Quote & Order
This is where you may find that certain parts are Unavailable for
Prototype Class Service which you will want to use unless you’re ordering a zillion of them.
As suspected, some of the parts are not available.
For the first one in the list, the capacitors are a bit trickier sometimes. I find they aren’t in stock most of the time or are unavailable. I had to get creative by searching for the specs of the capacitor such as
0603 0.1 uF 16 V ±5% Tolerance X7R SMT until I found an acceptible part. The original was +-10% and the one I ended up going with was +-5%.
For the 2nd one, I did a quick Google search for the part number
RC0402JR-0710KL which lead me to this DigiKey link:
Which I then began using the Direct Substitute list to search within MacroFab Bill of Materials area for the ones marked with lowest quantities — Immediate availability. Use the Manufacturer Part Number to search.
Now check back on the Quote & Order tab to see if your Unavailable went away. For me, it went away after the first try.
Repeat those steps for each of the Unavailable items on your list until they all go away.
It can take a little bit of finesse to source all of the parts so don’t feel bad if you’re unsure and need to leave a comment below or hop in the #pedal channel of the Comma Slack.
I think you understand the next steps…
Simply checkout and submit your order / pay for your PCB.
Additional parts needed
You’ll also need to order the HONDA connectors, or the connectors needed for your respective vehicle. Please seek advice from others in the #pedal slack channel at comma.slack.com.
For Honda’s, you can find them on AliExpress via the link below:
Board & parts arrive
My board took a couple of weeks to manufacturer and finally arrive to my doorstep, but it was well worth it. My board was built with the best of quality and I can’t complain. It looks and works great!
Here is a photo of my finished board.
Now let’s wire it up!
And you’ll need to Flash the Firmware.
I hope you enjoyed this and have your very own Comma Pedal now on order.
Pricing can range from $65 — $130 USD depending on how parts are sourced but I find you’ll be happy you did. Building your own is not easy and I don’t recommend it.