Search found 103 matches

by gregd72002
Fri Feb 10, 2017 10:06 pm
Forum: Software development
Topic: A better MultiWii
Replies: 29
Views: 17144

Re: A better MultiWii

hi,

have you install mw-mavlink?
have you configure mw-mavlink so it points to your qgroundcontrol? https://github.com/rpicopter/mw-mavlink ... link.start
you should be able to configure it using mw-config www
by gregd72002
Tue Nov 08, 2016 11:17 am
Forum: Getting Started - MultiWii config and setup
Topic: Trouble with my quadcopter
Replies: 6
Views: 2817

Re: Trouble with my quadcopter

Correct me if I am wrong, but for the GUI to work I would think you need MSP enabled in MW
by gregd72002
Fri Oct 28, 2016 11:32 am
Forum: Software development
Topic: A better MultiWii
Replies: 29
Views: 17144

Re: A better MultiWii

Hi, no I have not tried it. I'm flying using QGroundControl
by gregd72002
Tue Sep 06, 2016 3:38 pm
Forum: Getting Started - MultiWii config and setup
Topic: Select resonator frequency in MultiWii code
Replies: 2
Views: 2287

Re: Select resonator frequency in MultiWii code

Have you passed the correct resonator frequency (cpu speed) to the compiler in the first place? To test this can you run a blink code on you 8MHz board?

This should start (not sure about working) with 8MHz
by gregd72002
Tue Aug 09, 2016 8:38 pm
Forum: Software development
Topic: MultiWii Serial Protocol Testing
Replies: 3
Views: 3247

Re: MultiWii Serial Protocol Testing

are you sure your wiring is correct (tx to rx, rx to tx and common ground), you are not getting overflow on the uart (you are sending many request and reading only once at the end), your uart configuration is ok?

You never mentioned what TTL levels you are using on both ends...
by gregd72002
Sun Aug 07, 2016 7:02 pm
Forum: Software development
Topic: MultiWii Serial Protocol Testing
Replies: 3
Views: 3247

Re: MultiWii Serial Protocol Testing

Here is a service-client code that does exactly what you are trying to do
https://github.com/rpicopter/mw-service
by gregd72002
Thu Aug 04, 2016 8:56 am
Forum: Software development
Topic: Multiwii 2.4 as Slave
Replies: 17
Views: 6724

Re: Multiwii 2.4 as Slave

I2C_GPS_NAV is just an example. You will need to code something yourself.
by gregd72002
Wed Aug 03, 2016 4:13 pm
Forum: Software development
Topic: Multiwii 2.4 as Slave
Replies: 17
Views: 6724

Re: Multiwii 2.4 as Slave

for arduino to arduino communication over i2c you might want to take a look at I2C_GPS_NAV for and example

I2C_GPS_NAV is an arduino based software that interfaces with Multiwii on one end and GPS on the other:

MultiWii <-------[i2c]------> I2C_GPS_NAV <---------- [serial] ---------> GPS
by gregd72002
Wed Aug 03, 2016 9:07 am
Forum: Shields, boards and sensors
Topic: UBLOX 7m - Fix problem with multiwii 2.4
Replies: 10
Views: 4663

Re: UBLOX 7m - Fix problem with multiwii 2.4

Not sure but don't you need to also change the protocol on your ublox from NMEA to UBLOX binary?
by gregd72002
Mon Aug 01, 2016 1:42 pm
Forum: Software development
Topic: Multiwii 2.4 as Slave
Replies: 17
Views: 6724

Re: Multiwii 2.4 as Slave

it depends on what you are trying to do. Do you have to use i2c, why not to use serial? What data will you be sending, how much of it....
by gregd72002
Mon Aug 01, 2016 12:05 pm
Forum: Software development
Topic: Implementing SRF05
Replies: 2
Views: 1838

Re: Implementing SRF05

you cannot use pulseIn as this might introduce unexpected delay and the whole timing in MultiWii will be out of sync.

A potential way around it would be to read by undersampling - read it in a loop and apply LPF. But there might be other ways to do it too.
by gregd72002
Mon Aug 01, 2016 11:18 am
Forum: Software development
Topic: Multiwii 2.4 as Slave
Replies: 17
Views: 6724

Re: Multiwii 2.4 as Slave

Multiwii uses its own I2C implementation and is not using Wire.h. Combining 2 different i2c approaches is not a good idea and most likely will never work.
by gregd72002
Sun Jul 31, 2016 7:46 pm
Forum: Shields, boards and sensors
Topic: gps neo m8n blown
Replies: 5
Views: 2940

Re: gps neo m8n blown

Hi, thanks a lot for the help!

On the fuse (element 5) there od 4.9v on one end and 4.8v on the other end.

