Search found 53 matches

by jaysonragasa
Tue Jun 30, 2015 10:54 am
Forum: Getting Started - MultiWii config and setup
Topic: Flight Controller Orientation
Replies: 0
Views: 856

Flight Controller Orientation

Hello all. A quick question with FC orientation setup. I have a Tarot 250 frame and I am using CRIUS v2. Now after some time making my wiring clean and tidy, when I finally going to mount the FC, the wire length from PCB to ESC connections were 1 inch short. my only option is to mount the FC at the ...
by jaysonragasa
Sun Jun 07, 2015 4:13 am
Forum: Software development
Topic: New Multiwii Serial Protocol
Replies: 409
Views: 219767

Re: New Multiwii Serial Protocol

This is exactly what is expected. MSP_SET_RAW_RC should be sent nearly the same way as a normal TX flow (20ms), in fact at a pace which is compatible with a full remote control. 1s is clearly not enough. If I do not suppress the signal coming in from Rx, what will happen is whenever I send a values...
by jaysonragasa
Mon May 18, 2015 12:22 am
Forum: Software development
Topic: New Multiwii Serial Protocol
Replies: 409
Views: 219767

Re: New Multiwii Serial Protocol

Hi, I about this MSP_SET_RAW_RC. I am also using this with my Windows Phone application to control the multiwii flight with its virtual joystick. watch here tptUuW6d01U I am using MultiWii 2.4 by the way. I made this possible by suppressing all the values coming in from the Rx Check my code here m s...
by jaysonragasa
Sun May 17, 2015 2:33 pm
Forum: Software development
Topic: MultiWii 2.4 connected on Cleanflight and Baseflight
Replies: 18
Views: 11779

Re: MultiWii 2.4 connected on Cleanflight and Baseflight

new update
- corrected the folder and .ino filename
- fixed some conditions for definitions
- fixed GPS_angle issue in PIDControllers.cpp when GPS_Serial is not
defined

download now.
https://github.com/Nullstr1ng/MultiWii/ ... 0/HarotWii
by jaysonragasa
Wed May 13, 2015 7:12 pm
Forum: Software development
Topic: MultiWii 2.4 connected on Cleanflight and Baseflight
Replies: 18
Views: 11779

Re: MultiWii 2.4 connected on Cleanflight and Baseflight

Finally decided to put everything in GitHub.

Here's my version of MultiWii
https://github.com/Nullstr1ng/MultiWii/ ... ii/0.1.0.0
by jaysonragasa
Sat May 09, 2015 3:37 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

I uploaded the whole source code on my very first post. Check that out.
by jaysonragasa
Sat May 02, 2015 1:26 am
Forum: Software development
Topic: MultiWii 2.4 connected on Cleanflight and Baseflight
Replies: 18
Views: 11779

Re: MultiWii 2.4 connected on Cleanflight and Baseflight

is there a guide on how to do this? Well it took me some time to properly implement the necessary protocols to be able to connect to baseflight and cleanflight. What I can do is just to release a modified MultiWii 2.4 firmware with these new protocols so you can use it in baseflight. For the cleanf...
by jaysonragasa
Mon Apr 27, 2015 2:26 pm
Forum: Software development
Topic: MultiWii 2.4 connected on Cleanflight and Baseflight
Replies: 18
Views: 11779

Re: MultiWii 2.4 connected on Cleanflight and Baseflight

mehmetyld87 wrote:How did you achieved that?


lot's of additional MSP lines :D
by jaysonragasa
Mon Apr 20, 2015 1:11 am
Forum: Software development
Topic: MultiWii 2.4 connected on Cleanflight and Baseflight
Replies: 18
Views: 11779

MultiWii 2.4 connected on Cleanflight and Baseflight



Works great in Baseflight and 90% in Cleanflight. That's because cleanflight does not use boxnames.
by jaysonragasa
Sun Apr 19, 2015 6:03 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

ItsOnlyMe wrote:Hi Guys,
I finally got the Sonar working on my MultiWii Pro / MTK GPS Controller on PIN 9 and 10. (Pin 11/12 is not available on this board)


What board did you define on config.h?
Does your board has BARO?
by jaysonragasa
Sun Apr 19, 2015 3:04 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

Thanks for sharing @ItsOnlyMe! Glad @FengShuiDrone got it working as well!
by jaysonragasa
Wed Apr 15, 2015 12:16 am
Forum: Software development
Topic: MultiWii Mobile Control for Windows Phone
Replies: 1
Views: 1967

Re: MultiWii Mobile Control for Windows Phone

