HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jul 11, 2014, 09:27 AM
Registered User
France, PCh, Poitiers
Joined Oct 2011
82 Posts
Quote:
Originally Posted by miru View Post
GSWO is just the name of the output, the current implementation can map the GEAR switch status to it. The new revision has another choice what can be mapped to it (thanks to dante1). The 'find me' alarm is triggered in LAND when you move the throttle stick in the up left corner. It will make the output, if so configured, pulse 5 times. It is not a true 'find me' alarm, because that would be triggered by a loss of communication between TX/RX, it is more like an audible 'where are you?' reponse if you connect a suitable buzzer to the output.
Quote:
Originally Posted by miru View Post
Don't worry, this feature is just another choice what you can do with this output. The GEAR channel mapping has not been taken out.
Thanks for these infos.
Good job.
Fioulmaster is offline Find More Posts by Fioulmaster
Reply With Quote
Sign up now
to remove ads between posts
Old Jul 11, 2014, 09:46 AM
Registered User
France, PCh, Poitiers
Joined Oct 2011
82 Posts
RTH triggered by VLBA?

Miru, several members of our French forum asked if it was possible VLBA triggers a RTH?

That would be possible?

Thanks.
Fioulmaster is offline Find More Posts by Fioulmaster
Reply With Quote
Old Jul 11, 2014, 10:58 AM
Registered User
Vista, CA
Joined Feb 2008
1,213 Posts
Quote:
Originally Posted by Fioulmaster View Post
Miru, several members of our French forum asked if it was possible VLBA triggers a RTH?

That would be possible?

Thanks.
Anything is possible, but I think it would be fairly difficult to implement properly and I am on the fence about doing that. Right now the VLBA has a fixed threshold, this threshold would have to be modified dynamically based on distance to launchpoint, up-/down-wind location of launchpoint (very difficult to get an estimate on that) and knowledge about the battery characteristics. In addition to that the GPS units we are using can have quite some difficulties obtaining a good and consistent estimate of the current position. The altitude estimate is way off out here and the drone's barometer/ultrasound data estimation does not always work either.
miru is offline Find More Posts by miru
Reply With Quote
Old Jul 13, 2014, 01:57 PM
Registered User
Vista, CA
Joined Feb 2008
1,213 Posts
Buzzer

Here are pictures for a modified discovery buzzer that can be driven by the Arduino. I took out the brains (chip) and connected the GSWO output to the transistor or fet that turns it on. I tried others (RadioShack), but this one from Hobbyking was the loudest and comes with the power switch. This might come in handy for the next revision where the GSWO output can be used to activate a buzzer.
miru is offline Find More Posts by miru
Reply With Quote
Old Jul 13, 2014, 02:05 PM
Registered User
France, PCh, Poitiers
Joined Oct 2011
82 Posts
Quote:
Originally Posted by miru View Post
Anything is possible, but I think it would be fairly difficult to implement properly and I am on the fence about doing that. Right now the VLBA has a fixed threshold, this threshold would have to be modified dynamically based on distance to launchpoint, up-/down-wind location of launchpoint (very difficult to get an estimate on that) and knowledge about the battery characteristics. In addition to that the GPS units we are using can have quite some difficulties obtaining a good and consistent estimate of the current position. The altitude estimate is way off out here and the drone's barometer/ultrasound data estimation does not always work either.
Ok, thanks for infos.
Fioulmaster is offline Find More Posts by Fioulmaster
Reply With Quote
Old Jul 13, 2014, 02:15 PM
Registered User
pawelsky's Avatar
Polska
Joined Jan 2012
1,438 Posts
Quote:
Originally Posted by miru View Post
Here are pictures for a modified discovery buzzer that can be driven by the Arduino. I took out the brains (chip) and connected the GSWO output to the transistor or fet that turns it on. I tried others (RadioShack), but this one from Hobbyking was the loudest and comes with the power switch. This might come in handy for the next revision where the GSWO output can be used to activate a buzzer.
How much does it draw that one actually needs a FET/transistor? I got a couple of these the other day and they draw only 20mA.
pawelsky is online now Find More Posts by pawelsky
Reply With Quote
Old Jul 13, 2014, 02:42 PM
Registered User
Vista, CA
Joined Feb 2008
1,213 Posts
Quote:
Originally Posted by pawelsky View Post
How much does it draw that one actually needs a FET/transistor? I got a couple of these the other day and they draw only 20mA.
This one draws 93mA, I can hear it even if the drone is 20 Meters up in the air.
miru is offline Find More Posts by miru
Reply With Quote
Old Jul 13, 2014, 03:21 PM
Registered User
pawelsky's Avatar
Polska
Joined Jan 2012
1,438 Posts
Quote:
Originally Posted by miru View Post
This one draws 93mA, I can hear it even if the drone is 20 Meters up in the air.
Good to know, thanks!
pawelsky is online now Find More Posts by pawelsky
Reply With Quote
Old Jul 20, 2014, 10:15 PM
Registered User
Vista, CA
Joined Feb 2008
1,213 Posts
mirumod rev 0.22