The diode (element W5?) there is 1v on one end and the other end seems to be not connected (the end next to the resistor/capacitor)
by gregd72002
Mon Jul 25, 2016 10:45 am
Forum: Software development
Topic: Input to control the MultiWii
Replies: 8
Views: 4224

Re: Input to control the MultiWii

These are PWM inputs, varying from 1000-2000Hz. Each one describes a separate channel as stated in http://www.multiwii.com/wiki/index.php? ... l_Protocol

The drone will hover if yaw, pitch, roll is in the middle and throttle is enough to keep it up in the air.
by gregd72002
Sat Jul 23, 2016 6:13 pm
Forum: Software development
Topic: Input to control the MultiWii
Replies: 8
Views: 4224

Re: Input to control the MultiWii

These are absolute values, independent of each other.
2000 (max) or 1000 (min)
by gregd72002
Fri Jul 22, 2016 5:41 pm
Forum: Software development
Topic: Input to control the MultiWii
Replies: 8
Views: 4224

Re: Input to control the MultiWii

you should be sending it in a loop otherwise MW will go into failsafe. (i think it is after 1sec of not receiving it)
by gregd72002
Fri Jul 22, 2016 5:37 pm
Forum: Software development
Topic: Input to control the MultiWii
Replies: 8
Views: 4224

Re: Input to control the MultiWii

Only a single command is required (given your robot is armed): MSP_SET_RAW_RC [$,M,<,16,200,1500,1500,1500,1500,1500,1500,1500,1500,CRC] All values are single char but the 1500 ones. The 1500 are uint16 values roll,pitch,yaw,throttle,aux1,aux2,aux3,aux respecively Given you robot is armed you should...
by gregd72002
Fri Jul 22, 2016 5:08 pm
Forum: Software development
Topic: Autonomous flight
Replies: 3
Views: 2302

Re: Autonomous flight

Not sure if I get you. You can change RC data directly in the code. I would modify Protocol.cpp and overwrite serialCom function and set rcSerial and rcSerialCount.
3 lines change is all you need to change them in the code.
by gregd72002
Fri Jul 22, 2016 10:25 am
Forum: Ideas
Topic: MAVLink protocol
Replies: 21
Views: 19962

Re: MAVLink protocol

RPi Zero, this is what I'm using on my 250 copter and Odroid on my 550 copter. You would need indeed 2 serial ports if you want to use LRS: RPi<->MW RPi<->LRS I'm actually waiting for my OrangeRX LRS to arrive as I intend to do exactly what you are trying to do. RPi has only single serial port so to...
by gregd72002
Mon Jul 18, 2016 10:56 am
Forum: Software development
Topic: Autonomous flight
Replies: 3
Views: 2302

Re: Autonomous flight

one way of finding them is through Protocol.cpp.
There will be a message for RC (MSP_SET_RAW_RC), you can trace it down to the right places.

Normally you would want to use MSP for changing pitch,roll, yaw, throttle...
by gregd72002
Mon Jul 18, 2016 10:11 am
Forum: Ideas
Topic: MAVLink protocol
Replies: 21
Views: 19962

Re: MAVLink protocol

hi trogalko, MultiWii (MW) does not implement MAVLink but something that is called MSP. MSP is different to MAVLink and would require translation. I've worked on such translation program previously (m) but this require an auxiliary SOC like Odroid/Beaglebone/RPi. So your communication would look lik...
by gregd72002
Mon Jul 11, 2016 11:10 pm
Forum: Connecting elements
Topic: 8 Mhz multiWii Serial connection GUI baud rate
Replies: 3
Views: 3360

Re: 8 Mhz multiWii Serial connection GUI baud rate

well, correct me if I'm wrong but I do not think multiwii works on 8mhz 328p. It is simply too slow. I tried it way back and could not get it to work so moved to 16mhz 328p. Same price, same form factor, only 5v for which you can use voltage divider or level shifter if you really have to be complian...
by gregd72002
Mon Jul 11, 2016 11:06 pm
Forum: Buy & Sell
Topic: MultiWii 328P Best offer
Replies: 11
Views: 5473

Re: MultiWii 328P Best offer

are you sure you are on the right forum? your problem is obviously related to arduino and not multiwii software as such. You might be better off trying m While I use 328p and now how to run multiwii on it, it does not mean that I do know the details of bootloaders. Btw, I do not use bootloader as I ...
by gregd72002
Wed Jul 06, 2016 10:00 am
Forum: Buy & Sell
Topic: MultiWii 328P Best offer
Replies: 11
Views: 5473

Re: MultiWii 328P Best offer

That's "Bozo" to you boy! Seriously, though. You would literally have to pay me to take it. why is that? is it because no one here knows how to make it work? Why would you say so? I'm on 328p and dont see any problems with it. I actually love the small factor of it and the ability to sque...
by gregd72002
Fri Jul 01, 2016 11:12 am
Forum: Ideas
Topic: MAVLink protocol
Replies: 21
Views: 19962

