Search found 1957 matches

by PatrikE
Fri Jul 24, 2020 12:21 pm
Forum: Getting Started - MultiWii config and setup
Topic: setup aux command from code not gui
Replies: 3
Views: 64

Re: setup aux command from code not gui

At boot the code will check if the gps is connected otherwise it will be setup as a regular serial port. So you can connect the ftdi and configure the settings in the Gui. Then plug the GPS and reboot for flight. Otherwise you need to find where gps hold is activated by AUX in mwii.cpp. You will als...
by PatrikE
Thu Jul 09, 2020 10:47 am
Forum: General discussions
Topic: data logging
Replies: 1
Views: 362

Re: data logging

Hi, The logging is probably done internally on the GPS module. And probably only GPS data is available. MWii don't have any logging function for SD card. If you want to log the data you mention you need to make a external logger module and poll the serial port and save it on the external SD Logger. ...
by PatrikE
Thu Jun 11, 2020 9:29 am
Forum: Getting Started - MultiWii config and setup
Topic: wiki dead?
Replies: 1
Views: 103

Re: wiki dead?

Hi,
Closest to a wiki is.
http://www.multiwii.com/
by PatrikE
Thu Jun 11, 2020 9:28 am
Forum: General discussions
Topic: Question
Replies: 7
Views: 231

Re: Question

HI, PWM works out of the box. No need to make any changes unless you want PPM SUM. You can find information here. http://www.multiwii.com/ It's not updated but should give some good information. You can also find information on my old Blogposts about MWii in airplanes. http://fotoflygarn.blogspot.co...
by PatrikE
Sun Jun 07, 2020 8:30 pm
Forum: General discussions
Topic: Question
Replies: 7
Views: 231

Re: Question

Most features it set in config.h
PWM is default f nothing is cahanged.

Activete PPM with the channel order that suits your Radio
#define SERIAL_SUM_PPM ROLL,PITCH,THROTTLE,YAW,AUX1,AUX2,AUX3,AUX4,8,9,10,11 //For Robe/Hitec/Futaba
by PatrikE
Sat Jun 06, 2020 9:47 pm
Forum: General discussions
Topic: Question
Replies: 7
Views: 231

Re: Question

That's correct.
by PatrikE
Mon Feb 24, 2020 10:21 pm
Forum: Buy & Sell
Topic: Where to buy an MultiWii controller in 2020?
Replies: 1
Views: 284

Re: Where to buy an MultiWii controller in 2020?

MWii boards is quite hard to find now.. I looked thru my drawers and found one of my spare MWii boards. A Multiwii/Megapirates AIO. A Extension board for serial and analog pins. And a Minim OSD. That should give a good starting point for a project if you're interested. IMG_20200224_220433.jpg /Patrik,
by PatrikE
Mon Oct 21, 2019 8:22 pm
Forum: Software development
Topic: MWii development beyond v2.4
Replies: 73
Views: 20431

Re: MWii development beyond v2.4

Calibrate ACC first.
You need to ARM the motors.
Throttle LOW + Yaw right.
by PatrikE
Sat Oct 12, 2019 8:56 pm
Forum: Shields, boards and sensors
Topic: Arduino Nano Multiwii GPS Connection
Replies: 4
Views: 4952

Re: Arduino Nano Multiwii GPS Connection

It sends serial data so setup like this.

#define GPS_SERIAL 1 // Or the serial port you have available
#define GPS_BAUD 57600 // Or 115200
#define UBLOX
by PatrikE
Tue Aug 13, 2019 7:21 am
Forum: Software
Topic: Simplified mwii Port to ESP8266 / ESP32 & mpu6050
Replies: 1
Views: 12950

Re: Simplified mwii Port to ESP8266 / ESP32 & mpu6050

Hi Plüschi,

Intresting aproach.
Do you have any expectation of range on the WIFI?
I play around a lot with ESP's for home automation and have several laying around.
If you could get say 3-400m it would be good as LOS radio in a small plane.
I think i will test to put it in something and test it.
by PatrikE
Thu May 30, 2019 7:23 pm
Forum: General discussions
Topic: Buzzer
Replies: 3
Views: 10942

