Playing with kk2 - RC Groups
Thread Tools
This thread is privately moderated by brontide, who may elect to delete unwanted replies.
Dec 10, 2012, 10:36 AM
Stop me before I build again!

Playing with kk2

	b16sub Temp, CamRoll, CamPitch	
	b16mov Out7, Temp
	b16add Temp, CamRoll, CamPitch
	b16mov Out8, Temp
Trivial first attempt at vtail camstab mixing. This changes the output on M7 and M8 to the differential with Roll as the dominant ( servos pointing towards or away from each other ).

If it rolls in the wrong direction, invert the roll gain.
If it pitches in the wrong direction, reverse the servo connections.
Sign up now
to remove ads between posts
Dec 23, 2012, 10:25 AM
harrym's Avatar
Is there any other change other than the v-tail mix on 7 & 8?
Is the mix strictly for v-tail or does it work for all other frames?
Will it work on a Quad?

"If it pitches in the wrong direction, reverse the servo connections."
Does that mean to reverse 7 & 8 ?


Update - Got the answer on another Forum. Yes to reverse 7 & 8!
Last edited by harrym; Dec 23, 2012 at 11:51 AM.
Jan 18, 2013, 09:38 AM
Stop me before I build again!
I have started moving development to github. Below is the link to the same code as above ( well, almost, I realized I could do it with less code ). This is for safe keeping and my own personal reference moving forward.

Someday this repo may also contain pre-built hex files, but for now it's only code.
Mar 22, 2013, 11:19 PM
Registered User
Can you assist me with specifics on how to compile and flash me controller with your gamble code for kk2?
I would like very much to flash my kk2 board with what you have written so that I can use the servos and v tail mixing on my camera/tricopter.

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion The Hobbyking KK2 Flight Controller sg1anubis Multirotor Drone Electronics 165 Oct 06, 2013 11:47 AM
Discussion just playing with shutter priority mode :) Didgeridood Your Plane Photos 1 Jul 09, 2012 06:03 PM
Discussion Anyone else playing with 12mm inrunners? Dave Campbell High Performance 21 Apr 15, 2012 02:18 PM
Help! SportBEC won't play nice with Phoenix 60 ESC rc-eflyer Power Systems 12 Mar 09, 2012 08:11 PM
Discussion Parkflyer-Sized ARF Warbird made with Balsa, Play, & Covering roo_ster Electric Warbirds 1 Feb 28, 2012 01:50 PM