Search found 2578 matches

by Hamburger
Sat Jun 20, 2015 9:40 am
Forum: Software development
Topic: Adding and/or refactoring V-Tail, HEX6H, OCTO8H support
Replies: 5
Views: 2287

Re: Adding and/or refactoring V-Tail, HEX6H, OCTO8H support

Always pick an existing coptertype with correct #motors.
Then use my.private.mixing feature to override the default mixer with your own code.
by Hamburger
Fri Jun 19, 2015 11:16 am
Forum: Shields, boards and sensors
Topic: How to find Voltage Level
Replies: 3
Views: 2011

Re: How to find Voltage Level

If you follow the VBAT defines through the code in you will find the actual reading sequence togther with the struct and variable names.
by Hamburger
Tue Jun 16, 2015 11:28 pm
Forum: Connecting elements
Topic: Crius AIO v2 Battery Monitoring is floating
Replies: 1
Views: 1420

Re: Crius AIO v2 Battery Monitoring is floating

If resistor values of the voltage divider are too high then the input sees floating value. If by floating you mean 2 lowest bits then it is known inaccuracy effect. To identify pin and reading code do correspond one can force input to ground and vcc. The resulting values and changes will be help ide...
by Hamburger
Wed May 06, 2015 9:49 pm
Forum: Getting Started - MultiWii config and setup
Topic: MWii 2.4 - Flying wing - 328p - OSD
Replies: 1
Views: 999

Re: MWii 2.4 - Flying wing - 328p - OSD

motor does go through the mwc, _not_ directly to rx
by Hamburger
Wed May 06, 2015 9:48 pm
Forum: Getting Started - MultiWii config and setup
Topic: Sketch 2.4 is 72 Bytes to large
Replies: 7
Views: 2439

Re: Sketch 2.4 is 72 Bytes to large

what do you need from the baro? If you can live without alt.hold, then disabling the baro sensor will save quite some bytes - maybe enough. Else do as QuadBow suggested and get a mega2560 board; saves time and pain.
by Hamburger
Tue May 05, 2015 6:18 pm
Forum: Getting Started - MultiWii config and setup
Topic: Sketch 2.4 is 72 Bytes to large
Replies: 7
Views: 2439

Re: Sketch 2.4 is 72 Bytes to large

Zip it. Attach the zip.file to a post
by Hamburger
Wed Apr 29, 2015 7:02 am
Forum: Shields, boards and sensors
Topic: 1.3" display support i2c OLED from digole.com
Replies: 6
Views: 3297

Re: 1.3" display support i2c OLED from digole.com

Hold it.
When you power it up does it display its i2c address?
Did you solder the jumper to make it behave as an i2c device?
by Hamburger
Tue Apr 28, 2015 9:33 pm
Forum: Shields, boards and sensors
Topic: 1.3" display support i2c OLED from digole.com
Replies: 6
Views: 3297

Re: 1.3" display support i2c OLED from digole.com

All my digole displays work out of the box with the MWii code.
by Hamburger
Mon Apr 13, 2015 1:52 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 101664

Re: 2.4 is finally here :)

ttcorse wrote:the ide does not compile if activate:
#define SERVO TILT
Errore durante la compilazione

Please zip your config.h and post that here. Which version of IDE do you use?
by Hamburger
Thu Apr 09, 2015 7:10 am
Forum: Software development
Topic: FRSKY telemetry integration into Multiwii 2.4 has started
Replies: 71
Views: 33228

Re: FRSKY telemetry integration into Multiwii 2.4 has starte

Ok.
You wrote some documentation in the google wiki. You do realize that is not the official main mwii wiki anymore?
by Hamburger
Mon Apr 06, 2015 7:51 pm
Forum: Software development
Topic: FRSKY telemetry integration into Multiwii 2.4 has started
Replies: 71
Views: 33228

Re: FRSKY telemetry integration into Multiwii 2.4 has starte

as your implementation is for frsky only, using the "telemetry.cpp" for a filename seems to be - not quite appropriate.
Could you please rename that file to better represent what it really contains?
by Hamburger
Tue Mar 31, 2015 11:19 pm
Forum: MultiWii tweaking - flying experience
Topic: Help with changeing PID-values in EEPROM
Replies: 6
Views: 2720

Re: Help with changeing PID-values in EEPROM

It is in my branch of the project source at google for everyone to use.
by Hamburger
Tue Mar 31, 2015 2:29 pm
Forum: MultiWii tweaking - flying experience
Topic: Help with changeing PID-values in EEPROM
Replies: 6
Views: 2720

Re: Help with changeing PID-values in EEPROM