so what's new .. 1. PID Tuning 1.1 Supports tuning the PID while in-flight as well. 2. Expo Tuning 2.1 Supports tuning the EXPO while in-flight as well. 3. BT Remote Control - You can use your phone to control the quad using bluetooth module. All 8 channels are working too!! Requires a modified Mult...
by jaysonragasa
Sun Apr 12, 2015 7:48 am
Forum: Software development
Topic: MultiWii Mobile Control for Windows Phone
Replies: 1
Views: 1967

MultiWii Mobile Control for Windows Phone

I love MultiWii! honestly I do, I never really got into C++ and Arduino before, though I am a .NET Developer all the way and finally got my interest in Arduino and C. I think I have done a lot in my MultiWii code already, like this Inflight PID tuning , Generic Sonar Implementation , using basefligh...
by jaysonragasa
Wed Apr 08, 2015 5:38 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

The only code I changed was in the config.h file, changing motor pins 11 and 12 to 9 and 10. Do I need to make more changes to other parts of the sketch to go along with the re assigned motor pins? actually no, just change SONAR_GENERIC_TRIGGER_PIN and SONAR_GENERIC_ECHO_PIN I saw this, and I think...
by jaysonragasa
Wed Apr 08, 2015 2:40 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

Tried changing pins 11 and 12 to 9 and 10. Not working. There seems to be no trigger or echo happening. The sonar shows up on my GUI as active and I can switch it on and off but only in RC Control. The sonar shows active in the RC Control box but when it says it's on there, it is not lit up in the ...
by jaysonragasa
Wed Apr 08, 2015 1:37 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

When I pitch or roll the quadcopter drops altitude. I assume this is because the sonar is angled away from the ground and it thinks that it needs to reduce height. It does restore correct altitude when I level out but do you have any idea how this can be overcome? There is some code in the MultiWii...
by jaysonragasa
Sun Apr 05, 2015 11:27 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

thanks Dryflyer,

I got confused with my multiple MultiWii.cpp tabs in my IDE.

here's a new download link. I have already tested that and corrected the taskOrder as well. Hopefully you got it working
MultiWii_Generic_Sonar.zip
by jaysonragasa
Sun Apr 05, 2015 6:15 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

I have not had opportunity to play with the code further yet. On my board, a leonardo - pins 11 and 12 correspond (I think) to Pin 11 = MISO - (echo) Pin 12 = D11 - (trigger) I've been afraid to plug the SONAR in - in fear of letting the 'magic smoke' out. So, just because the program calls 'em 11 ...
by jaysonragasa
Sun Apr 05, 2015 12:18 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

FengShuiDrone wrote:Would I just change the pins to 9 and 10 for my Multiwii pro2 from RTFQ? It doesn't have 11 and 12...... :?


you could try :D
by jaysonragasa
Sat Apr 04, 2015 11:59 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

Thank you so much for the code. I cannot enable the SONAR in the gui. The box is there and I can select it but it doesn't activate green. There is no value showing in the ALT box. Only the second debug field is working. The first debug is stuck with a 1. The third and fourth fields have 0. make sur...
by jaysonragasa
Sat Apr 04, 2015 3:18 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

to save you guys from trouble implementing the codes. I uploaded the the entire source code here MultiWii_Generic_Sonar.zip open MultiWii_Generic_Sonar.ino in Arduino IDE dont worry about the other files included in there. I write my codes in Visual Studio 2013 with Visual Micro to support Arduino. ...
by jaysonragasa
Sat Apr 04, 2015 2:17 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

So I have been able to compile the code successfully. Not getting any response from the Baro or Sonar within the MultiWiiGui. Using a HRSC-04 and Multiwii and Megapirate AIO Flight Controller w/FTDI (ATmega 2560) V2.0 from HobbyKing. Has anyone got any advice for me? Also, how do I get the debug va...
by jaysonragasa
Sat Apr 04, 2015 3:53 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

do you have the Sensors.h included? #include "Sensors.h" and please make sure there are no uncommented default sonar identifiers. This should be uncommented in config.h //#define SRF02 // use the Devantech SRF i2c sensors //#define SRF08 //#define SRF10 //#define SRF23 just the SONAR_GENER...
by jaysonragasa
Sat Apr 04, 2015 12:43 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

@dryflyer - check update two now in my first post.
by jaysonragasa
Fri Apr 03, 2015 8:53 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

I made an update on the codes. please check the first post

look for CODE UDPATE line
by jaysonragasa
Fri Apr 03, 2015 4:07 pm
Forum: Software development
Topic: MultiwiiConf 2.4 Graphical Enhancements
Replies: 19
Views: 9353

