Serial port possibilities
Serial port possibilities
Hi this is my firts post my name is isaac i am developer and i wanna know if is possible control (fly) the multiwii why a serial port.
i have great ideas using this
thanks for looking at this post and a response would be great
regards
i have great ideas using this
thanks for looking at this post and a response would be great
regards
Re: Serial port possibilities
Welcome aboard Isac. You can use #define rcserial option in config.h to enable serial control over MWC.
-
- Posts: 702
- Joined: Sun Aug 28, 2011 8:14 pm
- Contact:
Re: Serial port possibilities
isahunter wrote:Hi this is my firts post my name is isaac i am developer and i wanna know if is possible control (fly) the multiwii why a serial port.
i have great ideas using this
thanks for looking at this post and a response would be great
regards
Yes, like dramida said... and that gave me another idea!
Please see: viewtopic.php?f=8&t=2789
With that idea I may think in bypassing the FRSky... and go to another way to control my drone.
Re: Serial port possibilities
thanks for the reply, i want develop a autonomous drone
Re: Serial port possibilities
Multiwii is an open source project witch reach its maturity. It integrates all sensors you need for autonomous navigation. RIght now MWC is on the verge of Waypoint navigation through telemetry. You can contribute to that.
-
- Posts: 702
- Joined: Sun Aug 28, 2011 8:14 pm
- Contact:
Re: Serial port possibilities
dramida wrote:Multiwii is an open source project witch reach its maturity. It integrates all sensors you need for autonomous navigation. RIght now MWC is on the verge of Waypoint navigation through telemetry. You can contribute to that.
+1
Serial port possibilities
I am currently control my quad with an iPhone though WiFi.
An TPLINK WR703N which is only 36g was connected to the serial port.
The tplink router is flash to openwrt, runs as a hotspot, connect its serial port to Arduino.
Rc command currently sent as 25hz.
An TPLINK WR703N which is only 36g was connected to the serial port.
The tplink router is flash to openwrt, runs as a hotspot, connect its serial port to Arduino.
Rc command currently sent as 25hz.
Re: Serial port possibilities
Eric wrote:I am currently control my quad with an iPhone though WiFi.
An TPLINK WR703N which is only 36g was connected to the serial port.
The tplink router is flash to openwrt, runs as a hotspot, connect its serial port to Arduino.
Rc command currently sent as 25hz.
Really? sounds great especially for the value I think the serial port and the drones have many things to say.
Serial port possibilities
I changed the serial.ino a bit to save serial bandwidth.
Adding a new MSP_SET_RAW_RC_REPEAT. When no channel changes, this MSG will be sent. And no ack will be sent for this MSG.
All MSP_SET_RAW_RC will be ack'ed so we do not miss channel data.
115200 is enough, we can do simple math to calc the bandwidth required.
By the way, to use serial instead of RX, we get six more digital port to connect sonar and optical sensor. (my setup)
The router has a USB port, we can use it to connect gps or webcam.
Mine connects a webcam, and stream 720p video to iPhone.
Sounds good?
Re: Serial port possibilities
I find it awesome :O , but it's different from what i want to develop. but the use of the serial port is correct and gives me some extra ideas: P
Re: Serial port possibilities
Eric wrote:It's ok to send RC in 50hz.
I changed the serial.ino a bit to save serial bandwidth.
Adding a new MSP_SET_RAW_RC_REPEAT. When no channel changes, this MSG will be sent. And no ack will be sent for this MSG.
All MSP_SET_RAW_RC will be ack'ed so we do not miss channel data.
115200 is enough, we can do simple math to calc the bandwidth required.
By the way, to use serial instead of RX, we get six more digital port to connect sonar and optical sensor. (my setup)
The router has a USB port, we can use it to connect gps or webcam.
Mine connects a webcam, and stream 720p video to iPhone.
Sounds good?
Eric - what kind of Software are you using on the iPhone-Side? I have searched all over for an App for Jailbroken Phones which makes use of the serial port in the dock-connector but could not find any. Would be great to try your solution.
Re: Serial port possibilities
Hello, everyone.
I'm also trying to control multiwii via serial. I have an openwrt router and I want to send RC data via USB.
Here is mentioned about RCSERIAL, but I couldn't find any using of it in latests versions (2.2, pre 2.3). Maybe I need some older version?
But I found that serial reading is used under TEENSY20 and SBUS. So I can enable both to read from serial port, but I don't know how to generate correct s-bus message.
I'm also trying to control multiwii via serial. I have an openwrt router and I want to send RC data via USB.
Here is mentioned about RCSERIAL, but I couldn't find any using of it in latests versions (2.2, pre 2.3). Maybe I need some older version?
But I found that serial reading is used under TEENSY20 and SBUS. So I can enable both to read from serial port, but I don't know how to generate correct s-bus message.
-
- Posts: 506
- Joined: Thu May 05, 2011 8:13 am
- Location: Slovenia
Re: Serial port possibilities
RCSERIAL is always on in newer _shared (developer) on all serial ports (1 on ProMini, 2 on Leonardo , 4 on Mega).
So the only thing to do is to send properly formed MSP_SET_RAW_RC commands to it and they will override standard RC system.
Regards
Andrej
So the only thing to do is to send properly formed MSP_SET_RAW_RC commands to it and they will override standard RC system.
Regards
Andrej
Re: Serial port possibilities
Alright - since I never got any answer, neither in this thread nor from "Eric" over direct message, I am assuming, that a control of Multiwii via an iOS-App (As schon in the pictures by Eric on page 1 of this thread) is not possible, has not been done before and therefore seems to be impossible.
Eric, if you are reading this thread and indeed have an app which works - please let me know.
Thank you.
arne
Eric, if you are reading this thread and indeed have an app which works - please let me know.
Thank you.
arne