|Apr 13, 2013, 04:22 PM|
EvvGC 3/2axis Brushless Gimbal Controller (Open Source)
I started experimenting with brushless motors for gimbals few month ago, before that I was testing steppers and dc motors(you can find some videos in my YouTube channel), and now would like to share my experience by making open source controller.
EvvGC is simple 3/2axis, open source brushless gimbal controller based on STM32 and MPU6050. All components are widely available on eBay, Farnell and other stores. STM32F103RC was chosen because it is cheap, has enough processing power even for complex algorithms, and enough timers and other peripheral for 3axis control. Controller uses mosfets instead of L6234. This allows to use small, light weight mosfets(sot23, sot363) for gopro controllers, and bigger mosfets(so8, D2PAK) for DSLR's, RED's and other big cameras. Source code is written with KEIL, which has demo version with 32kB of code limitation. Now ~20kB is used, so there is some space left for improvements. ST's Standard peripheral drivers uses most of the space, therefore low level coding for i2c, timers, uart should reduce code size if needed. Other software could be used, but KEIL is simple to use, and I would like to keep this project as simple as possible. I am not software developer, so code is quite ugly, it is more like draft for further development, also STM32 is quite new for me, but code works and performs quite well
My goal is to create simple, but flexible, high performance 2/3axis gimbal controller for cameras from gopro to dslr and bigger.
Here is some test videos of 2 and 3 axis stabilization:
Update Apr 28, 2013
Added 3axis altium files. (EvvGC v1.1.zip ) FREE Altium Designer Viewer
Update Apr 29, 2013
Added 3axis altium files. (EvvGC v1.2.zip )
AUX1 port is connected to PC3 and PC12 (it makes AUX1 port more flexible)
AUX2 port is connected to PC2 and PD2 (it makes AUX2 port more flexible)
Update May 03, 2013
Added EvvGC v1.2 Gerber files for iteadstudio
Update May 06, 2013
Added GUI v0.1 and FW_0.2
Update June 21, 2013
Added GUI v0.3B
YOU CAN BUY COMPLETE PCB FROM http://shop.myairbot.com/index.php/e...troller-5.html
Currently, AirBot and J&K Group is the only manufacture and store that carries authorized EvvGC controller.
EvvGC software and schematic is free to use, but developing requires many hours of work. So if you like this project, don't be shy to support further development
Last edited by evvaldis; Jul 21, 2013 at 04:18 AM.
|Apr 14, 2013, 08:58 AM|
EvvGC v1.2 PCB connection diagram
Firmware Loading over USART1.
1.Install "Flash Loader Demonstrator" http://www.st.com/web/en/catalog/tools/PF257525
2.Disconnect all motors and power supply(battery) from controller.
3.Put Jumper on BOOT0 and NRST
4.Connect "USB To COM" converter to USART1 port(CP2102 board has 3,3v output, and it is cheap) http://www.ebay.com/itm/170946368201...84.m1497.l2649
5.Connect converter to USB and open "Flash Loader Demonstrator"
6.Remove NRST jumper.
7.Select your COM port and BR=9600>Next>Next>Next>Select HEX file from project directory>Next
8.If successful, disconnect USART1, connect motors and supply.
Use FW03preB or newer!! http://www.rcgroups.com/forums/showa...5&d=1371285319
Yaw AutoPan Potentiometer
About MOSFETs burning problem on PCB v1.2.
Looks like mosfets sometimes burns even if GPIO is configured immediately after power on.
Current solution for this is to add 1-3,3K resistors on BSS123.
Last edited by evvaldis; Jul 20, 2013 at 08:27 AM.
|Apr 14, 2013, 03:02 PM|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Discussion Open Source Brushless Gimbal||edge0xc||Multirotor Electronics||2978||Dec 06, 2013 11:44 PM|
|Discussion SkyLight SBG - GoPro 2 Version Released (+ GP3 Beta + 3 axis Alpha) !!||ed_jza80||Multirotor Talk||493||Oct 03, 2013 07:58 AM|
|Idea Open Source Gopro Brushless Gimbal||icais||Multirotor Talk||15||Aug 05, 2013 08:07 PM|
|Sold open source brushless gimbal controller||jy0933||Aircraft - Electric - Multirotor (FS/W)||57||Mar 26, 2013 08:02 PM|
|Sold [closed] open source brushless gimbal controller||jy0933||Aircraft - Electric - Multirotor (FS/W)||16||Feb 26, 2013 10:19 AM|