Group for users of the original ArduPilot, both thermopile and ArduIMU versions

150 Members
Join Us!

You need to be a member of diydrones to add comments!

Join diydrones

Comments are closed.

Comments

  • By using EM406 with the "Google Maps with GPS Tracker" in NMEA mode I have come to the conclusion that there is nothing wrong with the GPS. Using in a car with laptop it properly follows the streets with an error of just 9-11 meter. But using it with the AP, response of the servos to the GPS is very low (or not at all at some turns).

    There could be something wrong with my AP (328) or the code (2.7.1). Probably I have not been able to properly activate the EM406 in the file GPS_NMEA.pde. I am pasting it hereunder what I have done at the very begining of that file (I have also put GPS baud rate 9600 for NMEA GPS in the defines.h file). 

    Please someone let me know if it is correct or I need to modiby it, thanks.

     

    #if GPS_PROTOCOL == 0

    /****************************************************************  

    Parsing stuff for NMEA  

    ****************************************************************/

    #define BUF_LEN 200

    // GPS Pointers

    char *token;

    char *search = ",";

    char *brkb, *pEnd;

    char gps_buffer[BUF_LEN]; //The traditional buffer.

    void init_gps(void)

    {

    /* Serial.begin(9600);  

    delay(1000);  

    Serial.print(LOCOSYS_BAUD_RATE_38400);  

    Serial.begin(NMEA_GPS);  

    delay(500);  

    Serial.print(LOCOSYS_REFRESH_RATE_250);  

    delay(500);  

    Serial.print(NMEA_OUTPUT_4HZ);  

    delay(500);  

    Serial.print(SBAS_OFF);

    //#if REMZIBI == 1

    //  init_remzibi_GPS();  

    //#endif

    /* EM406 example init*/  

    Serial.begin(4800); //Universal Sincronus Asyncronus Receiveing Transmiting

    delay(1000);  

    Serial.print(SIRF_BAUD_RATE_9600);    

     

    Serial.begin(9600);  

    delay(1000);    

    Serial.print(GSV_OFF);  

    Serial.print(GSA_OFF);  

     

     #if USE_WAAS == 1  

    Serial.print(WAAS_ON);  

    #else  

    Serial.print(WAAS_OFF);  

    #endif  

     

    }

  • Moderator
    Dr. Mike, didyou get any work done on the X10? Got any photos?
  • I have found at least one good use of the EM406 GPS. It is the "Google Maps with GPS Tracker", freely available on the net. So having it on the laptop with EM406 via serial input makes an excellent navigator. In addition, the associated window displays the functioning of the NMEA GPS.

    @Mike, thanks for answering my questions. I am waiting for the MTK GPS that a friend has promised to send from US. Those pictures you have shared are  amazing.

  • You do some good work there, Doc.  That latest rendering is very global hawkish in some ways and very different in others.

    As for coupling the Ardupilot with this TrIMUpter, I'm thinking take the PWM that the IMU now outputs and send that to Ardupilot.  This leads to the holdup.  Somewhere I have absorbed the understanding that multicopter navigation is different than airplane with whole different approach.  I'll keep pecking away. 

    I still have a regular old airplane which is waitng for me to wind a new motor and finish the wing mount.  With that done, I'll be ready to learn PID tuning.

     

     

  • Sorry not been around this week (proper work taknig my time :( )

    @ Brian, board on its way now!

    @ Harry, Congrats!! nice one....hmm coupling the AP to the IMU, i think would need a serious re-work as the AP woul dhave to control it, but takle it inputd from teh IMU, im sure doable, but the road is a little longer perhaps!

    none the less! well done!

    Anwar, in the code you need to go to (in defines) and set the output to  Labview GCS from binary to STD.....then you will see the information you are looking for.

    Anwar, you really need a better GPS, i will have a look around at work see if i have any spare ublox's for you! it would simplify this no end for you.

    Also thank you for yoru kind words!

    _________________________________

    Also on the same note.....been desiging a new UAV based on the Sky-Y so its also ready for manufacturing now. Pic posted below.

    On the X-10, fuse now manufactured so work will start on monday on putting it together., will post as i go.

    X-20 Venom-pics...

    3692464567?profile=original3692464442?profile=original3692464551?profile=original3692464666?profile=original3692464624?profile=originalAnwar, i will attempt to answer your previous questions..

    1: if you lose lock in mode switching, then there is a protocol issue there.

    2: refere to needing a better GPS, as the 406 was not developed after about V2.3 fof the code (as far as i know) I dont fully understand why it would change, but...


    3: nudging, have you checked the min max of the servos in defines# ?or have you calibrated the max movements on set up by changing the defines again to 1.

    4: rudder, unless you have done the extra wiring on the back of the AP board, the rudder wont ever do anything, need to check the manual fro the wiring.

    5: no idea....been so many years since i personally have tried..( i did however find mty EM406 the other day, so will hook it to the serial port see what it outputs.

    Kind regards,

    Mike.

  • Hi all, in continuation of my previous post (I am still waiting for the answers), here I am adding some more questions:

    6. The GPS gets quite hot during operation.

    7. The battery consumption is quite high (I am using batteries of the glow engine plane)

    8. I don't get any info about the recorded GPS points (coordinates) on the serial monitor of the arduino with this 2.7.1 code while it is possible with some previous codes.

    @Mike, the pictures are amazing.

    @Harry, hope you will succeed in modifying the code for your need.

  • I can now say that I adapted the IMU V3 to JL's TrIMUpter code.  It would be nice to connect it to Ardupilot and get it to navigate.  For now I'll settle for a stabilized Tricopter, but I need a PPM out Rx.  Anyway, here's the link to the working code.  I got magnetometer Heading lock to work, but the attached code doesnt have that correction.

     

    http://diydrones.com/forum/topics/trying-to-adapt-jean-louis-tricop...

  • Moderator

    Mike,  That's a cool looking Delta.  Size sounds good and I like the fins.  I kind of think that the middle fins could be used as air-breaks instead of doing a flap configuration like others do to complete a final slow-down prior to landing.

    I don't know about specific payloads but I know I'd want to be able to have a real nice SLR and/or video recorder (not small ones like the go pro and like) but something bigger perhaps thermal or IR.

    Another structure that would be good is a super strong battery securing system. Actually same goes for the heavier cameras but I've had batteries shift and through off CG.

    PM sent.

  • I'm having some problems with the JL tricopter code.  It compiled once after I replaced the APM_Compass library file with JL's library.  It's named the same, but something is different.  Now It wont compile and all errors point to APM_Compass.  This library is for the older IMU, so not a big deal if I get it working with the new IMU.  The biggest difference between what he wrote and what I want is the version of the IMU.  That's a big difference though. 

     

    For kicks, I took my tricopter with the HK board out yesterday and that was a scary experience.  I got it to hover about 4 feet off the ground and then I gave it more power and next thing I know it's about 60 feet up and not going where I wanted.  I brought it down, but it was carrying a lot of speed and momentum.  I thought I had it under control about 10 feet up and then bam, it crashed and broke two props and bent the yaw mechanism.  The kids in the neighborhood thought it was cool and couldnt understand why I had to pack it in.  

     

    Crashing is why I want to adapt JL's code.  His videos show it flying completely stable and autonomously. 

  • Hi guys,

    Ok, our wing is ready....

    You're gonna love this...we have dubbed this the Viper X-10..(but please jump in with another name as this is somewhat pretentious! :)  )

    3692460350?profile=original3692460495?profile=original3692460620?profile=original3692460643?profile=original3692460718?profile=original3692460771?profile=original3692460792?profile=original3692460672?profile=originalAlso your thoughts on fin configurations would be good, (I personally like all 4 fins on it..but...what do you think?)

    I will also need what you guys think it should be carrying, and where to make the appropriate recesses and structures (obviously this is the first renderings, so need tweeking a fair amount, and no structures shown for internals yet)

    @ Anwar i will reply fully in the next post, so as not to x-post on subjects.

    Kind regards,

    Mike.

This reply was deleted.

Manual for Ardupilot Mega 1.0/1.4

Hi, I have a couple of the older APM boards.  I stopped flying for a few years and kind of lost touch with them.Trying to get back into the hobby now and I've discovered that all the instructions for the old boards are no longer available!  The boards do seem to be working and can be connected to Mission Planner. Could someone please assist by directing me to where the relevant legacy manual can be viewed/downloaded?Thanks so much...

Read more…
0 Replies

Ardupilot (Legacy) code?

Hi all,I found an original AurduPilot hardware I bought some years ago and never used and I would like to use it for a boat.Unfortunately all links to the manual and code are taken down :-((Could someone point me to a source or supply the original files for download?Would be shame just to trow away such a historocal piece of hardware!Thank in advance, Kai

Read more…
4 Replies

ArduPilot w/ ATMega328 boards & ArduIMU+ V3 kit

Hi there I bought a couple ArduPilot w/ ATMega328 boards a few years back, but didn't get to use them .... work got in the way! I'm still keen to do something with them -- using an IMU set-up - but now that ArduIMU+ V2 (Flat) is no longer available/produced (understandably as much as changed since I bought my boards) it seems that 3D Robotics Inc's ArduIMU+ V3 kit (or the board from SparkFun) is the only IMU available. However, I have read that it isn't compatible with the ArduPilot legacy…

Read more…
3 Replies

Arming Problem with Ardupilot Mega1.4

I am new to this group. I was using Ardupilot Mega 1.4 for my Quad and it was working reasonably well. I made some frame modification and programmed the board with APM Planner 1.2.67. Then the accelerometer caliberation, radio caliberation completed successfully. But when I tried to arm the quad it was not getting armed. I tried almost every thing I know but could not get it armed, some thing is going wrong.Can anybody help me? 

Read more…
1 Reply