Re: MultiwiiConf 2.4 Graphical Enhancements

I agree with the boxes! sometimes, it will take me 3 times to click it.
by jaysonragasa
Fri Apr 03, 2015 1:04 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

hi dryflyer, unfortunately, I can't share my entire MW2.4 code because there are a lot of experimental work going on in it and I am using different IDE and there are other files that was incorporated in it. What you can do is to try to "verify" the code and below the Arduino IDE, copy the ...
by jaysonragasa
Fri Apr 03, 2015 12:32 am
Forum: Ideas
Topic: Attemp to integrate sonar (ultrasonic sensor)
Replies: 265
Views: 223937

Re: Attemp to integrate sonar (ultrasonic sensor)

Sonar HC-SR04 Support now implemented in MW2.4
viewtopic.php?f=8&t=6282&p=62603#p62603
by jaysonragasa
Thu Apr 02, 2015 2:33 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

I am not using stock codes for Sonar
by jaysonragasa
Thu Apr 02, 2015 1:27 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

yes, connecting that to I2C wont work. Here's why m y-G-SlUuDho I connected that via I2C bus and look what happen when I start to lift off the quad by hand. I'll post an update, video, and code as soon as I get back from travel. I'll get back tonight anyway so stay tune. I'll make a video first thou...
by jaysonragasa
Tue Mar 31, 2015 1:44 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Re: Sonar HC-SR04 Support now implemented in MW2.4

currently using CRIUS v2 AIOP. I'll post a video soon and the code ASAP.
by jaysonragasa
Mon Mar 30, 2015 6:41 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 102
Views: 72611

Sonar HC-SR04 Support now implemented in MW2.4

http://www.multiwii.com/forum/download/file.php?mode=view&id=3494&sid=bc6a698567f5634d50d0b47fdb163e78 just got my HC-SR04 sonar module supported and implemented in MW2.4 first of all, I'd like to give credit to: kataventos for his codes and I just ported it to MultiWii 2.4. There are some ...
by jaysonragasa
Mon Mar 30, 2015 3:22 pm
Forum: Software development
Topic: inflight ROLL + PITCH PID tuning.
Replies: 7
Views: 4595

Re: inflight ROLL + PITCH PID tuning.

just an update. just in case you want to tune your ALT as well in config.h file, just below #define INFLIGHT_PID_TUNING , add this #define INFLIGHT_PID_TUNING_TYPE 0 // 0 for PITCH and ROLL // 1 for PITCH // 2 for ROLL // 3 for PIDALT (Altitude) then in method go_inflight_pid_tuning() in MultiWii.cp...
by jaysonragasa
Fri Mar 27, 2015 2:43 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 101654

Re: 2.4 is finally here :)

I made a small changes in AlexK PID_CONTRORLLER based on cleanflight's "ReWrite" #define GYRO_I_MAX 256 #define ACC_I_MAX 256 prop = min(max(abs(rcCommand[PITCH]), abs(rcCommand[ROLL])), 500); // range [0;500] //----------PID controller---------- for (axis = 0; axis < 3; axis++) { //-----G...
by jaysonragasa
Fri Mar 27, 2015 2:38 pm
Forum: Software development
Topic: 2.4 Compile error
Replies: 6
Views: 2844

Re: 2.4 Compile error

I tried your config.h on an untouched MW2.4 and it compiled without a problem.
I used Arduino 1.6.1
Image
by jaysonragasa
Fri Mar 27, 2015 2:35 pm
Forum: Software development
Topic: 2.4 Compile error
Replies: 6
Views: 2844

Re: 2.4 Compile error

I am building my MultiWii version 2.3 and 2.4 in Arduino 1.01, works fine.
I moved to the latest version 1.6.1 and it worked as well.
I am now doing everything in Visual Studio 2013 which works pretty great.

Let me check your config.h and see how I can help
by jaysonragasa
Wed Mar 25, 2015 12:22 pm
Forum: Software development
Topic: baseflight configurator (win/linux/mac)
Replies: 110
Views: 67683

Re: baseflight configurator (win/linux/mac)

awesome! I use baseflight for Naze32.

I wonder if this works with other version of MultiWii like the latest version right now, version 2.4? I hope, it supports CRIUS v2 AIOP board as well?

thanks!
by jaysonragasa
Wed Mar 25, 2015 2:52 am
Forum: Software development
Topic: inflight ROLL + PITCH PID tuning.
Replies: 7
Views: 4595

Re: inflight ROLL + PITCH PID tuning.

