Search found 317 matches

by ronco
Thu Dec 22, 2016 3:02 pm
Forum: Software development
Topic: Understanding the code
Replies: 3
Views: 1594

Re: Understanding the code

Hello everybody, I wonder a little that there is no answer to this question. Is this too much a newbee-question ? Or ist this a good kept secret that seperates men from boys ? I am also very interested in understanding the code and would be glad for any kind of information or even a link to an info...
by ronco
Wed Dec 17, 2014 2:28 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1379131

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

?? and that has woot to do with anything ? OF course it easier then actually addressing the issue Your lack of documentation and test cases....... But what did i expect LOL and BTW U ALL are just little brats :U, jobless numb nut, as well as TC I ask for proof of concept not ur wishy washy BS video...
by ronco
Fri Feb 07, 2014 12:19 pm
Forum: Software
Topic: Baseflight aka multiwii port to stm32
Replies: 1036
Views: 2339200

Re: Baseflight aka multiwii port to stm32

Warthox describes its benefits in terms of performance at m. Guy complains the esc cycle and the mwii cycle are not synced. There is a variable delay of 0 to 2ms . True. But there is also a variable delay of 0 to 20ms because in mwii rc input and rc processing are NOT sync. But there is hope. Basef...
by ronco
Tue Aug 06, 2013 4:03 pm
Forum: ESCs, propellers , servos and radios
Topic: I2C ESC (Can I use the values in motor array?)
Replies: 2
Views: 679

Re: I2C ESC (Can I use the values in motor array?)

Hi, the Motor Values inside of MWC are scaled from ~1000-2000 (mincommand-maxthrottle in the config.h) you should do ((motor[0]-1000)>>2) to get 0-250 and BTW. I2c on MK isnt much faster then PWM .. yes the i2c bus it selve workes with 400kHz but thay do a delay of 1ms for sending the values to each...
by ronco
Mon Mar 18, 2013 6:01 pm
Forum: Software development
Topic: problem on motor speed
Replies: 7
Views: 1593

Re: problem on motor speed

Hi, this is knowen and no problem or bug. if you have the board on your desc without motors and propellers. MWC will try to correct the smallest sensor noise. and because it dont gets an reaction of a changed throttle set , the PID controller will increase the throttle output more and more. if you s...
by ronco
Mon Mar 18, 2013 8:55 am
Forum: Pictures & Videos
Topic: king warthox !!
Replies: 49
Views: 9530

Re: king warthox !!

by ronco
Sat Mar 09, 2013 7:16 pm
Forum: Pictures & Videos
Topic: king warthox !!
Replies: 49
Views: 9530

Re: king warthox !!

Hi,

MWC does both. reducing the power on one side and increasing it on the other one .. so it doesent matter in which way you do it.

.. see the mix tables... every gain works in both directions..

[edit]
MWC gyro act.jpg

[/edit]

regards

felix
by ronco
Sat Mar 09, 2013 4:50 pm
Forum: Pictures & Videos
Topic: king warthox !!
Replies: 49
Views: 9530

Re: king warthox !!

Hi,

in gyro mode MWC wont recognize that it is upsidedown .. its just the same as normal flight .. so im sure there is nothing that needs to be changed (beleve me i and warthox tested it)

i think level mode is not needed when you want to use that..

regards

felix
by ronco
Thu Mar 07, 2013 6:49 pm
Forum: Pictures & Videos
Topic: king warthox !!
Replies: 49
Views: 9530

Re: king warthox !!

but without the "right" ESC's this wont help you .. and the even the first release of the UltraESC's wont support that .. because we need to prove it.. later we will give out an FW update. Nice try. Sorry, it has been possible without your "right" ESC, for quite a whlie. Hope yo...
by ronco
Wed Mar 06, 2013 4:30 pm
Forum: Pictures & Videos
Topic: king warthox !!
Replies: 49
Views: 9530

Re: king warthox !!

Hi,

i didnt tested simonk's reverse function .. but it needs to be very fast..

regards

felix
by ronco
Wed Mar 06, 2013 3:24 pm
Forum: Pictures & Videos
Topic: king warthox !!
Replies: 49
Views: 9530

Re: king warthox !!

Hi, i can give you the mod i did to MWC 2.1 .. the oneshot PWM part will be released by amperedieter soon. in MWC.ino to be able to arm with a neutral throttle stick position: (you can only arm with a switch) #define RC_FREQ 50 if(!rcOptions[BOXARM]) { ///////////////////// important to be always ab...
by ronco
Thu Feb 07, 2013 10:47 am
Forum: Software development
Topic: MMA8451Q ACC support
Replies: 8
Views: 1112

