HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
Twisted-Fields
rp2040-motor-controller
HTML2022–2024
Twisted-Fields / rp2040-motor-controller

rp2040-motor-controller

A dual channel brushless motor controller based on the RP2040 microcontroller, designed in Kicad.

2Distinct people
9Mentions
1Explicit recommenders
419GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A dual channel brushless motor controller based on the RP2040 microcontroller, designed in Kicad.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

I learned PCB design on Eagle, switched to Kicad about 5 years ago, and in the last three years have really been doing a LOT of PCB design with Kicad. I love it so much! Here's…

TaylorAlexander used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month9 dated mentions

Observed mentions: 2022-12-11 21:08:05 UTC to 2024-07-05 23:15:14 UTC.

0122022-12-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsDec 20222023-01-01 00:00:00 UTC to 2023-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-02-01 00:00:00 UTC to 2023-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-03-01 00:00:00 UTC to 2023-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-04-01 00:00:00 UTC to 2023-05-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-05-01 00:00:00 UTC to 2023-06-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-06-01 00:00:00 UTC to 2023-07-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2023-07-01 00:00:00 UTC to 2023-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-01 00:00:00 UTC to 2023-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-09-01 00:00:00 UTC to 2023-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 20232023-10-01 00:00:00 UTC to 2023-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 00:00:00 UTC to 2023-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-12-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2024-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-02-01 00:00:00 UTC to 2024-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-01 00:00:00 UTC to 2024-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-04-01 00:00:00 UTC to 2024-05-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-05-01 00:00:00 UTC to 2024-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-01 00:00:00 UTC to 2024-07-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-07-01 00:00:00 UTC to 2024-08-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Dec 20222022-12-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
Jan 20232023-01-01 00:00:00 UTC2023-02-01 00:00:00 UTC000
Feb 20232023-02-01 00:00:00 UTC2023-03-01 00:00:00 UTC000
Mar 20232023-03-01 00:00:00 UTC2023-04-01 00:00:00 UTC000
Apr 20232023-04-01 00:00:00 UTC2023-05-01 00:00:00 UTC101
May 20232023-05-01 00:00:00 UTC2023-06-01 00:00:00 UTC101
Jun 20232023-06-01 00:00:00 UTC2023-07-01 00:00:00 UTC202
Jul 20232023-07-01 00:00:00 UTC2023-08-01 00:00:00 UTC000
Aug 20232023-08-01 00:00:00 UTC2023-09-01 00:00:00 UTC000
Sep 20232023-09-01 00:00:00 UTC2023-10-01 00:00:00 UTC000
Oct 20232023-10-01 00:00:00 UTC2023-11-01 00:00:00 UTC000
Nov 20232023-11-01 00:00:00 UTC2023-12-01 00:00:00 UTC000
Dec 20232023-12-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
Jan 20242024-01-01 00:00:00 UTC2024-02-01 00:00:00 UTC000
Feb 20242024-02-01 00:00:00 UTC2024-03-01 00:00:00 UTC000
Mar 20242024-03-01 00:00:00 UTC2024-04-01 00:00:00 UTC000
Apr 20242024-04-01 00:00:00 UTC2024-05-01 00:00:00 UTC101
May 20242024-05-01 00:00:00 UTC2024-06-01 00:00:00 UTC000
Jun 20242024-06-01 00:00:00 UTC2024-07-01 00:00:00 UTC101
Jul 20242024-07-01 00:00:00 UTC2024-08-01 00:00:00 UTC101

What Hacker News says

