Search found 317 matches

by ronco
Tue May 29, 2012 12:56 pm
Forum: Software development
Topic: 11-bit time functions (instead of 8bit arduino ones)
Replies: 14
Views: 4725

Re: 11-bit time functions (instead of 8bit arduino ones)

Slightly off-topic, but would this code also help in my case by any chance? I'm currently trying to port the MultiWii 2.0 code to the ArduIMU v2 (flat) from DIYDrones/Sparkfun, which uses an Atmega328@16MHz with analog sensors. I've already managed to add support for the analog gyros (LPR530AL and ...
by ronco
Mon May 28, 2012 8:25 pm
Forum: Software development
Topic: Gimbal Servo jitter
Replies: 45
Views: 15735

Re: Gimbal Servo jitter

i found the reason for this behavior .. it was my mistake :(

there was a bug in the PPM rx code of my branch.. i fixed it.. so it should work now :)

regards felix
by ronco
Mon May 28, 2012 6:49 pm
Forum: Software development
Topic: Gimbal Servo jitter
Replies: 45
Views: 15735

Re: Gimbal Servo jitter

one thing..

i updated my branch today .. i dont did changes to the HW PWM gimbal code .. but i did that test with the newest version..


regards felix
by ronco
Mon May 28, 2012 6:41 pm
Forum: Software development
Topic: Gimbal Servo jitter
Replies: 45
Views: 15735

Re: Gimbal Servo jitter

Felix this is my test : roll servo don't move, and tilt servo erratic movements.(test 300 an 50 Hz, same result) m hi katana, there must be something wrong with your setup .. i have a mega here now and the servos move just like thay should.. i just tested it with bad analog servos... did you use pi...
by ronco
Mon May 28, 2012 11:26 am
Forum: Software development
Topic: Servos with higher refreshrate
Replies: 12
Views: 8007

Re: Servos with higher refreshrate

This just be the answer to a prayer for my bicopters. I will give it a test and report back. Hi copterrichie, i added Bi copter HW PWM support to my branch.. would you like to test it? it is here ->http://code.google.com/p/multiwii/source/browse/#svn%2Fbranches%2Fronco you will need a GUI of the cu...
by ronco
Sun May 27, 2012 6:18 pm
Forum: Software development
Topic: Gimbal Servo jitter
Replies: 45
Views: 15735

Re: Gimbal Servo jitter

Hi, i added gimbal hardware PWM code for the mega to my branch. to test it download all files of it (m) and use the GUI of the crrent shared trunk (r815+ ->http://code.google.com/p/multiwii/source/browse/#svn%2Ftrunk%2FMultiWiiConf_shared) to activate it go to config.h, chose you servo refresh rate ...
by ronco
Sun May 27, 2012 1:26 pm
Forum: Software development
Topic: 11-bit time functions (instead of 8bit arduino ones)
Replies: 14
Views: 4725

Re: 11-bit time functions (instead of 8bit arduino ones)

Hi, i think i found a good way to measure the overall interrupt jitter .. i just record the PCINT RX pin jitter of the throttle pin and check the average. to dont have corrupted values by a bad RX i use a promini programmed to do a constand HW PWM value of 1500us code of the RX imitating promini voi...
by ronco
Sat May 26, 2012 10:12 pm
Forum: Software development
Topic: New Arduino 1.0.1 IDE
Replies: 7
Views: 2398

Re: New Arduino 1.0.1 IDE

ronco wrote:ill take a look if i can fix it by changing the USB usage.. but it is only the GUI cosmetik ;)


fixed.... now i disabled the USB frame interrupt and it works just like it should :)
no more flicker..

regards felix
by ronco
Fri May 25, 2012 10:53 pm
Forum: Software development
Topic: New Arduino 1.0.1 IDE
Replies: 7
Views: 2398

Re: New Arduino 1.0.1 IDE

with 101 the standard rx value flicker is back .. its looks just the same as it was with first MWC1.9 and arduino 1.0 somone knows what has been changed to fixe it with 1.0? it may be the same now. I did a small flight test at home with Crius SE and dev_20120522 compiled with 1.0.1 and didn't had a...
by ronco
Fri May 25, 2012 3:01 pm
Forum: Software development
Topic: 11-bit time functions (instead of 8bit arduino ones)
Replies: 14
Views: 4725

Re: 11-bit time functions (instead of 8bit arduino ones)