Re: Buzzer

The I/O pins is not enough to power the buzzer fully.
You can use a transistor to drive the buzzer.
by PatrikE
Thu Mar 28, 2019 10:22 pm
Forum: Software development
Topic: Virtual Remote control
Replies: 1
Views: 1965

Re: Virtual Remote control

Hi and welcome.

You can control the MWii over serial.
The Gui uses the MSP protocol witch have a RC input.

Or you can generate a PPM signal similar to RC.
by PatrikE
Sun Mar 24, 2019 9:18 pm
Forum: Getting Started - MultiWii config and setup
Topic: Version 2.4 connection diagrams
Replies: 2
Views: 1064

Re: Version 2.4 connection diagrams

The connections is not changed between 1.9 & 2.4.
Should be identical.
by PatrikE
Wed Mar 06, 2019 10:43 pm
Forum: Software development
Topic: Quadcopter Not flying
Replies: 20
Views: 3086

Re: Quadcopter Not flying

How's your vibrations in the frame? You can test to add some filtering on Gyro. Start with #define GYRO_LPF_42HZ And later you can test this. /************************ Moving Average Gyros **********************************/ #define MMGYRO 10 // (*) Active Moving Average Function for Gyros #define M...
by PatrikE
Mon Feb 11, 2019 1:54 pm
Forum: Software development
Topic: Quadcopter Not flying
Replies: 20
Views: 3086

Re: Quadcopter Not flying

If you haven't enabled #define HWPWM6 or #define A32U4_4_HW_PWM_SERVOS uint8_t PWM_PIN[8] = {9,10,5,6,11,13,SW_PWM_P3,SW_PWM_P4}; //for a quad+: rear,right,left,front The odrer shoulb be. Motors-->Arduino Promicro-->Pins Position M1 ( CCW )-------> D9------>Front Right M2 (CW ) -------> D10------->R...
by PatrikE
Mon Feb 11, 2019 9:15 am
Forum: Software development
Topic: Quadcopter Not flying
Replies: 20
Views: 3086

Re: Quadcopter Not flying

That's normal behaivour..
The PID controller is trying to correct small errors and the copter is sitting static.
Results in some motors is "spinning up" to compensate.
by PatrikE
Mon Feb 11, 2019 9:13 am
Forum: ESCs, propellers , servos and radios
Topic: Propeller speed problem
Replies: 2
Views: 1886

Re: Propeller speed problem

That's normal behaivour..
The PID controller is trying to correct small errors and the copter is sitting static.
Results in some motors is "spinning up" to compensate.
by PatrikE
Mon Jan 28, 2019 12:36 pm
Forum: Getting Started - MultiWii config and setup
Topic: help setting up PPM on MultiWii
Replies: 6
Views: 766

Re: help setting up PPM on MultiWii

Hi, It's strange that MAG is enabled without any box checked!. http://www.multiwii.com/forum/download/file.php?id=3959 Is all channels within correct range(1000-2000) Otherwise failsafe can be activated. Also if you upgraded the software on the FC you should start with a Eeprom erase or at least res...
by PatrikE
Thu Jan 24, 2019 10:25 am
Forum: Getting Started - MultiWii config and setup
Topic: help setting up PPM on MultiWii
Replies: 6
Views: 766

Re: help setting up PPM on MultiWii