latest update: March 25, 2015 -- updated code -- added new box option called "PID TUNE" so you can enable/disable the tuning with your AUX channel. let's start with headers first config.h - add a new config definition /************************* INFLIGHT ROLL & PITCH PID Calibration ***...
by jaysonragasa
Tue Mar 24, 2015 3:30 am
Forum: Software development
Topic: inflight ROLL + PITCH PID tuning.
Replies: 7
Views: 4595

Re: inflight ROLL + PITCH PID tuning.

now I can enable/disable PID tuning using box(aux)

should be "PID TUNE"
2015-03-24_1015.png
by jaysonragasa
Tue Mar 24, 2015 1:11 am
Forum: Software development
Topic: inflight ROLL + PITCH PID tuning.
Replies: 7
Views: 4595

Re: inflight ROLL + PITCH PID tuning.

just a quick update to the code.

I commented out this line!!

Code: Select all

//if (conf.activate[BOXMAG])
by jaysonragasa
Mon Mar 23, 2015 11:24 pm
Forum: Software development
Topic: inflight ROLL + PITCH PID tuning.
Replies: 7
Views: 4595

Re: inflight ROLL + PITCH PID tuning.

I'm am updating the code to have a way to enable/disable the inflight tuning without having to reflash the firmware.. I'll post the code soon. for the mean time, you can test the code here
by jaysonragasa
Mon Mar 23, 2015 11:10 am
Forum: Software development
Topic: inflight ROLL + PITCH PID tuning.
Replies: 7
Views: 4595

Re: inflight ROLL + PITCH PID tuning.

MultiWii.cpp add this line uint8_t isin_inflight_calib = 0; uint16_t old_AUX1_val = 0; before // ************** // gyro+acc IMU // ************** add this line #define AUX2_LO (1<<(AUX2)) #define AUX2_CE (3<<(AUX2)) #define AUX2_HI (2<<(AUX2)) in // ****************** // rc functions // ************...
by jaysonragasa
Mon Mar 23, 2015 11:09 am
Forum: Software development
Topic: inflight ROLL + PITCH PID tuning.
Replies: 7
Views: 4595

inflight ROLL + PITCH PID tuning.

Some MultiWii coding weekend.. Here's my experimental inflight ROLL + PITCH PID tuning I wrote last weekend. I scrapped my last experimental PID tuning code which you can tune your PID while disarmed. So this weekend, I had an idea how to tune the PIDs while inflight. I am using CRIUS v2 AIOP and Mu...
by jaysonragasa
Sun Mar 22, 2015 8:36 am
Forum: Software development
Topic: ROLL & PITCH - PID Tuning
Replies: 2
Views: 1526

Re: ROLL & PITCH - PID Tuning

so I made an update.

I can now tune my ROLL & PITCH PIDs usng my AUX channel inflight!
by jaysonragasa
Sun Mar 22, 2015 2:35 am
Forum: Software development
Topic: ROLL & PITCH - PID Tuning
Replies: 2
Views: 1526

Re: ROLL & PITCH - PID Tuning

ok I think I found the problem.. It's my Tx subtrims. I'll make a video after I perfected it.
by jaysonragasa
Sun Mar 22, 2015 2:23 am
Forum: Software development
Topic: ROLL & PITCH - PID Tuning
Replies: 2
Views: 1526

ROLL & PITCH - PID Tuning

Hi, I was implementing this ROLL & PITCH - PID Tuning in MW2.4 code but I have to say, my implementation may be lame for most of you but I need some help. ROLL & PITCH - PID Tuning are done using sticks and when disarmed.. sorry but that's all I can do right now. I'm not a C++ guru but I kno...
by jaysonragasa
Sat Mar 21, 2015 4:28 am
Forum: Getting Started - MultiWii config and setup
Topic: Calibration at startup
Replies: 3
Views: 1564

Re: Calibration at startup

Please also note that my quad does not have any drift issues when perfectly ACC calibrated on GUI and using the bubble level application just to make sure it is perfectly flat.

oh and I'm using miniquad by the way.
by jaysonragasa
Sat Mar 21, 2015 3:48 am
Forum: Getting Started - MultiWii config and setup
Topic: Calibration at startup
Replies: 3
Views: 1564

Calibration at startup

Hi, I'm a MultiWii user from version 2.3 to current - 2.4. I am using RCTimer CRIUS v2 AIOP board. My question is, how do yo disable calibration at startup? I am not sure if the ACC or GYRO is being calibrated but I am pretty sure, must be one of these sensors are being calibrated at startup. I've ...