If you looked at the conf struct you could see those vars are not of type float but probably uint8 with factor 10 or 100. So for 13.49 set it to 135 - you get the idea. Using my.private.defaults is the way to go. You can use the defaults.mwi file and my perl script to create a valid defaults.h file....
by Hamburger
Wed Mar 25, 2015 10:47 pm
Forum: Software development
Topic: 2.4 Compile error
Replies: 6
Views: 2844

Re: 2.4 Compile error

please use a compressor like zip and upload your config.h
by Hamburger
Wed Mar 25, 2015 10:46 pm
Forum: Software development
Topic: I2C 1602 and 2004 LCD not supported?
Replies: 3
Views: 2035

Re: I2C 1602 and 2004 LCD not supported?

all digole displays I have used utilize the same controller interface- i2c support has been in MWii for some time now. Good luck.
by Hamburger
Tue Mar 24, 2015 9:53 pm
Forum: Software development
Topic: I2C 1602 and 2004 LCD not supported?
Replies: 3
Views: 2035

Re: I2C 1602 and 2004 LCD not supported?

if you find out the controller type that might help you to find an answer comparing with the list of supported displays. (There is one known line of displays+controllers (sainsmart?) I was too lazy to implement. I got one sitting here that looks like your 2004 - 1$ for the trouble plus shipping and ...
by Hamburger
Tue Mar 24, 2015 9:23 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 101664

Re: 2.4 is finally here :)

There's a documentation typo in 2.4 that was there in 2.3 and, being the anal-retentive person I am, it's driving me nuts. In MultiWii.cpp, the comment at the end of the following line is wrong: pMeter[PMOTOR_SUM] += ((currentTime-lastRead) * (uint32_t)((uint32_t)powerValue*conf.pint2ma))/100000; /...
by Hamburger
Tue Mar 24, 2015 9:22 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 101664

Re: 2.4 is finally here :)

I'll add my $0.02 to the amperage discussion. I chose to go with a 50A Hall effect sensor for my mini quad and the resolution works out to 61.25mA (80mV/A). I don't think you'll get much lower than that, and higher rated sensors will be even worse. Therefore, 100mA resolution on the display should ...
by Hamburger
Mon Mar 23, 2015 10:20 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 101664

Re: 2.4 is finally here :)

with your current sensor and a given current, how stable is the value you see for analogRead()? How many bits is noise? I am not convinced it is a good idea to display digits which carry useless random values. I left the first decimal only to show trend and existing fluctuation. For the pure informa...
by Hamburger
Mon Mar 23, 2015 10:13 pm
Forum: Software development
Topic: Proposal to improve cell voltage measurement
Replies: 2
Views: 1472

Re: Proposal to improve cell voltage measurement

I am all ears. Same question as with current measurement - how exact is the value you get as result of analogRead()? Like I said earlier, the true resolution is surprisingly bad - there is a reason we have an averaging function smoothing the value. Do you use the adc of a 328p or mega? Then how many...
by Hamburger
Sun Mar 22, 2015 8:59 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 101664

Re: 2.4 is finally here :)

Do you really see accurate measurements with 10mA steps from your sensor all the way through the adc?
Me I feel lucky if the value is accurate at the 1A digit.

Which sensor and RC.filter do you use please?
by Hamburger
Wed Mar 18, 2015 9:41 am
Forum: Shields, boards and sensors
Topic: Voltage sensor with improved resolution for MultiWii
Replies: 36
Views: 18593

Re: Voltage sensor with improved resolution for MultiWii

For lipos >3S the range between fully charged and depleted under load is > 5Volts. Therefore the need for a voltage divider behind the zener.
by Hamburger
Tue Mar 17, 2015 7:07 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 101664

Re: 2.4 is finally here :)

zed_thirteen wrote:Are the stored parameters compatible with 2.3 or do I need to erase the EPROM space?

for almost all configs you want to erase first.
by Hamburger
Sun Mar 15, 2015 9:18 am
Forum: Software development
Topic: Serial Pass Through Mode, Configure OSD without disconnect
Replies: 5
Views: 5153

Re: Serial Pass Through Mode, Configure OSD without disconne

from what I understand this is only applicable if more than one serial port is available. That would be the 2560 systems. The functionality is quite dangerous to be accessible via MSP, so it is good to secure it with if(!f.ARMED); which you did. I would at least like to see all related code be #ifde...
by Hamburger
Fri Mar 13, 2015 12:41 am
Forum: Software development
Topic: pre 2.4 version r1739
Replies: 47
Views: 23467

Re: pre 2.4 version r1739

for release notes, please:
- remove Heli.experimental : piro compensation (was only suggested for pid.controller=2, never merged)
- add LCD.lcd03 over serial support added
by Hamburger
Wed Mar 11, 2015 10:19 am
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii wing vibration at highspeed.
Replies: 4
Views: 1726