to save some bytes i changed the type of checking the 50Hz to read the rx ..it is now called ervery 10timer1 overflows (20ms / 50hz) but it now dont needs a 32bit variable to check the micros atmn in MWC if (currentTime > rcTime ) { // 50Hz rcTime = currentTime + 20000; computeRC(); the new way: sta...
by ronco
Thu May 24, 2012 12:12 pm
Forum: Software development
Topic: ideas for MWiiConf GUI for extra user configurable items?
Replies: 17
Views: 4733

Re: ideas for MWiiConf GUI for extra user configurable items

i think its better to keep its size.. i also think that we may remove some things from the gui to keep it simple.. now that is interesting - and comes as a surprise to me. Removing would point in opposite direction. Any particular things you have in mind that could be removed from GUI? hehe .. i do...
by ronco
Thu May 24, 2012 11:46 am
Forum: Software development
Topic: ideas for MWiiConf GUI for extra user configurable items?
Replies: 17
Views: 4733

Re: ideas for MWiiConf GUI for extra user configurable items

hi, i think its better to keep its size.. i also think that we may remove some things from the gui to keep it simple.. i belive we cant turn multiwii in a "Professional" copter firmware .. it is more "simple fly and have fun".. to get it to something like open pilot we will need ...
by ronco
Thu May 24, 2012 7:33 am
Forum: Software development
Topic: MultiWii dev 20120522
Replies: 16
Views: 5102

Re: MultiWii dev 20120522

hi,

it might has to do with the serial stuff .. because it is just slow with the promini and mega .. the with a promicro it runs smooth :)


regards

felix
by ronco
Thu May 24, 2012 7:31 am
Forum: Software development
Topic: New Arduino 1.0.1 IDE
Replies: 7
Views: 2398

Re: New Arduino 1.0.1 IDE

i did some more tests..

with 101 the standard rx value flicker is back :( .. its looks just the same as it was with first MWC1.9 and arduino 1.0
somone knows what has been changed to fixe it with 1.0? it may be the same now.

regards

Felix
by ronco
Wed May 23, 2012 12:03 am
Forum: Software development
Topic: New Arduino 1.0.1 IDE
Replies: 7
Views: 2398

Re: New Arduino 1.0.1 IDE

hmm i tried the sparkfun's addon and it seems to not work with arduino 101 ..

so the best way is to load the new leonardo bootloader..

regards felix
by ronco
Tue May 22, 2012 8:42 pm
Forum: Software development
Topic: New Arduino 1.0.1 IDE
Replies: 7
Views: 2398

Re: New Arduino 1.0.1 IDE

Hi, i just checked it and there was a problem with the USB serial code of the Promicro but it was easy to fix .. i updated the shared trunk with the fix.. there are some good things for all 32u4 boards.. it is now supportet without modding the boards.txt and thay released a really stable bootloader....
by ronco
Tue May 22, 2012 11:04 am
Forum: Software development
Topic: help on software
Replies: 4
Views: 1500

Re: help on software

hi tohclin,

i dont really understand what you trie to tell me ;)

but take a look at the last dev's output (http://code.google.com/p/multiwii/sourc ... ut.pde#484)

i changed the whole thing :)

to see the results (thats sometimes better then just chacking the schematic) you can use something like that http://www.zeitnitz.de/Christian/scope_en

regards felix
by ronco
Tue May 22, 2012 10:31 am
Forum: Software development
Topic: 11-bit time functions (instead of 8bit arduino ones)
Replies: 14
Views: 4725

Re: 11-bit time functions (instead of 8bit arduino ones)

hi Hamburger, sounds good to get rid of the 2ms jitters many users have reported. i think this wont remove the jitter complete .. it will reduce it .. the most jitter is caused by the RX interrupts Since you are at it - what is actually left in the code that relies on the arduino environment? what i...
by ronco
Mon May 21, 2012 7:33 pm
Forum: Software development
Topic: 11-bit time functions (instead of 8bit arduino ones)
Replies: 14
Views: 4725

11-bit time functions (instead of 8bit arduino ones)