It has been almost a year for this project to evolve into beeing worthy another release. I did a lot of work on the communication to an iDev, it works without any problems here now. I tried to integrate Parrots GPS capabilities, but had no success understanding what they are doing. This led to integrating the FlightRecorder as a possible source for GPS data, but doing the handling of the data in the pilot companion program.
  • SETUP mode shows switch- and mode-selection in sketch. Example: 1sM2 means one switch Mode 2.
  • Dropped MERX Macro, mechanism uses fixed 0.5 second timeout. The trigger of the mechanism will not initiate an auto land directly; it rather signals the companion program that RX/TX got disconnected. Added disconnect action deferral time to configuration parameters. The disconnect action is done by the companion program now, this way the auto land can be done even if the Arduino/MiruPCB gets physically disconnected from the drone.
    The default disconnect action is to land the drone after the timeout set in the configuration parameters. The disconnect timeout is cancelled should a reconnection occur within the timeout period.
  • Improved Arduino link failure check, this would NOT have been an issue if the mod would always be properly secured. The new 6 position connector with 5 pins making the connection is definitely not enough to hold the whole assembly from a mechanical standpoint!
    An Arduino/MiruPCB link failure is considered catastrophic and the drone is instructed to land immediately, there is no recovery from that!
  • Changed default climb speed in Standard configuration from 1500 -> 2000 mm/s.
  • Dropped supports for drone firmware 1.7.4 and below, those are the pre session concept versions.
  • Reworked my work around Parrots session concept. The connection to an iDev is much better now. Extended iDev communication failure timeout to 30 seconds, sometimes FreeFlight just goes to lunch when it starts up.
  • If you use the GSWO output (GSWO_ENA >= 0), there is a new macro GSWO_SRC which allows to choose between the GEAR channel status and BEEP. BEEP is a new signal intended to drive a buzzer on the GSWO output. Keep in mind, this output comes directly out of the processor, it uses 5V signaling and can source/sink 20mA without major problems. Don’t kill the output, when in doubt use a transistor/FET to switch the load.
  • The new BEEP signal is designed to give audible feedback to the user. If the pilot is used as companion program it will beep once when it receives GPS data for the first time, 2 or 3 beeps when the GPS changes fix status. The pilot will also beep 3 times when it thinks it arrived at the target position.
  • Stick-o-magic of throttle stick has been extended. Stick right still sets/resets an EMERGENCY, but stick left action depends on throttle position:
    left-up causes 5 BEEPs, if you connect a buzzer you have a ‘find me’ alarm
    left-mid issues a flat trim to the drone (like before, except it will not set home)
    left-down: tells the pilot, if running, to set the home position if the GPS is ok

    Pilot companion program changes:
  • Added LAUNCH point, it is set on launch if the GPS is working. The “Return to Home” function (RTH) is called “Return to Launch” (RTL) now. The HOME point is set by the user (throttle stick down-left) and provides a fallback position in case the launch point can’t be set at launch. FYI: The HOME point is not committed to permanent storage and does not survive a reboot of the system!
  • Pilot is monitoring iDev more closely; a start/land from FreeFlight is recognized by the pilot program and simulated in the NavData forwarded to FreeFlight. You should tell FreeFlight to take-off, which the drone will not do but FreeFlight will think it did. This way FreeFlight will communicate waypoints you set. If you have an onboard GPS you can switch to the Navigation screen in FreeFlight and set a waypoint by touching the map and pressing ‘GO’. Opposed to the way FreeFlight behaves, this will only set the waypoint! You have to switch to FM3 for the pilot to engage and take the drone there. The pilot will consume the waypoint once instructed to use it; the next switch to FM3 will be a RTL unless you manage to set another waypoint.
    This feature is limited by the reach of Wi-Fi since the iDev needs to be able to communicate with the drone to set the waypoint. A waypoint can be set outside of Wi-Fi range; it has to be at least 10 Meters away from the current position, but must be within an 1100 Meter radius of the launch/home point. If the current position or launch/home point is unknown (bad GPS data) the waypoint cannot be set.
  • The pilot programs disconnect action might be different from the default auto land. If the GPS is working, the launch/home point is set and the drone is further away than 10 Meters from it, the pilot will take the drone up for 3 seconds at half power and then attempt a RTL. On a reconnect the pilot is aborted and the mod goes back to following the instructions from the TX. Don’t put your TX on LAND if you see it happening, if RX/TX reconnect and the flight mode is LAND the drone will land, no matter what you do. If the pilot succeeds in reaching the launch/home point before a reconnect occurs, it will lower the altitude gently until an altitude of 2,5 Meters is reached and then lands the drone.
  • When the pilot is in command of the drone the ‘running lights’ blink with a one second period.
  • Added pickup of FlightRecorder GPS data from NavData TAG 27.
  • Pilot program fills TAG 27 if there is no FlightRecorder present and the Arduino/MiruPCB sends GPS data. This way the iDev navigational maps will work for you.