Re: MAVLink protocol

LexxSbg, Here is something that might be of interest to you: https://github.com/rpicopter/mw-mavlink
Though it requires an extra SoC to be carried.

It implements mavlink and works with QGroundControl (though no WayPoint navigation yet).
by gregd72002
Fri Jun 24, 2016 1:09 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii Help Please.
Replies: 16
Views: 4825

Re: MultiWii Help Please.

Well, lets not put off less skilled folks than yourself :) Not that you are overskilled but hey, it does not take that much of experience to get into RC.

Keep your good work going!
by gregd72002
Thu Jun 23, 2016 3:25 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii Help Please.
Replies: 16
Views: 4825

Re: MultiWii Help Please.

Yeah, some people are not meant to be understood. We can speak and write to no avail... I feel like there is increasingly big group of newcomers to RC world that are not committed enough. Watching youtube videos is great and motivating but to actually build something yourself is a completely differe...
by gregd72002
Thu Jun 23, 2016 3:09 pm
Forum: Getting Started - MultiWii config and setup
Topic: Gyro Question ?
Replies: 9
Views: 3076

Re: Gyro Question ?

strightclaw, have you re-compiled and flashed the board after you changed the version in multiwii.h?

What error message are you getting now?
by gregd72002
Thu Jun 23, 2016 12:50 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWii Help Please.
Replies: 16
Views: 4825

Re: MultiWii Help Please.

I can sense your patience is going down today, Kbev5709 (btw mine has been low recently so no help from me) ;)

Seven5555, I can only suggest this viewtopic.php?f=8&t=6840. It simplifies a lot but it is not for everyone.

RTF is good alternative though!
by gregd72002
Fri Jun 17, 2016 2:17 pm
Forum: Software development
Topic: Multiwii IOS/Android GCS development
Replies: 9
Views: 8309

Re: Multiwii IOS/Android GCS development

you might also consider reporting number of bytes written. This would be good check to verify what's being sent out
by gregd72002
Thu Jun 16, 2016 12:18 pm
Forum: General discussions
Topic: reading rx signal strength (pwm)
Replies: 2
Views: 2654

Re: reading rx signal strength (pwm)

Thanks Patrik, I shall try this in the next days...
by gregd72002
Thu Jun 16, 2016 12:17 pm
Forum: Software development
Topic: Multiwii IOS/Android GCS development
Replies: 9
Views: 8309

Re: Multiwii IOS/Android GCS development

why are you using writeline and not simply write? Also are you sure you have setup the correct baud rate, etc? what's the output of bitconverter.toString?
by gregd72002
Thu Jun 16, 2016 12:13 pm
Forum: Shields, boards and sensors
Topic: UBLOX 7m - Fix problem with multiwii 2.4
Replies: 10
Views: 4663

Re: UBLOX 7m - Fix problem with multiwii 2.4

At least you keep to board alive :)
by gregd72002
Mon Jun 13, 2016 4:53 pm
Forum: General discussions
Topic: reading rx signal strength (pwm)
Replies: 2
Views: 2654

reading rx signal strength (pwm)

Hi, For my new UAV I'm planning to use ARF (Xbee similar) board for telemetry as well as RX. I've got the prototype working perfectly fine but looking to add signal strength measurement. ARF can report signal strength as PWM output : m The question is how would I read it in MW. I can see MW features...
by gregd72002
Sun Jun 12, 2016 3:47 pm
Forum: Software development
Topic: Sensors data from CRIUS AIOPv2 & manual waypoint navigation
Replies: 7
Views: 3298

Re: Sensors data from CRIUS AIOPv2 & manual waypoint navigat

MSP_RAW_GPS has ID of 106 (0x6A). Also you need to send CRC as part of each message. Not sure why you try to encode to UTF8 (it just asks for troubles). It should be simply ASCII.
by gregd72002
Sat Jun 11, 2016 11:02 pm
Forum: Software development
Topic: MWii development beyond v2.4
Replies: 73
Views: 47563

Re: MWii development beyond v2.4

I'm using 2.4 on 328 with baro and gps but no LED or Alarm. It takes around 93% of the available space. Runs with no problems.
by gregd72002
Sat Jun 11, 2016 11:00 pm
Forum: Software development
Topic: Sensors data from CRIUS AIOPv2 & manual waypoint navigation
Replies: 7
Views: 3298

Re: Sensors data from CRIUS AIOPv2 & manual waypoint navigat

./mw is just the service

to test connection keep the service running and try ./mwtest or ./mwcli
by gregd72002
Fri Jun 10, 2016 2:01 pm
Forum: Software development
Topic: Setting a custom waypoint in CRIUS NAV 06
Replies: 1
Views: 1547

