Replies

        • auto detection of cells is possible. but only if an resistor network is connected to analoginputs. else you get not zero if you read an analog input because the high input independence of all controller inputs. this mean you can not surly detect if users use the single cell monitor or not. if nothing is connected to these pins you will get positive values. and if the network is connected with a lipo behind you also get positive values. sure is only if the network is connected without lipo. than all inputs are zero because the resistors in series to GND.

           this make auto detection between cell-monitoring or estimate results per cell a little bit complicated.

          for all users with connected r-network there is no problem to auto decide this. without balancer plugs connected, teensy use estimate results per cell because mavlink report voltage. and if the balancer plug is connected, A0 is not zero.

          /g

          wolke 

           

      • Currently we have no way to address each cell value on a script.

        So, I've opened a issue on OpentTX to expose each cell to the script variables

        https://github.com/opentx/opentx/issues/1799

        brgds

        Luis

        Individual cell values available for Lua scripts · Issue #1799 · opentx/opentx
        Currently we have the following values: cell-min LiPo sensor - lowest current cell voltage [volts] cell-min-min LiPo sensor - all time lowest cell vo…
      • !!there is one bad resistor label in picture above. 8k4 is wrong and must replaced be 2k!!  

      • Thanks 

        It was more of real implementation :) The circuit part was easy to understand :).

        • my realisation:), a little bit dirty but works well:). 3702770117?profile=original3702770165?profile=originalin my case i connect two 3s 8000mA/H lipos in series. in this case it is very important that you do not connect the the lipo ballancer gnd line to the teensy board. because it can happens that you firstly disconnect the main lipo jack from first lipo. in this case the second lipo is already connected to mainpower + line and all current will flow through the small ballancer gnd line from first lipo  all included electronics are affected (teensy, x8r and apm(pixhawk). i lost my first teensy in this way.

          /g

          wolke

          • Is It possible to sense the cell voltages for 2 4S lipos in parallel 

            I run 2 4S 5000mah lipo on my hex and would like to see all 8 cells

            • this will be possible, but not with this implementation.

  • I went ahead a wire one of these up but used the arduino mini max I had. I removed the Mavlink area for now to do some testing. I can change values and see how they are displayed on the Taranis. The one area that seems to be a problem is the GPS Lad and Long. The code doesn't seem to work at all. I have been able to get a display for my location, but doesn't seem to have a pattern I can see. Just in playing with Long, I can set the "E" & "W" bit, but the number I come up with for my long doesn't seem to match anything that makes sence. Does the code work using the teensy board correctly? Thanks

    • There is no problem with the coordinates using this code and a Teensy 3.1 board.

      The gps-coordinates is sent as 32 bit values. If the problem is isolated to gps-coordinates, I would start by making sure that these 32 bit values is handled correctly on the Arduino mini.

      • right.

        I've tested both -the teensy version works well, the promini version gives wrong gps values.

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…