Re: MultiWii wing vibration at highspeed.

If . the vibration only happens at high speeds . Vibration is not from mechanical instability . vibration is from fast correction movements of elevons / control surfaces then increase the TPA value in gui. It is throttle pid attenuation. It reduces effect of pids for speeds >50%. It is a coomon prob...
by Hamburger
Tue Mar 10, 2015 1:05 am
Forum: Software development
Topic: Change Motor Pin Order
Replies: 9
Views: 6043

Re: Change Motor Pin Order

You'll likely have to change PWM_PIN and writeMotors(). Do you know what Arduino board type it is? If you have detailed knowledge on how to do this, maybe you could write up some howto on " Change pin order " for the wiki ? This question pops up again and again, more often from users with...
by Hamburger
Tue Mar 10, 2015 12:59 am
Forum: Software development
Topic: HIL Simulation via Serial Port
Replies: 8
Views: 2888

Re: HIL Simulation via Serial Port

ok, so no MSP for you. It was a basic suggestion without further knowledge of your project. You should know best which conditions you must meet. Maybe it would be best to define some pseudo-sensors which will actually only fetch values from your serial stream? Dunno what could be special about port ...
by Hamburger
Mon Mar 09, 2015 9:36 am
Forum: Getting Started - MultiWii config and setup
Topic: Low Power
Replies: 4
Views: 1192

Re: Low Power

1. re-calibrate gyro and acc
2. watch for sensor values in gui to check for broken sensor
by Hamburger
Mon Mar 09, 2015 9:32 am
Forum: Software development
Topic: HIL Simulation via Serial Port
Replies: 8
Views: 2888

Re: HIL Simulation via Serial Port

"feed into the microwii" - is your current problem related to MWii? That code snippet is already part of your modified MWii? Or do you experience that problem with a standalone program already? If you want to feed values into MWii, your easiest route was to use the existing MSP MWii.Serial...
by Hamburger
Sat Mar 07, 2015 11:20 am
Forum: Software development
Topic: pre 2.4 version r1739
Replies: 47
Views: 23467

Re: pre 2.4 version r1739

Hi, I would opt equally for a) or b) and if b), only a #define, no protocol change c) a linear factor is probably more indicated for what we call a scale (a proportional factor), but the current principle is ok for me (a/b or b/a, it's just a question of documentation) d) is a nogo (impact on proto...
by Hamburger
Sat Mar 07, 2015 10:48 am
Forum: Software development
Topic: pre 2.4 version r1729
Replies: 100
Views: 49236

Re: pre 2.4 version r1729

please consider this thrread closed - do not post here
by Hamburger
Sat Mar 07, 2015 10:38 am
Forum: Software development
Topic: pre 2.4 version r1739
Replies: 47
Views: 23467

we got a problem - please hold v2.4

repost -was in r1729 thread, sorry. I think we got a problem with VBAT code. analogRead() maps the range of [0 ; 5] Volts input to values of [0 ; 1023]. But with our current code (simplified) : uint16_t v = analogRead(V_BATPIN); analog.vbat = (v*16) / conf.vbatscale; // result is Vbatt in 0.1V steps...
by Hamburger
Sat Mar 07, 2015 10:06 am
Forum: Software development
Topic: pre 2.4 version r1729
Replies: 100
Views: 49236

we got a problem - please hold v2.4

wrong - old - thread ; moved to r1739 thread http://www.multiwii.com/forum/viewtopic.php?f=8&t=6061&p=62034#p62034 - - - - I think we got a problem with VBAT code. analogRead() maps the range of [0 ; 5] Volts input to values of [0 ; 1023]. But with our current code (simplified) : uint16_t v ...
by Hamburger
Fri Mar 06, 2015 4:55 pm
Forum: Getting Started - MultiWii config and setup
Topic: Built custom board w/ 328P, cant get it setup. Help please!
Replies: 4
Views: 1481

Re: Built custom board w/ 328P, cant get it setup. Help plea

select the mcu type in the arduino ide; the code will grab the info from internal defines. You do not have any of the available all-in-one boards, so you must In the code in config.h simply activate the sensors you have attached plus a coptertype (tri/quad/...). That is minimal basics. afaik, we do ...
by Hamburger
Fri Mar 06, 2015 10:27 am
Forum: Getting Started - MultiWii config and setup
Topic: Built custom board w/ 328P, cant get it setup. Help please!
Replies: 4
Views: 1481

Re: Built custom board w/ 328P, cant get it setup. Help plea

MWii pin usage is described for 328p and mega on the MWii site under connecting.elements.
Arduino pins & naming (as used in connection diagrams) can be found on arduino site under 328 pinmapping.
by Hamburger
Wed Mar 04, 2015 8:27 pm
Forum: Software development
Topic: LCD03 Serial Interface
Replies: 3
Views: 1912

Re: LCD03 Serial Interface

it is in r1744 now. It does compile - even has triggered a new coptertest testcase. But beyond compilation I have no means to test.
Could you please verify the latest code does work as expected?
by Hamburger
Fri Feb 27, 2015 8:50 pm
Forum: Connecting elements
Topic: OrangeRx Satellite Receiver - atmega32u4 - SOLVED
Replies: 5
Views: 2591

Re: OrangeRx Satellite Receiver - atmega32u4 - SOLVED

you may experience other effects with 8MHz mcu. Not sure if the timers work the same as with 16MHz mcus.
by Hamburger
Mon Feb 23, 2015 1:07 pm
Forum: Connecting elements
Topic: OrangeRx Satellite Receiver - atmega32u4 - SOLVED
Replies: 5
Views: 2591

Re: OrangeRx Satellite Receiver - atmega32u4 - No Dice

can you bind the satellite once via a regular receiver?
All I did in config.h for satellite together with a nanowii 32u4 board is #define SPEKTRUM 1024
by Hamburger
Mon Feb 09, 2015 6:39 pm
Forum: General discussions
Topic: Oneshot enabled MultiWii 2.3 Sketch?
Replies: 11
Views: 3980

Re: Oneshot enabled MultiWii 2.3 Sketch?

maybe you can reach him via flyduino forum?
by Hamburger
Mon Feb 09, 2015 3:43 pm
Forum: Software development
Topic: LCD03 Serial Interface
Replies: 3
Views: 1912

Re: LCD03 Serial Interface

ok! It looks well isolated, so I will incorporate it soon, possibly next weekend. Please bear with me if it takes longer, time is precious nowadays.
by Hamburger
Sun Feb 08, 2015 10:27 pm
Forum: Software development
Topic: Expanding LED Flasher
Replies: 2
Views: 1251

Re: Expanding LED Flasher

I do not use LED_FLASHER_PORT, but like you I want more visual for orientation.
So I hook up LEDs to the buzzer output and swap the buzzer _ON and _OFF defines. Seemed easier than inverting the patterns when I started it
by Hamburger
Sun Feb 08, 2015 2:59 pm
Forum: General discussions
Topic: Oneshot enabled MultiWii 2.3 Sketch?
Replies: 11
Views: 3980

Re: Oneshot enabled MultiWii 2.3 Sketch?

So the oneshot modifications are those Felix/ronco did or still does? Then we can ping him for info and source. He fully understands and supports MultiWii GPL.
by Hamburger
Sat Feb 07, 2015 9:40 am
Forum: General discussions
Topic: Oneshot enabled MultiWii 2.3 Sketch?
Replies: 11
Views: 3980

Re: Oneshot enabled MultiWii 2.3 Sketch?

Hey guys. MultiWii is licensed under GPL, so we all have the rights to get access to modified sources for derivative published works. I am pretty sure the original author is open minded about this issue. If you follow the road down oneshot, can you provide links and infos to (possibly outdated now) ...
by Hamburger
Tue Feb 03, 2015 9:29 pm
Forum: Connecting elements
Topic: Add GPS Crius U-blox NEO-6 V3.1 to MultiWii PRO MEGA
Replies: 2
Views: 2858

Re: Add GPS Crius U-blox NEO-6 V3.1 to MultiWii PRO MEGA

I am no expert with gps, but you did not modify and upload any new MultiWii software to your board? Just one day it was not recognized anymore? Sounds like something with hardware - maybe a wire from gps module to board, or something on the gps board. To check the gps module: If you have a usb-seria...
by Hamburger
Tue Feb 03, 2015 9:23 pm
Forum: Shields, boards and sensors
Topic: I2C OLED thread
Replies: 62
Views: 58792

Re: I2C OLED thread

ok, noted for later repairs.
Thank you.
by Hamburger
Wed Jan 28, 2015 6:38 pm
Forum: Software development
Topic: pre 2.4 version r1739
Replies: 47
Views: 23467

Re: pre 2.4 version r1739

what exactly is
ezio wrote: baseflight/cleanflight standard
by Hamburger
Wed Jan 28, 2015 6:36 pm
Forum: Software development
Topic: Checkbox Items
Replies: 4
Views: 2100

Re: Checkbox Items

increase to what, please?
by Hamburger
Tue Jan 27, 2015 8:10 am
Forum: MultiWii tweaking - flying experience
Topic: Tri - LCD SERvINVy parameter
Replies: 2
Views: 1517

Re: Tri - LCD SERvINVy parameter

Just ignore the pattern and set lowest bit R to reverse tri servo travel.
Full set is for inverting heli cyclic servos : collective nick roll