HobbyKing.com New Products Flash Sale
Closed Thread
Thread Tools
Old Apr 13, 2013, 04:22 PM
Registered User
evvaldis's Avatar
Lithuania
Joined Jan 2007
179 Posts
Build Log
EvvGC 3/2axis Brushless Gimbal Controller (Open Source)

Hello All!
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:
STM32 Based 2 axis Brushless Gopro Gimbal (0 min 19 sec)


evvgc AutoPan test (1 min 18 sec)



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 )
Changes:
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
evvaldis is offline Find More Posts by evvaldis
Last edited by evvaldis; Jul 21, 2013 at 04:18 AM.
Sign up now
to remove ads between posts
Old Apr 14, 2013, 08:58 AM
Registered User
evvaldis's Avatar
Lithuania
Joined Jan 2007
179 Posts
EvvGC v1.2 PCB connection diagram
http://s24.postimg.org/71eqhmvgk/evvgc_v1_2_diagram.jpg

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


MPU6050 Orientation



IMPORTANT!!!
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.
evvaldis is offline Find More Posts by evvaldis
Last edited by evvaldis; Jul 20, 2013 at 08:27 AM.
Old Apr 14, 2013, 10:16 AM
Registered User
Joined Sep 2011
153 Posts
that looks really nice
edge0xc is offline Find More Posts by edge0xc
Old Apr 14, 2013, 11:32 AM
Registered User
United Kingdom
Joined Sep 2011
38 Posts
Uzsisakau is anksto
JustasM is offline Find More Posts by JustasM
Old Apr 14, 2013, 01:37 PM
Registered User
Joined Jun 2012
7 Posts
Ir aš užsisakau įmanoma jį kaipm nors gražiai prilipdyti prie TBS discovery?
Senkone is offline Find More Posts by Senkone
Old Apr 14, 2013, 03:02 PM
FPV from Lithuania
vipix's Avatar
Lithuania
Joined Mar 2007
128 Posts
Quote:
Originally Posted by Senkone View Post
Ir aš užsisakau įmanoma jį kaipm nors gražiai prilipdyti prie TBS discovery?
Čia tik nuo tavęs priklauso.
Čia parodyta tik kontrolerio plokštė, iki gimbalo dar daug ko trūksta...
vipix is offline Find More Posts by vipix
Old Apr 14, 2013, 03:13 PM
Registered User
Joined Jun 2012
7 Posts
Būtų gerai daugiau informacijos, kokie ten tie varikliai ir kaip juos sujungti, visa kita manau padaroma
Senkone is offline Find More Posts by Senkone
Old Apr 14, 2013, 03:47 PM
Registered User
Portland, OR, USA
Joined Mar 2010
268 Posts
I like the idea of using mosfets instead of the L6234, I also like the idea of using a faster processor.
Tom Frisch is offline Find More Posts by Tom Frisch
Old Apr 14, 2013, 04:13 PM
Registered User
United Kingdom
Joined Sep 2011
38 Posts
Su varikliai kaip nors savom jegom. Svarbu controlleris. Vis dar uzsisakau


(Sorry for a non-english conversation )
JustasM is offline Find More Posts by JustasM
Old Apr 14, 2013, 04:19 PM
FPV from Lithuania
vipix's Avatar
Lithuania
Joined Mar 2007
128 Posts
LMAO...
This project is for do-it-yourself. There is no commercional purpose and stuff to buy.
Make yours by hand and go to fly
vipix is offline Find More Posts by vipix
Old Apr 15, 2013, 12:04 PM
Registered User
Portland, OR, USA
Joined Mar 2010
268 Posts
So how are you doing the fusion of accelerometer and gyro? Are you using Kalman filtering?
Tom Frisch is offline Find More Posts by Tom Frisch
Old Apr 18, 2013, 02:16 PM
g0t rabb1t?
ABLomas's Avatar
Lietuva, Vilnius
Joined Jul 2011
1,651 Posts
Any news? When we could see source code? ;-)
ABLomas is online now Find More Posts by ABLomas
Old Apr 19, 2013, 03:32 AM
Plane and multirotor's - FPV
DrEvil's Avatar
Moss, Norway
Joined Jun 2007
856 Posts
interesting :-)
DrEvil is offline Find More Posts by DrEvil
Old Apr 22, 2013, 11:33 PM
Registered User
Joined Apr 2013
91 Posts
Any updates?
natious is offline Find More Posts by natious
Old Apr 23, 2013, 02:06 AM
Registered User
Joined Jan 2011
1,069 Posts
evvaldis: if you have some code to share i would love to take a look.
nicodh is online now Find More Posts by nicodh
RCG Plus Member
Closed Thread


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Open Source Brushless Gimbal edge0xc Multirotor Electronics 3062 Nov 12, 2014 01:06 PM
Idea Open Source Gopro Brushless Gimbal icais Multirotor Talk 16 Mar 28, 2014 01:07 PM
Discussion SkyLight SBG - GoPro 2 Version Released (+ GP3 Beta + 3 axis Alpha) !! ed_jza80 Multirotor Talk 494 Jan 03, 2014 11:09 AM
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