Have fun and let me know of any problems!
miru is offline Find More Posts by miru
Reply With Quote
Old Jul 21, 2014, 06:06 AM
XR-4Drone.com
Joined May 2011
325 Posts
Thanks again for your great work.
dante1 is offline Find More Posts by dante1
Reply With Quote
Old Jul 21, 2014, 06:58 AM
Registered User
France, PCh, Poitiers
Joined Oct 2011
82 Posts
Good Job, Miru.
Just a question for GSWO. We can't use it for reflect GEAR switch status AND BIP in same time?
Fioulmaster is offline Find More Posts by Fioulmaster
Reply With Quote
Old Jul 21, 2014, 09:05 AM
Registered User
Vista, CA
Joined Feb 2008
1,213 Posts
Quote:
Originally Posted by Fioulmaster View Post
Good Job, Miru.
Just a question for GSWO. We can't use it for reflect GEAR switch status AND BIP in same time?
The original design of the extension had that, but then it had to go due to lack of code space.
miru is offline Find More Posts by miru
Reply With Quote
Old Yesterday, 12:18 PM
Registered User
Joined Jul 2014
5 Posts
Do I need a separate Spektrum receiver or does the Mirumod come with everything you need?
dazzystar is offline Find More Posts by dazzystar
Reply With Quote
Old Yesterday, 12:50 PM
Registered User
Vista, CA
Joined Feb 2008
1,213 Posts
Quote:
Originally Posted by dazzystar View Post
Do I need a separate Spektrum receiver or does the Mirumod come with everything you need?
That depends on what hardware you buy to do the mod.
miru is offline Find More Posts by miru
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Mini-HowTo RC Controlled AR.Drone w/o WiFi! nosaari Multirotor Talk 116 Mar 14, 2014 02:23 PM
For Sale Parrot AR Drone w/TX/RX mod *Flies Nice* Z06 Tony Aircraft - Electric - Helis (FS/W) 4 Apr 16, 2011 09:42 PM
Discussion Wifi Boosted AR.Drone Fallengod Multirotor Talk 7 Feb 12, 2011 10:52 AM
Discussion And yet another AR drone Arial Video project taudronis Multirotor Talk 17 Dec 07, 2010 11:04 AM
Sold Parrot AR.Drone Four rotor platform control with your iPodTouch/iPhone/iPad Hoverup Aircraft - Electric - Helis (FS/W) 0 Oct 12, 2010 03:54 PM