Re: MMA8451Q ACC support

if you guys dont mind me ask what is the advantage of this over adxl345 or mpu60xx? hi, basicly it is just like many other ACC's with a high resolution but it has some extra features that may be helpful .. the problem with MPU6050 only setups is that you can just setup one LPF fore both gyro and AC...
by ronco
Wed Feb 06, 2013 12:59 pm
Forum: Software development
Topic: MMA8451Q ACC support
Replies: 8
Views: 1112

Re: MMA8451Q ACC support

.. somehow i cant belive that you mean what you say ;)
but if so .. thanks .. ill try to do my best.

i added the MMA8451Q support now .. and also the defines for the new Flydu Ultra FC :)

regards

Felix
by ronco
Wed Feb 06, 2013 12:06 pm
Forum: Software development
Topic: MMA8451Q ACC support
Replies: 8
Views: 1112

Re: MMA8451Q ACC support

hi,

from freecale :P .. it will be on a new flyduino FC.. we testing the prototypes ATM :)

regrads Felix
by ronco
Wed Feb 06, 2013 11:50 am
Forum: Software development
Topic: MMA8451Q ACC support
Replies: 8
Views: 1112

MMA8451Q ACC support

Hi, i did some tests with the MMA8451Q (m) it seems to be a good one i did a I2C support code that works .. i dont know if its good .. it may be improved with LPF settings and such stuff.. // ************************************************************************************************************...
by ronco
Mon Feb 04, 2013 1:44 pm
Forum: Software development
Topic: shrink memory footprint for 32u4 - so much bigger than 328p
Replies: 31
Views: 4349

Re: shrink memory footprint for 32u4 - so much bigger than 3

I saw you advertising this newfound memory saving @ fpv-community - should be interesting to observe for others' problems popping up- or not. In the meantime I suggest being cautious and to have a recovery plan (usbasp) at hand. ok i will. but what i dont understand is that uploading a new BL over ...
by ronco
Mon Feb 04, 2013 12:06 am
Forum: Software development
Topic: shrink memory footprint for 32u4 - so much bigger than 328p
Replies: 31
Views: 4349

Re: shrink memory footprint for 32u4 - so much bigger than 3

Hi, that sounds like you messed up something in arduino the bootloader (that is active for 8 seconds after the reset) cant be afacted by the sketch .. no matter what you upload. and its also this bootloader that writes the new sketch to the flash .. i hope you get it to work in a german FPV forum i ...
by ronco
Sun Feb 03, 2013 4:00 pm
Forum: Software development
Topic: shrink memory footprint for 32u4 - so much bigger than 328p
Replies: 31
Views: 4349

Re: shrink memory footprint for 32u4 - so much bigger than 3

hmm , i just checket it again .. i took a new arduino 1.0.3 installation, copied the files from the zip and it works just like exepted! [edit] maybe important .. i use windows .. i thought these files are the same for all arduino versions (different OS versions) but i may be wrong .. [/edit] maybe y...
by ronco
Sun Feb 03, 2013 3:53 pm
Forum: Software development
Topic: shrink memory footprint for 32u4 - so much bigger than 328p
Replies: 31
Views: 4349

Re: shrink memory footprint for 32u4 - so much bigger than 3

Hi, i will tets it again .. the solution for your problem will be to: - plug it in to you PC - open a ginue arduino - reset it by hand (connect RST. to GND for a short time) - select the com port that will be found for 8 seconds - select a scetch and pre compile ot (v button) - reset the nanowii aga...
by ronco
Sat Feb 02, 2013 4:58 pm
Forum: Software development
Topic: shrink memory footprint for 32u4 - so much bigger than 328p
Replies: 31
Views: 4349

Re: shrink memory footprint for 32u4 - so much bigger than 3

Hi, i also did some tests today.. the basic leonardo bootloader is ~4kB i have reduced it to 3.3kb but even with the reduced one (and i set the new max file seize to boards.txt) it wont work with bigger sketches .. it seems that the bl is made for being 4kb the BL dont writes biger hex files to the ...
by ronco
Thu Jan 10, 2013 5:33 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 166978

Re: Alternative ESC firmware (reflashing)

Hi ziss_dm, That depends on your willinnes to be involved. Currently I do not have much time nor test rig for this, but I can setup brunch and create requred prototypes/stubs for governor/closed loop control. The FW is written in C, so it should be relativelly easy to create PI controller for RPM c...
by ronco
Wed Nov 28, 2012 4:51 pm
Forum: Software development
Topic: v2.1- Servo stretching 180 degrees?
Replies: 48
Views: 7810