9 sources
Legal limit in USA is 750 watts, legal limit in UK is 250 watts. Competition on power output is illegal. I have a BBSHD which can be trivially programmed to 1500w output (likely the same as your Luna cycle without a custom controller) and it’s great. It is widely regarded that there is no enforcement of power limits, but manufacturers can’t really advertise illegal power limits for sale. Many high power ebike enthusiasts (for example “High Voltage DIY Electric Bikes” channel on YouTube) argue that these low legal power limits actually make e-bikes less safe, as you need a good 2-3kw to actually ride with the flow of traffic. At US or worse UK power limits, you don’t get enough of a boost for that and you’re more likely to get hit from behind. In my case 1500 watts feels like a good low range of what I would want. Luckily for work I’ve bee
Read the rest
n developing my own open source brushless motor controller for a few years now, and we’re finally maturing past the self-immolation phase of motor controller design. I’m going to try to outfit my bike with it eventually. Later on I would like to make a 72 volt version (84v peak, so 100 volt parts). https://youtube.com/@highvoltagekits https://github.com/Twisted-Fields/rp2040-motor-controller/tr... https://github.com/Twisted-Fields/rp2040-motor-controller/tr...
In DJI announces an electric mountain bike drive system
For the RP2040? It’s absolutely suitable for commercial work with the caveat that it lacks any security features to hide your code from users. I’m using it on the brushless motor controllers and CAN BUS nodes on our open source farming robot. I’m also using it on some LED controllers for fun, and really anything I want to build. I’m learning about switching power supplies so I’m designing a bidirectional buck/boost controller with discrete components and software control using the RP2040 as the switching controller. Here’s my motor controller: https://github.com/Twisted-Fields/rp2040-motor-controller
In Nano DIP: the smallest complete Arduino board 33 x 10mm
I’m very happy with the mechanical design for my four axis brushless motor powered robot arm with integrated 3D printed planetary gearboxes. I have some hope of picking the project back up and better documenting it, though the CAD files explain a lot. For the last few years I’ve been working on my own brushless motor controller design and I think this year I will have that stable enough to go back to working on this arm. https://github.com/tlalexander/brushless_robot_arm https://github.com/Twisted-Fields/rp2040-motor-controller Direct link to a video of it operating (apologies for the Twitter link) here: https://x.com/tlalexander/status/1455339851734138880
In Low Cost Robot Arm
Thank you, yes. Here is a blog post with more information about what we are doing [1] and a direct link to our funding page [2]. We are working on moving to a fully donation supported engineering model so our work can be freely available for everyone the world over, and your monthly contributions make a big difference. Also here is our github with our electronics, software, and hardware designs all permissively licensed. [3] Notably our open source dual brushless motor controller design is coming along nicely. [4] [1] https://community.twistedfields.com/t/join-the-solar-farming... [2] https://opencollective.com/twisted-fields-research-collectiv... [3] https://github.com/Twisted-Fields [4] https://github.com/Twisted-Fields/rp2040-motor-controller
In Modern automotive electronics will lead to a mechanical revolution [video]
Kicad is so amazing. Extremely powerful tool with no imposed limits that is completely free and widely used. I just finished the third rev of my open source low cost high power brushless motor controller in kicad. Open formats means Thea Flowers was able to make a beautiful web viewer that takes a GitHub link to a kicad board or schematic file and displays it for ya. You can see my new board in your browser right here: https://kicanvas.org/?github=https://github.com/Twisted-Fiel... I also recently designed a PCB for a friends art project where I needed to place a bunch of LEDs in concentric rings. I used a nice python library for kicad board files to generate a board with all the LEDs placed, then imported the rest of my components and continued with layout as normal. But beyond the fact that it’s a high quality tool, and has easy to mani
Read the rest
pulate and read open formats, and loads of easy to use third party tools, is the fact that kicad is and always will be free and open source. That means that when I make my boards open source (and all of my work is open source), I know anyone anywhere in the world can download kicad and use the designs. I used altium to design some boards at google. It’s clearly a powerful tool. If that’s already what you know, you don’t want to share your designs or collaborate with others who don’t have altium, and you have a license, then go ahead and use it. Or if you want to get a job at a large firm that likely uses altium, then go learn the tool. But if you want to learn a PCB tool for 99% of hobbyist and a good deal of professional work, kicad is likely a better choice.
In The Mysterious 50 Ohm Impedance: Where It Came from and Why We Use It (2021)
Hello everyone, I am the developer and maintainer of this open source farming robot, and I just published our most significant video yet, along with this companion article. I explain the rationale for operating our project as a non profit, explain how 3D printers inspired this approach, and talk about how we hope to empower farmers and communities worldwide through crowd-funded support. I would love to hear your feedback and discussion about our ideas. I know many of you will be interested in our github, so here's the link: https://github.com/Twisted-Fields One of our contributions I am particularly excited about is our open source motor controller. Off the shelf controllers are expensive and require add on boards to fully integrate with our system. Last year we decided to design our own so we can make one board that does everything we ne
Read the rest
ed for about $40. Here's the in-progress design: https://github.com/Twisted-Fields/rp2040-motor-controller We also support running our code in simulation with a single docker command, though to be honest that is probably broken at the moment as I am ripping things apart for the new version. Still you might find it interesting: https://github.com/Twisted-Fields/acorn-precision-farming-ro... Thank you so much!
In The Solar Farming Revolution: Support Acorn and Empower Farmers Worldwide
I’m doing an open source solar powered farming robot nonprofit thing! [1] It’s an amazing feeling finishing a huge PCB design project for work and then immediately pushing the changes to GitHub. I’ve got a new brushless motor controller in the works that costs under $40 per board fully assembled for high current dual motor control, and anyone can order them (ideally wait till design is slightly more mature). [2] [1] https://community.twistedfields.com/t/march-2022-update-simu... [2] https://github.com/Twisted-Fields/rp2040-motor-controller
In Be wary of imitating high-status people who can afford to countersignal

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.