Search found 1970 matches

by PatrikE
Sat Aug 21, 2021 9:11 am
Forum: Shields, boards and sensors
Topic: ESP8266 wich board i select in Multiwii ??
Replies: 1
Views: 632

Re: ESP8266 wich board i select in Multiwii ??

Theres no Support for ESP8266 in The code.
Sorry..
by PatrikE
Fri Aug 20, 2021 7:31 am
Forum: Shields, boards and sensors
Topic: Motors are hots!!
Replies: 1
Views: 258

Re: Motors are hots!!

There's nothing starnge with the PIDs.
I guess the motors is too week for your Quad.
Alternative too big props on it.
by PatrikE
Fri Aug 20, 2021 7:23 am
Forum: Getting Started - MultiWii config and setup
Topic: Getting started with old board. Help needed
Replies: 1
Views: 184

Re: Getting started with old board. Help needed

Make sure the Baudrates is correct setup.
Normally 115200.
Test to load some other sketch to verify that you can get it to work with Arduino Serial monitor.

/Patrik
by PatrikE
Thu Aug 19, 2021 5:12 pm
Forum: General discussions
Topic: How to command attitude?
Replies: 5
Views: 545

Re: How to command attitude?

Hi, I played around a bit with reading a NintendoWii Nunchuk in the days when it was the thing we developed the code around. The code reads the nunchuk and map it to a Array CH_uS[#]. Then void ppmoutput() {} Sends the PPM signal on a selected pin. It worked then on a ProMini. https://drive.google.c...
by PatrikE
Mon Aug 16, 2021 12:23 pm
Forum: General discussions
Topic: How to command attitude?
Replies: 5
Views: 545

Re: How to command attitude?

You can control MWii either by radio output.
Emulating PPM or any of the RC protocols supported.
You can also use the serial and control with the MSP protocol.
by PatrikE
Mon Mar 01, 2021 9:23 am
Forum: Ideas
Topic: MultiWii based balancing robot (Segway)
Replies: 34
Views: 37934

Re: MultiWii based balancing robot (Segway)

Hi,
Witch firmware are you using?
Original MultiWii don't support the stepper motors!.
You need to use BalancingWii branch.
https://github.com/mahowik/BalancingWii
by PatrikE
Mon Dec 14, 2020 11:37 am
Forum: Getting Started - MultiWii config and setup
Topic: JRE ''EXCEPTION_ACCESS_VIOLATION'' error
Replies: 5
Views: 1994

Re: JRE ''EXCEPTION_ACCESS_VIOLATION'' error

HI,

Try to use this rxtxSerial.dll
Here's my updated version of the gui that i use for setting up airplanes.
https://drive.google.com/drive/folders/ ... sp=sharing
by PatrikE
Wed Dec 02, 2020 5:27 pm
Forum: Getting Started - MultiWii config and setup
Topic: New setup trying to roll over
Replies: 1
Views: 627

Re: New setup trying to roll over

Hi Paul. Most likely you have motors wrong connected. If the copter tilt left the left motors should increase to compensate. If left/Right motors is "reversed" it will increase on right side and cause a quick flip. A tip. Remove props and hold the copter in the hand when you ARM and check if the cor...
by PatrikE
Sat Sep 05, 2020 4:15 pm
Forum: Ideas
Topic: MultiWii based balancing robot (Segway)
Replies: 34
Views: 37934

Re: MultiWii based balancing robot (Segway)

It's done in the serial communication.
And it's based on MSP protocol.
by PatrikE
Sat Sep 05, 2020 4:12 pm
Forum: Shields, boards and sensors
Topic: Adafruit Mini GPS PA1010D Module GPS Fix Problems
Replies: 3
Views: 1240

Re: Adafruit Mini GPS PA1010D Module GPS Fix Problems

I'm not sure if PA1010D Module have same I2C protocol as the one MWii uses..
MWii have a dedicated I2C project that runs on a separate Arduino board.
Only if Adafruit uses the same it will work.
by PatrikE
Sun Aug 30, 2020 10:30 am
Forum: Ideas
Topic: MultiWii based balancing robot (Segway)
Replies: 34
Views: 37934

Re: MultiWii based balancing robot (Segway)

The Bluetooth is just used for connecting it to Gui normally.
by PatrikE
Sun Aug 30, 2020 10:22 am
Forum: Shields, boards and sensors
Topic: Adafruit Mini GPS PA1010D Module GPS Fix Problems
Replies: 3
Views: 1240

Re: Adafruit Mini GPS PA1010D Module GPS Fix Problems

56700 @5hz is recommended to use.
There's a function in the code that is supposed to setup the Gps module at boot.
But you can also set up the GPS manually first.
Gps should have free sight to see satellites good.
by PatrikE
Sat Aug 22, 2020 2:50 pm
Forum: Connecting elements
Topic: Software Serial GPS Connection
Replies: 1
Views: 2002

Re: Software Serial GPS Connection

Hi,
I don't think you can connect gps via Soft serial.
You can use a I2C gps on it though.
Simply a Arduino reading GPS and acts like a I2C unit.
Then you can run the GPS at 57600 and 5hz
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: 1468

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: 3707

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: 1021

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: 2364

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: 2364

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: 2364

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: 3
Views: 1554

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: 29614

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: 6623

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: 15148

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: 11906

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: 2619

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: 1947

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: 5888

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: 5888

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: 5888

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: 2711

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: 2045

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: 2045

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: 2045

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: 3525

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: 3525

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: 3525

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: 3525

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: 3525

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: 1115

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: 1578

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: 2585

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: 1921

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: 4129

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: 29614

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: 11642

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: 3214

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: 3137

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: 12232

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: 2724

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