Re: Setting a custom waypoint in CRIUS NAV 06

Hi, have you tried using MSP_SET_WP? As in here: m AFAIK the structure might be slightly different. As far as I remember it is: uint8_t wp_no; uint8_t action; int32_t lat; int32_t lon; uint32_t alt_hold; int16_t param1; int16_t param2; int16_t param3; uint8_t flag; Just remember that wp_no=0 is the ...
by gregd72002
Fri Jun 10, 2016 1:54 pm
Forum: Software development
Topic: Sensors data from CRIUS AIOPv2 & manual waypoint navigation
Replies: 7
Views: 3298

Re: Sensors data from CRIUS AIOPv2 & manual waypoint navigat

Hi, As far as the UART vs I2C is concerned, you want to use UART. MW has a UART protocol (MSP) to communicate with so you can manage all waypoints etc using MSP. Here is a service with API that does exactly this. m I'm currently flying a quadcopter that has MW+RPi and I can control it from command l...
by gregd72002
Wed Jun 08, 2016 9:43 am
Forum: Shields, boards and sensors
Topic: gps neo m8n blown
Replies: 5
Views: 2940

gps neo m8n blown

Hi, I'm trying to resurrect my gps module that has been short-circuited. It was a decent gps (neo m8n) + compass but accidentally I mixed the wires and here I am. I've replaced the voltage regulator so far but it still gives no sign of life. Normally there should be power LED on but it does not work...
by gregd72002
Tue Jun 07, 2016 9:34 am
Forum: Shields, boards and sensors
Topic: i2C GPS NEO-6 WEIRD ERROR Message
Replies: 7
Views: 3665

Re: i2C GPS NEO-6 WEIRD ERROR Message

why would I want to do so?
by gregd72002
Tue Jun 07, 2016 9:33 am
Forum: Software development
Topic: improving altitude hold
Replies: 4
Views: 2854

Re: improving altitude hold

Guess what, it works! I've suppressed RC throttle in BARO mode and it keeps the altitude perfectly fine :)

I might start using ALT_HOLD_THROTTLE_MIDPOINT, it feels an oversight that one cannot set it without re-compilation - the MIDPOINT will be different for different batteries I use...
by gregd72002
Thu Jun 02, 2016 9:49 am
Forum: Software development
Topic: improving altitude hold
Replies: 4
Views: 2854

Re: improving altitude hold

Thanks happul3, looks like you have spent decent amount of time looking into it. What approach did you take to set the alt pids?

Here is an example of alt hold I had before https://youtu.be/lyR4wM2C4sA?t=48 I have never managed to achieve anything similar with MW
by gregd72002
Wed Jun 01, 2016 9:33 am
Forum: Software development
Topic: improving altitude hold
Replies: 4
Views: 2854

improving altitude hold

Hi, I am looking to improve the altitude hold in MW. In the past I implemented my own FC and the alt hold was based on Arducopter code. The alt hold worked brilliantly, I could engage it in any scenario (there was no need for stable fight beforehand), it also worked a treat in all weather conditions...
by gregd72002
Tue May 31, 2016 10:04 am
Forum: ESCs, propellers , servos and radios
Topic: Motors violently jump when going above half throttle
Replies: 2
Views: 2612

Re: Motors violently jump when going above half throttle

Have you tried running them in DYNBALANCE (or with all the yaw/pitch/roll PIDs set to 0)? I've seen something similar happening before to me. running it in DYNBALACE told me that there is nothing wrong with the ESC or motor.
by gregd72002
Mon May 30, 2016 7:33 pm
Forum: Shields, boards and sensors
Topic: i2C GPS NEO-6 WEIRD ERROR Message
Replies: 7
Views: 3665

Re: i2C GPS NEO-6 WEIRD ERROR Message

it's serial gps connected to multiwii using i2c gps nav
by gregd72002
Mon May 30, 2016 11:18 am
Forum: Getting Started - MultiWii config and setup
Topic: ALT Hold from MSP
Replies: 11
Views: 3946

Re: ALT Hold from MSP

It will only work once you are in the air and when alt hold is active.

Use it with care as this has not been tested.
by gregd72002
Sun May 29, 2016 11:57 pm
Forum: Shields, boards and sensors
Topic: i2C GPS NEO-6 WEIRD ERROR Message
Replies: 7
Views: 3665

Re: i2C GPS NEO-6 WEIRD ERROR Message

signal filter at 20Hz?


I've got ublox with i2c gps nav and it works perfectly fine
by gregd72002
Sat May 28, 2016 11:12 pm
Forum: Getting Started - MultiWii config and setup
Topic: ALT Hold from MSP
Replies: 11
Views: 3946

Re: ALT Hold from MSP

baro PIDs are computed in imu.cpp, there is no need for GPS