control via Serial Protocol

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
Settler
Posts: 1
Joined: Mon Apr 28, 2014 10:20 pm

control via Serial Protocol

Post by Settler »

Hello.
Cann't tell. I need to make control via Serial Protocol

Conect to my coper at 115200 via uart.
When send
24 4d 3c 00 69 69
Get result
24 4d 3e 10 69 dc 05 dc 05 dc 05 dc 05 dc 05 dc 05 dc 05 dc 05 79

On the other team also answers come.

BAT
It is impossible to start the engines.
Trying to run the command
24 4d 3c 10 c8 dc 05 dc 05 ce 07 17 04 dc 05 dc 05 dc 05 dc 05 02

To what my error?

Wipo
Posts: 22
Joined: Mon Jan 20, 2014 9:33 am

Re: control via Serial Protocol

Post by Wipo »

if you want to fly (control) with joystick/gamepad on a windows pc/laptop then you can use this tool http://www.multiwii.be/multiwiijoystick

if you want to fly (control) with an android smartphone then check this app https://play.google.com/store/apps/deta ... iwii&hl=nl

User avatar
treym
Posts: 258
Joined: Sat Jul 21, 2012 12:28 am

Re: control via Serial Protocol

Post by treym »

https://github.com/treymarc/multiwii-ma ... a_joystick

Code: Select all

payload->length = 0;
MWIserialbuffer_Payloadwrite16(payload, mavlinkState->rcdata.y);
MWIserialbuffer_Payloadwrite16(payload, mavlinkState->rcdata.x);
MWIserialbuffer_Payloadwrite16(payload, mavlinkState->rcdata.r);
MWIserialbuffer_Payloadwrite16(payload, mavlinkState->rcdata.z);
MWIserialbuffer_Payloadwrite16(payload, 1500);
MWIserialbuffer_Payloadwrite16(payload, 1500);
MWIserialbuffer_Payloadwrite16(payload, 1500);
MWIserialbuffer_Payloadwrite16(payload, 1500);

MWIserialbuffer_askForFrame(serialLink, MSP_SET_RAW_RC, payload);

Post Reply