A custom BLDC motor controller (a custom ESC)
================= IMPORTANT UPDATE ================= I have written a new post about my open ESC on this page and also updated the hardware significantly. If you haven’t built it yet and if you are...
View ArticleChibiOS on my cc2520+stm32f4 boards
I have created a simple example where I use ChibiOS on my rf boards. You can download it here: rfboard-chibios In order to build it, you need ChibiOS with the ST libraries in the ext directory, which...
View ArticleTesting my custom motor controller
I have been working more on my motor controller recently, and this is a brief update on the progress. One of my test rigs is my 1:8 RC car. With this one, I can test the startup torque, the braking and...
View ArticleStartup torque on sensorless BLDC motors
One of the major challenges when working on my custom open source ESC was to get good startup torque and low-speed performance with sensorless motors. This challenge has been addressed in several...
View ArticleChosing the right BLDC motor and battery setup for an electric skateboard
Recently, I have been involved with the electric skateboard community because of my custom ESC. I get many questions about motor kv, gear ratio, current, voltage and efficiency. In this post, I will...
View ArticleOpen Source ESC Video Logging on Electric Longboard
In order to get an impression about what the load looks like while using my open source ESC on an electric longboard, I wrote a program using Qt and opencv to do real-time video overlay logging while...
View ArticleConnecting a programmer/debugger to my custom STM32 PCBs
When I make custom STM32 PCBs (such as my RF-mote or my ESC), I use an SWD connector for programming and debugging the microcontroller. The connector is a 6-pin micro-jst connector with 2mm pitch,...
View ArticleVESC – Open Source ESC
Post updated 2015-10-09 About this project I have made many updates to my custom motor controller recently and the old post is getting confusing with notes and updates, I decided to write a new post...
View ArticleVESC – Writing Custom Applications
Updated: 2015-10-15 The VESC has several extra ports and much extra computational power, so it can be used to run custom user code in addition to controlling a motor. This is convenient when there are...
View ArticleCommunicating with the VESC using UART
Many people have asked me how to communicate with the VESC using UART, but I did not have a good answer since I haven’t written any tutorial about that and the only thing I could refer to was the BLDC...
View Article