Replies

  • Has anyone made this useable for Imperial units yet?  I'm not very good at any of this code stuff yet but would really like to see everything in feet instead of meters plus the 3d sat count and fix is all garbled.  I must say a HUGE THANK YOU to all that have helped with this project.

  • I assume this is the 5v pro mini?

    •  it could be any , s.port is 3.3v but 5v tolerant & the 3.3v promini has a regulator with input of 3-12Vdc so in both case's it should wireup/work the same.

  • RTTL Version Here

    https://github.com/rotcehdnih/Mavlink2Frsky/tree/mavTone

    Will upload a video soon meanwhile here's how to connect it

    ProminiTONE.jpg

    rotcehdnih/Mavlink2Frsky
    Converts Mavlink packets to Frsky S.Port Useing Software serial - rotcehdnih/Mavlink2Frsky
    • Hector, please advise if this will work without telemetry modules, as I do not see a way for it to request mavlink from apm/pixhawk.
      • If you hook up the RX line as well it should request the packets, or you can go to mission planner and somewhere in initial setup tab you can click a "enable telemetry" button that will force the apm to spew packets regardless.

    • Developer

      Great port Hector!

  • And here it is https://github.com/rotcehdnih/Mavlink2Frsky

    Or attached to this post

    Now you can use any old arduino like a promini for example i use a "leostick" 

    Connections.jpg

    I also added the tone library to play RTTL songs on arm & disarm but stripped it for this release but can add it as a branch if anyone asks

    MavLink_SoftFrSkySPort.zip

    rotcehdnih/Mavlink2Frsky
    Converts Mavlink packets to Frsky S.Port Useing Software serial - rotcehdnih/Mavlink2Frsky
    • Hello Hector,

      i want to run your "MavLink_SoftFrSkySPort" on my Arduino Mini Pro, but i get these messages.

      Can you help me because I am a total nerd on programming Arduino.

      Arduino: 1.6.3 (Windows 8.1), Board:"Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"

      MavLink_FrSkySPort.ino: In function 'void setup()':
      MavLink_FrSkySPort.ino:51:29: error: 'Serial1' was not declared in this scope
      MavLink_FrSkySPort.ino:119:3: note: in expansion of macro '_MavLinkSerial'
      MavLink_FrSkySPort.ino: In function 'void loop()':
      MavLink_FrSkySPort.ino:51:29: error: 'Serial1' was not declared in this scope
      MavLink_FrSkySPort.ino:144:7: note: in expansion of macro '_MavLinkSerial'
      MavLink_FrSkySPort.ino: In function 'void _MavLink_receive()':
      MavLink_FrSkySPort.ino:51:29: error: 'Serial1' was not declared in this scope
      MavLink_FrSkySPort.ino:176:9: note: in expansion of macro '_MavLinkSerial'
      MavLink_FrSkySPort.ino: In function 'void play_rtttl(char*)':
      MavLink_FrSkySPort.ino:397:14: error: 'OCTAVE_OFFSET' was not declared in this scope
      MavLink_FrSkySPort.ino:407:7: error: 'tone1' was not declared in this scope
      MavLink_FrSkySPort.ino:407:18: error: 'notes' was not declared in this scope
      Fout bij compileren.

    • Hector - I have been trying to get your sketch to work on my Arduino Pro MIni but Im not having any luck. Im sure it something stupid I am doing wrong - I am a rank newbie as far as programming goes.

      I have a RTFHawk FC board, a Pro Mini and an Arduino Uno to connect to the computer. I have the latest Arduino 1.0.6 downloaded and running on a windoz 8.1 laptop. Im using a FrSky X4R rx and Taranis Plus with the latest 2.0.13 firmware.

      I have tried every version of the sketch I can find, but when I verify and/or compile the sketch I get the following errors:

        This report would have more information with
        "Show verbose output during compilation"
        enabled in File > Preferences.
      Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Pro or Pro Mini (5V, 16 MHz) w/ ATmega328"
      MavLink_FrSkySPort.ino: In function 'void setup()':
      MavLink_FrSkySPort:119: error: 'Serial1' was not declared in this scope
      MavLink_FrSkySPort.ino: In function 'void loop()':
      MavLink_FrSkySPort:144: error: 'Serial1' was not declared in this scope
      MavLink_FrSkySPort.ino: In function 'void _MavLink_receive()':
      MavLink_FrSkySPort:176: error: 'Serial1' was not declared in this scope
      MavLink_FrSkySPort.ino: In function 'void play_rtttl(char*)':
      MavLink_FrSkySPort:397: error: 'OCTAVE_OFFSET' was not declared in this scope
      MavLink_FrSkySPort:407: error: 'tone1' was not declared in this scope
      MavLink_FrSkySPort:407: error: 'notes' was not declared in this scope

      When I change "Serial1" to "Serial" and comment out all the other errors the sketch compiles and loads ok, but I dont get any GPS data showing. In fact about all I get that looks good is Heading and rx voltage.

      Actually, I do get some garbled GPS data but the Lat and Lon that show up are way off. It looks like 00.00.003524 x 00.00.0012345 or something like that when I am actually at 27.????something x -144.????? something.

      Im hoping you can point me in the right direction to get this working.

      Thanks in advance!

This reply was deleted.

Activity

DIY Robocars via Twitter
Jan 28
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
Jan 23
DIY Robocars via Twitter
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3: https://t.co/…
Jan 23
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
Jan 23
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch https://www.meetup.com/DIYRobocars/events/275268196/
Jan 22
DIY Robocars via Twitter
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
Jan 21
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Robocars via Twitter
Jan 18
DIY Robocars via Twitter
Jan 15
DIY Robocars via Twitter
Jan 15
DIY Drones via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Jan 14
DIY Robocars via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Jan 11
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Jan 11
More…