element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
NexGen Flight Simuator Display Interface a Final Look?
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 3 Jan 2020 2:54 PM Date Created
  • Views 374 views
  • Likes 2 likes
  • Comments 0 comments
  • flight simulator
  • nexgen
  • cd4511b
  • 74hc138
  • bjt
Related
Recommended

Display Interface a Final Look?

phoenixcomm
phoenixcomm
3 Jan 2020

Well, here we are again, the MAX6955 went down in flames as it will only work on LEDs. So we have to start over.image

The Analysis: The NCD is comprised of 4 groups: Display, Keyboard, Rotary Switches, and Thumb Wheel Switches.  The Display is comprised of 4 16-segment and 13 7-segment PinLite lamps, and two LEDs.  The keyboard is comprised of a 10 key number pad and 4 special keys, it also encodes A-Z. There are two rotary switches, and two thumbwheel switches as well. I also found a user guide, TM-1-1520-238-10 pages 3-34 through 3-46 on the web.  (this can be found here)

This blog will only concern ourselves with the display sub-system. I can't use a shifter C59 method as I need the display to be addressable.  So this is what a came up with.

Display TypeIc per SegmentIc per DeviceDevicesTotal Ic
16 Segments15ma +/- 2ma240ma4960ma
7 Segments15ma +/- 2ma105ma131365ma
"""7735ma

So first off an Arduino I/O will not handle that much current even the 15ma is pushing it.  So what to do? Now, remember I want dimming and a lamp test function. If I buffer the drive lines with a 74HC244 non-inverting tri-state buffer, which will drive a MOSFET which will act as a drain, with the load (lamp) to power. Sounds good. Let's move on. The  7-segment lamps will be driven from CD4511B BCD to 7-segment decoder.  After the decoder, I will use the same scheme and use a 74HC244 followed by our friendy MOSFET. As there are thirteen (13) 7segment displays, I will brake them into two strings on eight (6) displays while the other string has seven (7).

Now the multiplexer. There are 4 + 13 or 17. Now I really don't want to wire 17 more leads, so we will to it the easy way  17 == 11 hex or 5 more pins. (see table on the right)  So I need a 5:23 decoder the 74HC138 is very cool as it is only a 3:8 decoder but has 3 enables, 2 low active and one high active. So I can only need 3 decoders (see the schematic below) and no external gate(s).

QuantityTypeDrive LinesSelect lines
416-segment164
87-segment78
77-segment77
23TOTALS301

 

#D#H2ADCBAE1!E2!E3
000000000001
010100001xxx
020200010xxx
030300011xxx
040400100xxx
050500101xxx
060600110xxx
070700111xxx
080801000xxx
090901001xxx
100A01010xxx
110B01001xxx
120C01100xxx
130D01101xxx
140E01110xxx
150F01111xxx
161010000xxx
171110001xxx
181210010xxx
191310011xxx
201410100xxx
211510101xxx
221610110xxx
231710111xxx

The seventeen outputs, from the multiplexer, are connected to a BJT with the +4vdc on the high side, while the load connects to the common connection on the displays. The control for the dimmer is a PWM signal from the Arduino feeds into the three 74HC244 tri-state enable inputs. PWM signals duty cycle determines how much each segment drive is in the 'ON' state vs its 'OFF' state.

 

 

 

image
5 to 21 decoder
  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube