Replies

  • Definatelly opened my eyes on teensy. I think it is more powerfull than apm itself :) anyone willing to come up with a sensor shield for it?
  • Great program - it worked first try. Thank you. 

    Also taught me about the Teensy 3.1 - what a great little board. 

    I wanted to see if could combine the mavlink data with SPORT sensor data so that I could use the FLVSS LiPo sensor also. By commenting out the lines that sent the cell data and total voltage,  and removing the check for sensor ID 2 ( 0x1A) it worked fine. Now I will try to see if I can auto detect the FLVSS so that it will switch between that and internally calculated battery data. 

    Andrew

    • TEENSY MAVLINK FRSKY SPORT FAILING FLVSS WHILE LOOPING ABSENT POWERMODULE: 

      FOUND THIS FORUM ENTRY ABOVE & SUCCESS. 

      1.  WITH TEENSY DAISYCHAINED TO FLVSS & WITHOUT APM POWER MODULE TO READ VOLTAGES

      1A.  FAIL:  VERSION MavLink_FrSkySPort_1.3.zip

      1A1.  THE TEENSY LOOPS A APM/PIXHAWK WITHOUT A POWER MODULE.

      1A1A.  RESULTING "ZERO VOLTS" IN A CASE LOOP. 

      1A1B.  REASON IF APM/PIXHAWK HAS NO POWER MODULE THEN IT SENDS "ZERO VOLTS" IN A CASE LOOP. 

      2.  IF YOU DO NOT HAVE THE APM/PIXHAWK POWER MODULE THEN YOU WILL HAVE TO REMOVE THE CODE FOR THE POWER MODULE. 

      2A.  ABOVE INSTRUCTIONS FROM ANDREW WERE SUCCESFUL.

      2A1.  IN ARDUINIO I EDITED FRSKYSPORT.H & FRSKYSPORT SUCCESFULLY:

      2A2.  FRSKYSPORT.H

      LEAVE AS IS    #define SENSOR_ID2  0x0D

      //  REMOVE   #define FR_ID_CELLS              0x0300     
      //  REMOVE   #define FR_ID_CELLS_LAST   0x030F   

      2A3.  FRSKYSPORT

      // REMOVE   case 8:        // First 2 cells

      //

      // REMOVE   case 9:        // Optional 3 and 4 Cells

      //

      // REMOVE  case 10:       // Optional 5 and 6 Cells

      //

      3.  TEENSY WITH AN FLVSS & APM/PIXHAWK POWER MODULE: 

      3A. I DO NOT YET HAVE THE APM/PIXHAWK POWER MODULE CURRENTLY IN POSTAL. 

  • I want the error codes not have on the TARANIS, but on the Teensy.
    I want, for example, blink a Led at a low voltage or other Errors that come from PIXHAWK.

    Peter

  • Hello Rolf,

    HDOP is fine.

    How do I get error messages evaluated:
    eg. undervoltage

    regards Peter

  • maybe lets ask someone if there is enough memory left on apm2.6 to do it nativelly? there are 2 serial ports on apm 2.5+ the second one needs to have pins soldered on and a hole made in the casing. I've used it on another apm (deceased) with raspberry pi conjunction. no programming was involved, only setting up all the parameters right. 

  • Nice work Rolf!

    Would I be wrong to assume we could do this inboard the flight controller if there were a spare uart port? Such as the pixhawk?

    I have a taranis, x8r and pix hawk and am willing to try this. Do you know of anyone that has done this?
  • Hello Rolf,

    the program works fine.

    But I miss the display of HDOP data. Can you integrate that?

    regards Peter

  • Hello,

    I am looking for a way to do the oposite :)

    Convert SPort sensors data into MavLink to use it with an OSD like minimosd. Basically to see the sensors data on fatshark googles.

  • Rolf, I've just ordered x8r and teensy and planning to use your program on it, however, I am new to the arduino/microcontroller programming, I used to program in java and in c++ back in school and right after the school. So I am not new to programming, but certainly new to teensy. I need to grub some data from the mavlink, reduce its bitrate and send it to a FSK modem. would I need to use digital or analog pins to write to FSK? and if you happen to know an example of anything remotely similar to what I am planning on doing I would appreciate a link. 

    Thank you! 

    p.s. I think I've received an email update from diydrones forum bot about you mentioning possibility of using teensy to convert s.bus to ppm. I do think it should be possible, however, I do not know a thing about s.bus protocol. It would be very elegant to use just a single board. 

This reply was deleted.

Activity

Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
More…