Inside void go_arm() if(!f.ARMED && !f.BARO_MODE) { // arm now! f.ARMED = 1; That means you can't ARM if Baro is enabled at same time. Your image shows you have Baro enabled on same switch as ARM. http://www.multiwii.com/forum/download/file.php?id=3958
by PatrikE
Sat Jan 19, 2019 9:57 pm
Forum: Getting Started - MultiWii config and setup
Topic: help setting up PPM on MultiWii
Replies: 6
Views: 766

Re: help setting up PPM on MultiWii

The Board need to be level to ARM.
#define ONLYARMWHENFLAT //prevent the copter from arming when the copter is tilted

You can test to Arm with a AUX switch.
by PatrikE
Tue Jan 15, 2019 8:16 am
Forum: Shields, boards and sensors
Topic: MultiWii SE V2.5 logic voltage is 3.3v?
Replies: 9
Views: 1905

Re: MultiWii SE V2.5 logic voltage is 3.3v?

Connect PPM from RX to [ -,+,D2] on the FC.
In Config Enable

Code: Select all

#define SERIAL_SUM_PPM         ROLL,PITCH,THROTTLE,YAW,AUX1,AUX2,AUX3,AUX4,8,9,10,11 //For Robe/Hitec/Futaba
#define PPM_ON_THROTTLE         // D2 on MultiWii SE V2.5

FC.PNG

Then it should work

//Patrik
by PatrikE
Wed Jan 09, 2019 9:43 pm
Forum: Shields, boards and sensors
Topic: MultiWii SE V2.5 logic voltage is 3.3v?
Replies: 9
Views: 1905

Re: MultiWii SE V2.5 logic voltage is 3.3v?

HI, Sadly MWii flight controllers is getting hard to find now. I would suggest to get a 32bit FC. ex. m It comes preloaded with Betaflight. It will also run iNav if you want to test. Both use MSP on serial port. iNav have navigation. I'm not sure about Betaflight,Last i checked it just had simple GP...
by PatrikE
Thu Dec 27, 2018 9:04 pm
Forum: Shields, boards and sensors
Topic: MultiWii SE V2.5 logic voltage is 3.3v?
Replies: 9
Views: 1905

Re: MultiWii SE V2.5 logic voltage is 3.3v?

It's hard to find documentation on old boards.
And there's almost 70 different Predefined FC with support for MWii in latest release of MWii.
Most MWii boards are no longer in stock.
It will work with any of these FC's.(Preferably with Atmega 2560 )

But it will also work with iNav on 32bit FC
by PatrikE
Thu Dec 27, 2018 3:34 pm
Forum: Shields, boards and sensors
Topic: MultiWii SE V2.5 logic voltage is 3.3v?
Replies: 9
Views: 1905

Re: MultiWii SE V2.5 logic voltage is 3.3v?

Looks like PI is only connected to RX on MWIi board.
Then it will probably work fine.
by PatrikE
Mon Dec 24, 2018 1:12 pm
Forum: Shields, boards and sensors
Topic: MultiWii SE V2.5 logic voltage is 3.3v?
Replies: 9
Views: 1905

Re: MultiWii SE V2.5 logic voltage is 3.3v?

Hi,

The Multiwii boards with Atmega 328 usually have 5V logic level.
You need a level converter to protect the PI if it don't handle 5V.
Logic Level Convert can be found everywhere on Ebay etc ( Logic Level Converter Module Bi-Directional for Arduino 5V-3V )


/Patrik
by PatrikE
Wed Nov 21, 2018 8:19 am
Forum: Getting Started - MultiWii config and setup
Topic: Need help issue flashing CRIUS Multiwii SE v2.6 controller
Replies: 1
Views: 606

Re: Need help issue flashing CRIUS Multiwii SE v2.6 controll

Enable minimum options.
This should compile with your FC

Code: Select all

#define QUADX
#define HK_MultiWii_328P

Then make sure you have correct serial port selected in Arduino.
And probably Arduino PRO mini 5V 16Mhz as processor.
by PatrikE
Mon Oct 15, 2018 7:04 pm
Forum: Getting Started - MultiWii config and setup
Topic: Need help arming my motor's drone. Thanks for the help!
Replies: 3
Views: 866

Re: Need help arming my motor's drone. Thanks for the help!

Just a thoughts..

How do you send the values?
PPM or serial?
It have to be sent at ~50hz if you send via serial.

Throttle must be low to be able to ARM.
by PatrikE
Mon Sep 24, 2018 6:24 pm
Forum: MultiWii tweaking - flying experience
Topic: Quickly ascending with no control; Altitude Hold activated ?
Replies: 3
Views: 1880

Re: Quickly ascending with no control; Altitude Hold activat

Hi and welcome.

Hard to say what happened.
But initial guess is some failsafe glitch.
Maybe starting a RTH in failsafe.
First climb then fly home.
by PatrikE
Thu Sep 20, 2018 7:21 am
Forum: Shields, boards and sensors
Topic: BNO055 with audrino
Replies: 1
Views: 1301

Re: BNO055 with audrino

I think this is a new sensor and have not been available before.
MWii have not been updated for almost 2 years.
Perhaps The project can continue moving forward slowly again now.
by PatrikE
Sun Sep 02, 2018 8:41 pm
Forum: Boards
Topic: MultiWiiCopter Mega 2560 Spider FC
Replies: 2
Views: 3325

Re: MultiWiiCopter Mega 2560 Spider FC

You can find the releases here.
https://code.google.com/archive/p/multiwii/
Not sure if there's any ready Preconfigured def for the FC.
There can be some other board with same sensors.
But it's also possible to enable the sensors manually in config.
by PatrikE
Fri Aug 24, 2018 10:40 am
Forum: Software development
Topic: MWii development beyond v2.4
Replies: 73
Views: 20431

Re: MWii development beyond v2.4

Flying dragons...
Cool project!..
by PatrikE
Wed Aug 01, 2018 7:20 am
Forum: General discussions
Topic: How to register for this forum?
Replies: 4
Views: 10477

Re: How to register for this forum?

Hi,

I can't see register link either.
Only login option.
latest new member is from 1:st juli -17.

Maybe Alex locked for new registration to avoid the spam we had at that time?.
by PatrikE
Sat May 05, 2018 8:13 pm
Forum: Getting Started - MultiWii config and setup
Topic: How to change servo output to pwm/fet motor control
Replies: 4
Views: 2283

Re: How to change servo output to pwm/fet motor control

A tip can be to search for "brushed" in config.h
by PatrikE
Wed Mar 21, 2018 12:50 pm
Forum: Software development
Topic: Direct motor control on a quad FC
Replies: 3
Views: 2268

Re: Direct motor control on a quad FC

Hi I'm not sure what you want to do but this will not be a flyable thing as it is!... Just 4 separately controlled motors. rcCommand[x] have a range of -500 to 500 and center is zero so you have to add MIDRC to get it in correct range. motor[0] = rcCommand[ROLL] + MIDRC; rcData[x] is the "Raw&q...
by PatrikE
Wed Oct 04, 2017 12:44 pm
Forum: Software development
Topic: Three independent, stick selectable settings in EEPROM
Replies: 36
Views: 8317

Re: Three independent, stick selectable settings in EEPROM

It's not active by default In config.h
Just enable and it will work in 2.4.

Code: Select all

  /*************      Support multiple configuration profiles in EEPROM     ************/
    //#define MULTIPLE_CONFIGURATION_PROFILES


https://github.com/multiwii/multiwii-fi ... ig.h#L1012
by PatrikE
Wed Apr 05, 2017 6:40 pm
Forum: Software development
Topic: VTOL Quadcopter Fixed Wing Hybrid *ASSISTANCE NEEDED*
Replies: 1
Views: 2086

Re: VTOL Quadcopter Fixed Wing Hybrid *ASSISTANCE NEEDED*

Looks like another project we done here..
viewtopic.php?f=16&t=6287

I have code for it if you want.. ;)

The model is Quadwing and the transaction is made by AUX2 if i remember correct
https://www.dropbox.com/s/wwz9tue205nx10j/QW.rar?dl=0

/Patrik
by PatrikE
Sat Jan 28, 2017 8:37 pm
Forum: Shields, boards and sensors
Topic: Arduino UNO R3 or FC
Replies: 4
Views: 4373

Re: Arduino UNO R3 or FC

The two components is enough for building a flight controller. It's easier to use a commercial FC though. I started at the time hacking MWii controller was the only way to go. Most of my fails during flying have been those Fc's failing, Soldered cables vibrating off and similar issues. A ready FC al...
by PatrikE
Mon Oct 24, 2016 2:48 pm
Forum: Shields, boards and sensors
Topic: MW + ATmega328 = coaxial drone?
Replies: 9
Views: 1287

Re: MW + ATmega328 = coaxial drone?

A 328 will be good enough until you start adding GPS etc.
Then it will be short of memory.
But you can easily config the setup and test to compile in Arduino ide to get a Idé of sketch size.
by PatrikE
Mon Oct 24, 2016 7:41 am
Forum: Shields, boards and sensors
Topic: MW + ATmega328 = coaxial drone?
Replies: 9
Views: 1287

Re: MW + ATmega328 = coaxial drone?

Maybe not plug n play but it's something to start with.
by PatrikE
Sun Oct 23, 2016 9:36 pm
Forum: Shields, boards and sensors
Topic: MW + ATmega328 = coaxial drone?
Replies: 9
Views: 1287

Re: MW + ATmega328 = coaxial drone?

Should be possible to use the Dual Copter Mix.
by PatrikE
Fri Oct 14, 2016 5:38 pm
Forum: General discussions
Topic: Many people here still flying Multiwii?
Replies: 11
Views: 1356

Re: Many people here still flying Multiwii?

MultiWii is still my first choice in my planes.
by PatrikE
Tue Sep 20, 2016 10:16 am
Forum: Boards
Topic: Crius v2.5 need Hard reset (hardware bridge... )!
Replies: 2
Views: 3519

Re: Crius v2.5 need Hard reset (hardware bridge... )!

If you Short the GND and RST the board will reboot.
Image
by PatrikE
Tue Sep 06, 2016 10:45 am
Forum: ESCs, propellers , servos and radios
Topic: motor spin after arming
Replies: 1
Views: 749

Re: motor spin after arming

You need to calibrate the esc's.
Default setting in MWii is that motors spin at idle when it's ARMED.

Uncomment to change it.
#define MOTORSTOP
by PatrikE
Tue Sep 06, 2016 10:42 am
Forum: Software development
Topic: GPG and Compass heading recorded via PWM signal
Replies: 2
Views: 544

Re: GPG and Compass heading recorded via PWM signal

I guess a good start would be a Openlog. ex m And add a combined GPS/Mag. ex m You can probably find cheaper on Ebay You might have to solder some directly on the processor legs to get it to work though!. You need I2C for the Mag and a input for PWM/PPM on the Openlog. Most of the code you need is a...
by PatrikE
Tue Sep 06, 2016 8:18 am
Forum: General discussions
Topic: MultiWii 32bit SW for VTOL - please advise
Replies: 3
Views: 7030

Re: MultiWii 32bit SW for VTOL - please advise

Eclipse is open source and free.
Keil have a free version that have a limit size on compiler.
But there's always ways to unlock for the handy man..;)
by PatrikE
Mon Sep 05, 2016 7:14 am
Forum: General discussions
Topic: MultiWii 32bit SW for VTOL - please advise
Replies: 3
Views: 7030

Re: MultiWii 32bit SW for VTOL - please advise

You can use Eclipse to code.
It's not the easiest to setup though!

Easiest is to use Kiel light version.(32kb limit)
http://www2.keil.com/mdk5/install
And use gcc to compile as a free option.

Baseflight works nicely with Kiel or Eclipse.
Cleanflight with Eclipse
by PatrikE
Sat Aug 27, 2016 8:34 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 91333

Re: Airplane RTH BaseFlight

You can do like that. But the FC will never know it's in failsafe and continue to circle at home until the battery runs flat. A better option is to trim down Throttle to absolute minimum and save it as failsafe. leave all other channels neutral. You can probably trim it to around 990µs or lower. Adj...
by PatrikE
Tue Aug 23, 2016 5:21 pm
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 628713

Re: Naze32 hardware discussion thread

No.
Multiwii is not compatible with NAZE32 Boards.

Better to get a Mwiii fc.
by PatrikE
Tue Aug 16, 2016 8:53 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 91333

Re: Airplane RTH BaseFlight

Sorry.
I don't have any experience of using Softserial.
But GPS should be OK to run at 38500 since only 5Hz is used.
I have been running a NMEA at 36k on MWii FixedWing.

Or you could just connect a push button as a jumper easy accessable.