Hi, i just tried some time calculations with the 16bit timer 1 (which is present on all proc's we use) i get it to work now but it is a little larger then the arduino functions (~200-500byte in my tests) the goal was to use timer 1 for the time functions and for HW PWM.. i took some things of ampere...
by ronco
Mon May 21, 2012 8:25 am
Forum: Software development
Topic: help on software
Replies: 4
Views: 1500

Re: help on software

I am new to MCU programming and struggling to understand the MultiWii 2.0 code. Any help will be highly appreciated. In the output.ino, just near the end of the initializeServo(), TCCR0A=0; //normal counting mode TIMSK0 |=(1<<OCIE0A); //Enable CTC interrupt According to the datasheet, this is not i...
by ronco
Sun May 20, 2012 1:25 pm
Forum: Shields, boards and sensors
Topic: PICAXE with Multiwii?
Replies: 12
Views: 3334

Re: PICAXE with Multiwii?

Hi h_e_c. i dont think that you can build ESC's cheaper then you can buy them.. i dont know if you know how brushless motors work and how thay need to be controlled.. i would say it isnt that easy.. .. do you have a working ESC soft for a PICAXE? if not i would sugguest to buy some cheap ones from H...
by ronco
Sat May 19, 2012 2:42 pm
Forum: General discussions
Topic: Changing Motor Pins in 2.0
Replies: 4
Views: 5637

Re: Changing Motor Pins in 2.0

Hi spambot, sorry for the late replay .. somtimes i miss to look at general forum to change pin 2 to pin 7 on the mega and for a quad you need to change the the timer used for pin 2... first change the PWM pin order to have pin 7 initialized with a 4 motor setting. change: (in output.pde) #if define...
by ronco
Sat May 19, 2012 8:56 am
Forum: Software development
Topic: GUI: Added motor numbers and direction
Replies: 1
Views: 912

Re: GUI: Added motor numbers and direction

Hi Danal,

i think thats a good thing!

regards Felix
by ronco
Sun May 13, 2012 8:53 am
Forum: Software development
Topic: Gimbal Servo jitter
Replies: 45
Views: 15735

Re: Gimbal Servo jitter

Hi,

well i know the main problem is the fact that we use software PWM for the servos.
i just tried to reduce the jitter with this new servo code.

on the mega is one free timer (5) with three PWM channels so i will do a servo hardware PWM code for it soon.

regards felix
by ronco
Thu May 10, 2012 8:35 am
Forum: Software development
Topic: documenting new features
Replies: 4
Views: 2121

Re: documenting new features

Hamburger wrote:forgotten or just too busy, everybody?


... less spare time time ATM. :( but ill do it !

regards felix
by ronco
Thu May 10, 2012 8:31 am
Forum: Software development
Topic: Servos with higher refreshrate
Replies: 12
Views: 8007

Re: Servos with higher refreshrate

Hi katana,

thanks for testing :)

... i take a look on how to implement it in 2.0..

regards Felix
by ronco
Thu May 10, 2012 8:25 am
Forum: Software development
Topic: default settings in config.h
Replies: 13
Views: 3450

Re: default settings in config.h

I did it. New config.h is in _shared. Layout: I tried to use indentation to make it more readable and emphasize on the structure. Policy: every feature is commented; default is no copter type predefined, wmp only, standard 4 channel RX input on promini/nano/mega Please have a look m and let us deci...
by ronco
Wed May 09, 2012 4:27 pm
Forum: Software development
Topic: default settings in config.h
Replies: 13
Views: 3450

Re: default settings in config.h

Hamburger wrote:Hi
To ease individual setup a cross versions could we please aggree on a default set for config.h?
I propose having everything disabled - effectively a wmp only setup with no copter type enabled.

+1 :)

edit: standard RX will be acitive with nothing special enabled

regards felix
by ronco
Tue May 08, 2012 7:32 pm
Forum: Software development
Topic: Servos with higher refreshrate
Replies: 12
Views: 8007

Re: Servos with higher refreshrate

hi,

here is a compiled GUI for windows. -> http://www.2shared.com/file/WhSsT1hB/MWC_conf.html

its not that simple to mix the files of the dev and the 2.0

regards Felix
by ronco
Tue May 08, 2012 5:27 pm
Forum: Ideas
Topic: wishlist for v2.1
Replies: 62
Views: 22035

Re: wishlist for v2.1

Hi Hamburger, We are close to going 32 bit arent we? it seems to be inevitable... as we all know dongs did that step and i think its the right way for autonomous flying copter with all possible features. but how and when will we do it? dongs MWC port seems to work well and the hardware he uses is ch...
by ronco
Tue May 08, 2012 12:37 pm
Forum: Software development
Topic: Servos with higher refreshrate
Replies: 12
Views: 8007

