Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Teensy 3.5 Rover with Mavlink and APM Planner 2.0

  1. #1
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,631

    Teensy 3.5 Rover with Mavlink and APM Planner 2.0

    Hi all,
    One of the things that I always wanted to give a try to is using Mavlink messaging to communicate to a base station as opposed to just dumping data to the serial monitor and later processing. I finally finished a demo project using Teensy 3.5 with Mavlink v1 messaging sending data to the APM Planner Ground Station. Took a while to get done but it works.

    Here is a brief description of the setup:

    The basic rover setup is a Axel Scropion RC Rock Crawler, with a Ublox M8N and a Adafruit BNO055 attitude sensor. A Teensy 3.5 is used as the controller to process Mavlink messages to and from APM Planner. A joystick is using to control the steering servo and ESC. Two batteries are used, one for the motor and one for the electronics. A set of 3dr Radios are used for communication between the base station and the rover.

    Click image for larger version. 

Name:	DSC00352.png 
Views:	83 
Size:	453.9 KB 
ID:	14296Click image for larger version. 

Name:	DSC00353.png 
Views:	42 
Size:	238.1 KB 
ID:	14297

    A couple of things to note. The best way to get connected is to first connect APM Planner to the radio attached to the com port and then power up the Rover. You will see the connection established almost immediately. The next thing is to enable the joystick from the APM Planner menu. Then you will need to arm the system for the joystick messages to be sent.

    Source Code: https://github.com/mjs513/Mavlink-Rover-Teensy3.x
    You Tube Demo: https://www.youtube.com/watch?v=9sa0XhpODVo

    Hope this helps someone else interested in using mavlink. There are a couple of good references that I will post here once I get them together.

    Mike

  2. #2
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,631
    @klimbo13. Based on your question it sounds like you have a APM or Pixhawk flight controller in you aircraft? It also sounds like you are using Ardupilot. If this is the case you might be better off posting on the ardupilot forum. You really didn't provide any info on what your hw or sw you are using.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •