Asked
— Edited
As I mentioned on another thread, I have been on the hunt for a quadcopter flight controller. I narrowed it down to the MultiWii PRO Ez 3.0. witespyquad.gostorego.com/flight-controllers/multiwii-pro-ez3-0-flight-controller-w-gps-option.html
Here's my problem. It uses i2c. I don't know how to use i2c, and I don't know the different commands for the multiwii.
I found this page with serial protocol, but I don't know if this is what I need or not. www.multiwii.com/wiki/index.php?title=Multiwii_Serial_Protocol
Any help is appreciated. No I do not have the board yet but I am trying to see if this board will work.
All I want to do is get basic commands like forward, backward, left, right, up and down.
Here's my reasoning. Rc receivers output pwm or ppm signals. The multiwii connects to the receivers. This means that the multiwii gets the command from the receiver and converts it to be used it own way. That is why I'm trying the ppm/pwm way.
That seems the simplest method if it can be controlled via PWM and would be pretty straight forward to set up a custom Movement Panel too.
what would 1000-2000us be? 4-5 position like he said?
I would think 1000 -2000us means microseconds...the 4-5 position ..on a scale of 1-10? just guessing though
iRobot, here's a quote from what he said that I'm questioning.
"...4-5 servo pulse (1000-2000us) outputs."
iRobot I think your 1000-2000us idea was right.
Quote from another modules description: "By varying this pulse time in the range of 1000-2000us the position of the servo can be changed"
@Technopro, I'm trying not to spoon feed you for this, not to be mean or anything but so you learn, understand and have a better experience in the future. You've shown that your getting to understand more and more from when you first joined so I'm trying to push that
Do a little bit of reading up on the PWM of the EZ-B, PWM in general and the board you are trying to control by PWM. To be honest I haven't really looked at the board you are trying to use, I looked at the serial commands but that's about it (to be honest I haven't had time to read up on it or even what it does). So I have no idea what varying the PWM would do.
If you understand PWM and you understand the controller you are trying to control via PWM it should all click in to place and you'll get that Eureka moment we all get from time to time.
If you are still struggling with it after reading up on it all I'll have a proper look at the board you are talking about but try to work it out for yourself, you can do it
Rich, here's what I know now: The board connects to 8 digital pins on the ez-b. Each wire runs a channel. Sending pulses of varying times acts as a command or level of the multiwii. The average rc receiver sends commands between 1000-2000us (which I think is actually 1-2ms) in length.