Re: Servos with higher refreshrate

Hi katana, Is it possible with your modification to pilot the 2 servo up to 300hz? yes it is what this code does you can use the actual shared trunk version. i added this code there. you just need to change: /*********************** Servo Refreshrates ***********************/ /* Default 50Hz Servo r...
by ronco
Tue May 08, 2012 10:13 am
Forum: Ideas
Topic: wishlist for v2.1
Replies: 62
Views: 22035

Re: wishlist for v2.1

Hi, i noticed that the "basic" sketch's byte size growth (with standard config.h settings).. i think it may be better to isolate more things via config.h activation. so i whish that: - LCD would be not active in "standard" (i think the most people dont have LCD's) - servo middle'...
by ronco
Sun May 06, 2012 12:34 pm
Forum: Software development
Topic: MultiWii DEV 20120430
Replies: 40
Views: 16601

Re: MultiWii DEV 20120430

Hi dr.tom, with this hexa+servos method we have just one timer comperator for two motors. and because of this the trottle range is reduced to 1000-1900 please change mintrottle to 1000 or more, maxthrottle 1900 or less. and trie again. edit: mincommand to 1000 or more .. not minthrottle thats also t...
by ronco
Fri May 04, 2012 11:18 pm
Forum: Software development
Topic: MultiWii DEV 20120430
Replies: 40
Views: 16601

Re: MultiWii DEV 20120430

does anyone have a working hexa + gimbal on promini? #defined A0&A1 pins for motor 5&6 for use with normal RX. I can make it fly really good without gimbal, if i activate gimbal(#servo_tilt) in config, it works great, but then motors 5&6 don't spin. and first 4 motors work ok. any advic...
by ronco
Fri May 04, 2012 1:03 pm
Forum: Software development
Topic: MultiWii DEV 20120430
Replies: 40
Views: 16601

Re: MultiWii DEV 20120430

does anyone have a working hexa + gimbal on promini? #defined A0&A1 pins for motor 5&6 for use with normal RX. I can make it fly really good without gimbal, if i activate gimbal(#servo_tilt) in config, it works great, but then motors 5&6 don't spin. and first 4 motors work ok. any advic...
by ronco
Fri May 04, 2012 12:58 am
Forum: Software development
Topic: Changing PPM sum input pin.
Replies: 13
Views: 11350

Re: Changing PPM sum input pin.

Hi Felix, So after reading up and getting a little familiar with the platform and the multiwii code I have successfully moved the PPM sum input pin to Digital Pin 3. I am now trying to enable the PWM for digitial pin 5 to replace the motor output lost 3. So far I have: Changed the PWM_PIN array to:...
by ronco
Fri May 04, 2012 12:38 am
Forum: Software development
Topic: Servos with higher refreshrate
Replies: 12
Views: 8007

Servos with higher refreshrate

Hi, i did some tests with our soft PWM servo code. i would like to have the possibility to run the servos with more then 50Hz .. because for what i know the most digital servos works well with up to 300Hz. so i changed the servo ISR to work in a chain order. it works well as it is .. and it cleans a...
by ronco
Wed May 02, 2012 7:01 am
Forum: Software development
Topic: Changing PPM sum input pin.
Replies: 13
Views: 11350

Re: Changing PPM sum input pin.

Hi,

Code: Select all

   attachInterrupt(1, rxInt, RISING);


is right, but as copterrichie said pin 3 is used as an output pin to use it as input you have to change a output pin.. and that isnt so easy. because pin !=pin ;)


regards

Felix
by ronco
Tue May 01, 2012 9:49 pm
Forum: Software development
Topic: MultiWii DEV 20120430
Replies: 40
Views: 16601

Re: MultiWii DEV 20120430

Hi,

the correct RX pin order and these dubble SERVO_TILT define is now fixed in shared trunk.

thanks for testing :)

regards Felix
by ronco
Tue May 01, 2012 2:28 pm
Forum: Software development
Topic: MultiWii DEV 20120430
Replies: 40
Views: 16601

Re: MultiWii DEV 20120430

so if someone can confirm this order i will update the shared trunk with it..

regards felix
by ronco
Tue May 01, 2012 2:22 pm
Forum: Software development
Topic: MultiWii DEV 20120430
Replies: 40
Views: 16601

Re: MultiWii DEV 20120430

I've found it.(almost for a MEGA) in RX.pde #if (PCINT_PIN_COUNT > 0) RX_PIN_CHECK(0,2); #endif #if (PCINT_PIN_COUNT > 1) RX_PIN_CHECK(1,4); #endif #if (PCINT_PIN_COUNT > 2) RX_PIN_CHECK(2,5); #endif #if (PCINT_PIN_COUNT > 3) RX_PIN_CHECK(3,6); #endif #if (PCINT_PIN_COUNT > 4) RX_PIN_CHECK(4,7); #e...
by ronco
Tue May 01, 2012 1:00 pm
Forum: Software development
Topic: Teensy Support ?
Replies: 24
Views: 12039

Re: Teensy Support ?

Hi, My first teensy board is complete now it looks like everything works well (atm. just on the ground) ill do some flight tests soon .. but i think it will behave just like the promicro does. the good things on it (compared with the sparkfun promicro) are: - it has all pins of the ATmega32u4 broken...
by ronco
Sun Apr 29, 2012 10:43 am
Forum: Software development
Topic: Teensy Support ?
Replies: 24
Views: 12039

Re: Teensy Support ?

Hi, i added a teensy 2.0 support to the actual shared trunk. its not much code because the ATmega32u4 is already there for the ProMicro to use the teensy with teensduino instead of loading the leonardo bootloader i had to change some small things. here is a fast pinout for it: Teensy_2_0_pins.jpg i ...
by ronco
Thu Apr 26, 2012 5:55 pm
Forum: Software development
Topic: code clean up?
Replies: 9
Views: 2592

Re: code clean up?

i finished the parts that i thought that needs it the moust ..

there are still these things that need to be checked

- standart RX on MEGA
- PPM SUM on all platfores
- SBUS on all platformes
- mongose IMU board

regards Felix
by ronco
Thu Apr 26, 2012 4:51 pm
Forum: Software development
Topic: code clean up?
Replies: 9
Views: 2592

Re: code clean up?

thats a good idea!

thanks

felix
by ronco
Thu Apr 26, 2012 4:36 pm
Forum: Software development
Topic: code clean up?
Replies: 9
Views: 2592

Re: code clean up?

The shared trunk is broken... Its' not possible to keep both clean_up and original files in same project. There will be lots of double defines of everyting. should we use clean_up or orignal? Who desides? /Patrik Hi Patrik, its hard to say .. i trie to do the cleanup as fast as possible .. so they ...
by ronco
Thu Apr 26, 2012 2:31 pm
Forum: Software development
Topic: Does MWC support 500Hz PWM ESC?
Replies: 3
Views: 1790

Re: Does MWC support 500Hz PWM ESC?

Hi,

MWC uses 488hz for escs. i dont know your ESC's so i cant say if this is what you need.

regards felix
by ronco
Wed Apr 25, 2012 6:41 pm
Forum: Software development
Topic: code clean up?
Replies: 9
Views: 2592

Re: code clean up?

Hi Hamburger, ok! i started with RX.pde but i had to change some things in def.h so i aslo started to sort things in it. i calld them filename_clean_up.xxx i have did all test i can do here with it so: - spektrum satellite -> works - standard RX -> works with Promini and Promicro - openlrs should al...
by ronco
Wed Apr 25, 2012 2:08 pm
Forum: Software development
Topic: code clean up?
Replies: 9
Views: 2592

code clean up?

Hi, i would linke to clean and sort things. now i thought about how to do it .. this way http://www.multiwii.com/forum/viewtopic.php?f=8&t=1592 is a bit to radical and not fast enough (i will keep it on anyway ) to do it in a smooth way i was thinking of dublicate the needed files in shared trun...
by ronco
Wed Apr 25, 2012 9:32 am
Forum: Software development
Topic: Development version - 14 April 2012 *** BUG in RX
Replies: 5
Views: 2259

Re: Development version - 14 April 2012 *** BUG in RX

Hi, i tried to fix it .. but with your (howardhb)s code the standard RX dont works. i cant test RCSERIAL and OPENLRSv2MULTI so i removed this boolean .. now spektrum satellite and standart RX works (r720) if this is needed for RCSERIAL and OPENLRSv2MULTI we may do #if !(defined(RCSERIAL) || defined(...