Translate

Oct 16, 2017

Updated 7-Segment displays support in SimVimCockpit


As it was announced before, the TM1637 display controller support has been successfully added. I've finished and debugged the code to output data for this display type through the same multiplexer.

The only difference from all other display types is that the Data signal for TM1637 is not the same common "D"  output, but it is controlled  using one additional Arduino pin (that will be  fixed  as "D" output for TM1637).

Also, additional important updates have been done (see below)...







Additional updates

1. We have added support of offset to the 7-segment display configuration. Besides the number of digits and dot position, now you can assign offset for any displayed data on every specific display:



2. Any display can now be easily configured to output of more than one data value, you can have 2 or 3 independent data on one  8-digit  display. In the picture above you can see Bus Voltage + Bus Load on one TM1637 display  and DME distance+ DME time on the MAX7219 display)

Quick video (sorry for quality, too dark):



To be continued...
Vlad




8 comments:

  1. Looking good as usual. Once again, keep up the great work!

    Where did you find the 6 digit TM1637 module?

    ReplyDelete
    Replies
    1. Look at AliExpress for "TM1637 RobotDyn" (I have added a link in the post above - see first line with "TM1637 Display").
      Also, you can find many 6-digits display modules with the buttons on the same board (like this - www.ebay.com/itm/222642695850 ), it can be used too.
      V.

      Delete
  2. Vlad, on your max7219 connections. Is the "S"=>clock, "L"=>Load(CS) and "D"=>D-In? If I read this correctly, All of the Loads are tied together, D-ins are tied together, and you are changing the numbers by the clock (S)? Also, you must be powering all of this with a seperate power supply? Or is the arduino power enough? Thanks for the info! Looking forward to the updates!

    ReplyDelete
    Replies
    1. All connections regarding the S,D,L signals are the same as in the ArdSimX.1x. The only difference, the "S" outpus are muliplexed, not direct from Arduino.

      New version has completelly different programm code in Arduno firmware, and all program is much faster - from 10 up to 100 times for different parts of input/output processingin comparision to 1.x version . Output to one 5-digits MAX 7219 display takes only 0.3 ms.

      As for powering, I highly recommend to use separate (single) power supply for all displays, indicators, etc. (for me, old computer PS (AT) is best choice for this, it is very stable and powerful +5v source).
      V.

      Delete
  3. super work congratulations on behalf of the group, a question can be read two dataref with a single step by step motor x27-168
    with a switchable swich, example: fuel QTY MAIN / AUX or L GEN / R GEN; thank you.
    hornos27.

    ReplyDelete
    Replies
    1. Yes, all this will be easy to configure (e.g. when you press button "Main/Aux" for fuel indicator, it will show auxiliary quantity). Any output can be configured with conditional behaviour.
      V.

      Delete