Re: v2.1- Servo stretching 180 degrees?

Hi, sorry for the late replay .. i did this stuff ATM. just for the atmega32u4. but it is possible for the mega too. so for the 32u4 i just have 6 channels with 0-2000us to be able to have each at 488, 244 or 60Hz to have 500-2500us with HW PWM we need the timer running with lower frequencys so this...
by ronco
Sat Nov 24, 2012 12:43 pm
Forum: Software development
Topic: v2.1- Servo stretching 180 degrees?
Replies: 48
Views: 7810

Re: v2.1- Servo stretching 180 degrees?

i think the best solution for a good servo signal is uc with enough 16 bit timer .. so a HW generated PWM signal with 10bit (~1000steps) this is possible with pin 9 & 10 (timer 1) on the 328p but on many pins with a 32u4 or a 2560. because the 328p just has one 16 bit timer im currently doing a ...
by ronco
Tue Nov 20, 2012 9:11 am
Forum: Software development
Topic: v2.1- Servo stretching 180 degrees?
Replies: 48
Views: 7810

Re: v2.1- Servo stretching 180 degrees?

Hi, as the current servo code isnt made for that long ranges (would be possible but its more easy and clean if we do it extern) i made a code that does it stand alone .. as you just use two motors (and i if you are using a 328p / promini) timer 2 is free so remove all servo definitions (#define SERV...
by ronco
Thu Nov 08, 2012 3:57 pm
Forum: Software
Topic: one shot PWM with STM32 possible?
Replies: 1
Views: 1067

one shot PWM with STM32 possible?

Hi,

@ all STM32 coders..

may it be possible to do this: viewtopic.php?f=7&t=2729 with it?

as you can use a fixed cycletime of something like 2.1 ms it should be much more easy.

btw. this would be a real advantage of the stm32 ;)


regards Felix
by ronco
Thu Nov 08, 2012 3:53 pm
Forum: Ideas
Topic: one shot PWM
Replies: 5
Views: 9826

Re: one shot PWM

Hi,

more then 499Hz are not possible because you cant do a 2ms dutytime over 500hz .. and there must be some "low" time between the signals so the ESC knows that it is still a signal. 488 is a good value for standard PWM.

ill try some more things with one shot PWM ;)

regards felix
by ronco
Thu Nov 08, 2012 11:57 am
Forum: Ideas
Topic: one shot PWM
Replies: 5
Views: 9826

Re: one shot PWM

.. i dont get it to work :(

it causes jitter .. and it i think the dubble buffer of the atmel timer makes it impossible -.-


regards felix
by ronco
Thu Nov 08, 2012 1:09 am
Forum: Ideas
Topic: one shot PWM
Replies: 5
Views: 9826

one shot PWM

Hi, as im doing a new ESC code i did some test with higher PWM frequencys .. i choosed 3,9kHz because it was easy to code. i noticed that my test quad was much more stable with that. so the motor signal transfer time still disrupts with 488Hz but as normal ESC's cant read signals with less then 1-2m...
by ronco
Wed Nov 07, 2012 9:07 am
Forum: ESCs, propellers , servos and radios
Topic: duct fan intstead of classical multi-rotor motor+prop?
Replies: 5
Views: 1652

Re: duct fan intstead of classical multi-rotor motor+prop?

Hi,

Crizz did it with a tri http://www.youtube.com/watch?v=RoTEvCUndyY

but its very ineffective .. he needs something arround 50A just to hover -.-

EDF's are very bad for static thrust.


regards felix
by ronco
Tue Oct 23, 2012 3:39 pm
Forum: Software development
Topic: Problems with Crius SE + Hexa + Gimbal !?
Replies: 11
Views: 3696

Re: Problems with Crius SE + Hexa + Gimbal !?

Hi, there are some restrictions when useing a hexa + gimbal on a promini(atmega328p = crius SE) you have to set MINCOMMAND to 1000 or better more (something like 1050) and MAXTHROTTLE to less then 2000 means something like 1950. then, if you ESC's can live with that it should work. but keep in mind ...
by ronco
Mon Sep 24, 2012 7:30 am
Forum: Software development
Topic: dev r1129 is too large :(
Replies: 13
Views: 1919

dev r1129 is too large :(

Hi, i tested the r1129 on the atmega32u4's .. and even if the code improvements are nice (new baro and serial code) it is too large for the most 10dof promicro setups for example the code for the microwii is now 28.906 (max is 28.672) it uses MS baro HMC5883 MPU 6050 i noticed that not just the baro...
by ronco
Tue Aug 21, 2012 12:17 pm
Forum: Software development
Topic: Use serial port 3 in MEGA too...
Replies: 29
Views: 5236

Re: Use serial port 3 in MEGA too...

it would be good for the atmega32u4 to make serial 1 usable for BT or what ever regards Felix I think you will also like the next commit, as it concerns also the UART of the promicro. I tested it with 2 GUI running at the same time: one via the integrated USB, the other via the UART. sounds good il...
by ronco
Mon Aug 20, 2012 4:56 pm
Forum: Ideas
Topic: Replace PID-controller with HeadingHold controller for yaw?
Replies: 34
Views: 6691

Re: Replace PID-controller with HeadingHold controller for y

Hi Hamburger,

sorry for your heli :(

then ill do a define for HW PWM servo 6 on pin 10 for the promini .. but i think ill make a new folder in my branch for testing ..

regards felix
by ronco
Fri Aug 17, 2012 1:24 pm
Forum: Ideas
Topic: Replace PID-controller with HeadingHold controller for yaw?
Replies: 34
Views: 6691

Re: Replace PID-controller with HeadingHold controller for y

Hi Hamburger, can we get higher refresh rate for all servos via SERVO_RFR_160HZ ? yes SERVO_RFR changes the refresh rate for all servos .. even if thay are software PWM .. on a 328p I would like to see hw pwm (=higher resolution?) for the rudder/yaw servo (=servo5=d3). Can you do this mapping someho...
by ronco
Fri Aug 17, 2012 10:57 am
Forum: Ideas
Topic: Replace PID-controller with HeadingHold controller for yaw?
Replies: 34
Views: 6691

Re: Replace PID-controller with HeadingHold controller for y

ok.. i dont know how the airplane or heli pinout is ATM.. if you can adjust it to have the most important servos on HW PWM pins ill do the code for it ill need to know which servo on which pin the current servo order is.. promini/328p (servo[0] -[7]): A0, A1, A2, 12, 11, 3, 10, 9 possible 10bit serv...
by ronco
Fri Aug 17, 2012 7:14 am
Forum: Ideas
Topic: Replace PID-controller with HeadingHold controller for yaw?
Replies: 34
Views: 6691

Re: Replace PID-controller with HeadingHold controller for y

Hi, with 16 bit timer we can do 10 bit HW PWM servo outputs .. like i did for the mega HWPWM gimbal .. but the promini just has one 16 bit timer with two outputs .. it may be a good thing for the ATmega32u4 and the mega.. we may use it for heli, pure gimbal and airplane mode.. - atmega32u4 has 4 16b...
by ronco
Tue Aug 14, 2012 10:04 am
Forum: Software development
Topic: Use serial port 3 in MEGA too...
Replies: 29
Views: 5236

Re: Use serial port 3 in MEGA too...

Hi, i made a similar mod .. but for serial 1 .. it may be easy made variable with a define.. to choose the serial port that clones the gui data. i posted it here: http://www.multiwii.com/forum/viewtopic.php?f=7&t=2043&p=20241#p20241 the code is here m i dont know whitch variant is better so ...
by ronco
Thu Aug 02, 2012 9:33 am
Forum: Ideas
Topic: Serial Support for Promicro changed and working
Replies: 11
Views: 2695

Re: Serial Support for Promicro changed and working

Hi, i made a branch with a working serial 1 support that works with a ATmega32u4 but should also work with a mega.. so if active you can use both serial 0 (or USB) and serial 1. thay also work togather at the same time .. but slower and there maybe some data getting lost .. @alex as im not that good...
by ronco
Sat Jul 21, 2012 12:27 pm
Forum: Shields, boards and sensors
Topic: NanoWii atmega32u4 (leonardo) FC
Replies: 52
Views: 28020

Re: NanoWii atmega32u4 (leonardo) FC

hi, this bootloader changes two things .. the first is for hexa or octo copters so it keeps pin 13 quite as long as the bootloader is acive. and the second is that it reduces the bootup time fron 8 to 6 seconds.. that may help for some ESC's. the current charge of nanowiis from flyduino has this new...
by ronco
Tue Jul 17, 2012 4:00 pm
Forum: Software development
Topic: playing with acc-z altitude hold
Replies: 44
Views: 8094

Re: playing with acc-z altitude hold

Hamburger wrote:But voltage also drops for other reason like increased throttle.



and thats the reason .. the voltage drops different if the lipo is fresh or not .. this can be compensated a little.

regards felix
by ronco
Tue Jul 17, 2012 12:12 pm
Forum: Software development
Topic: playing with acc-z altitude hold
Replies: 44
Views: 8094

Re: playing with acc-z altitude hold

it is just to keep the movment inside the baro resolution low. if you battery drops about 0.2-0.3V it acts like you move the throttle stick down a littele .. so it will go to the lower side of the "baro resolution barriere".. and it helps also to keep the reaction of baros throttle influen...
by ronco
Tue Jul 17, 2012 10:08 am
Forum: Software development
Topic: playing with acc-z altitude hold
Replies: 44
Views: 8094

Re: playing with acc-z altitude hold

Hi, i updated my branch with marbalons new mod and i started a vbat orientated voltage drop compensation BaroPID = tempPID; #if defined(V_BAT_COMP) && defined(VBAT) static uint8_t VbatVal = 0; if (f.BARO_MODE && VbatVal == 0) { VbatVal = vbat; } if (!f.BARO_MODE) { VbatVal = 0; } Bar...
by ronco
Sun Jul 15, 2012 6:11 pm
Forum: Software development
Topic: playing with acc-z altitude hold
Replies: 44
Views: 8094

Re: playing with acc-z altitude hold

hi, i did a lot of tests now (and fixed some "port" errors ) and it works much better .. im still waiting for my MS baro coter to do more testes regards felix The question is, how it is working in a windy situation, when pressure changes with the wind..... ... i need better weather outsid...
by ronco
Sun Jul 15, 2012 10:09 am
Forum: Software development
Topic: playing with acc-z altitude hold
Replies: 44
Views: 8094

Re: playing with acc-z altitude hold

hi,

i did a lot of tests now (and fixed some "port" errors :oops: ) and it works much better .. im still waiting for my MS baro coter to do more testes :D

regards felix
by ronco
Sat Jul 14, 2012 10:19 am
Forum: Software development
Topic: playing with acc-z altitude hold
Replies: 44
Views: 8094

Re: playing with acc-z altitude hold

Ok i did the first trie to implement it .. i just have a BMP085 copter to test it ATM. .. the results are much better then it was with the old method .. ill do a video soon http://code.google.com/p/multiwii/source/browse/branches/ronco/accZ_playground/MultiWii/IMU.ino#259 i just changed the ACC Z in...
by ronco
Fri Jul 13, 2012 2:54 pm
Forum: Software development
Topic: playing with acc-z altitude hold
Replies: 44
Views: 8094

Re: playing with acc-z altitude hold

looks very good :)

if we get the half of this stability with a BMP085 ill be happy..

.. lets see how it works on our AVR 's :D
by ronco
Fri Jul 13, 2012 11:14 am
Forum: Ideas
Topic: thinking about Xmega support ;)
Replies: 7
Views: 1401

thinking about Xmega support ;)

Hi, i know that the XMegas are still the same AVR's .. but on drugs .. there is a arduino IDE port that supports some xmegas https://github.com/akafugu/Xmegaduino (it supports also the ATmegas) the advantages of some Xmegas would be: - up to 32Mhz - up to 384kB flash - up to 16kB s ram - partially 1...
by ronco
Thu Jul 12, 2012 5:42 pm
Forum: Software development
Topic: playing with acc-z altitude hold
Replies: 44
Views: 8094

Re: playing with acc-z altitude hold

Felix - some thoughts whilst I wait for mini copter bits to arrive.... DJI is well known for good alt hold success. So why is that compared to MultiWii? BARO.... Hardware - better BARO sensor? - anyone know which one they use? Maybe that is part of the reason... BARO Sensor in a box? - minimise air...
by ronco
Thu Jul 12, 2012 11:11 am
Forum: Ideas
Topic: Serial Support for Promicro changed and working
Replies: 11
Views: 2695

Re: Serial Support for Promicro changed and working

Hi, interesting .. so did you managed to split it to work with USB + serial 1 or just one of these? i got a lot of requests to make a serial BT module working on the atmeg32u4.. but i think the best solution would be to be able to use both the USB for GUI and the serial 1 for BT xbee or whatever.. i...
by ronco
Wed Jul 11, 2012 12:35 pm
Forum: Software development
Topic: PID settings for EXT_MOTOR_RANGE
Replies: 19
Views: 2748

Re: PID settings for EXT_MOTOR_RANGE

Hi, I´m just a bit confused about using Ext_Motor_Range or not. ?? Its a combo of Flyduino 25A - Simonk firmware ESCs connected to Nanowii (Promicro) Actually Ext_Motor_Range is activated in my config.h , and the copter is running absolutely normal and fine ?? Hamburger wrote that the SimonK ESC do...