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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 NexGen: Using BJTs to drive pinlite displays
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 8 Oct 2020 5:36 PM Date Created
  • Views 423 views
  • Likes 4 likes
  • Comments 2 comments
  • pinlite
  • flight simulator
  • nexgen
  • diy hardware
  • arduino mega 2560
  • kw-105-al
  • cp-1252asn-128
  • diy software
  • bjt
Related
Recommended

NexGen: Using BJTs to drive pinlite displays

phoenixcomm
phoenixcomm
8 Oct 2020

Redacted April 10, 2024

imageStatement: Driving Pinlight Lamps is very challenging. The design requirements are 4vdc @ 15ma per segment, if you are interested look here.

So for the 7-segment displays, the total current is 7 x 15ma. or 105 ma. Now multiply that by 19 displays x 150ma or 1995 ma or just under 2 amps. For the 16-segment displays, of which there are 4 the total current is 16 x 4 x 15ma or 960 ma or just under 1 amp. An Arduino can't even handle one segment. So I need to buffer the displays from the Arduino.

The Plan: By the use of complementary BJT that is to say with a PNP Collector connected to the Power Rail and an NPN Emitter connected to the ground. By using the BJTs I can switch columns from the NPNs Base and each lamp segment from the PNPs Base. I don't think I will need a limiting resistor between the Power Rail and the NPNs Collector.

Power Rail
image
image

Ground Railimage

Most likely I will be using 2 BCD to 7-segment encoder as problems with fan out might occur.  The 4 16-segment lamps will be driven directly from one 16-bit port. So using a quick math of total-segments == (16x4) + (7x19) == 64 + 133 = 197 segments! At .2 seconds per segment = 39.4 seconds to access all 197 segments. Uyk! If I ran the multiplexer twice that speed or rather half the total time per segment = 17.2 seconds. Better but still cruddy.  So what would happen If I divided the tasks?

Possible Solution 1: Use four separate 74LS247 BCD  to 7-Segment  Decoders, each one called port A, port B, port C, port D and one Port E (16-bits). By using 3 x BCD to 1 of 8 decoders 74LS138 ganged together without using other gates.

Possible Solution 2: The mega has 50-odd digital ports? so 50/3 = 17 so I only need 6 more digital ports. here is my pin list:  (NOPE!!)

~~Cris H.>

 

Arduino Pin# 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Reference Display 0 Display  1 Display 2 Display 3 Display 4
Arduino Pin# 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
Display 5 Display 6 Display 7 Display 8 Display 9

 

Possible Solution 3: In reality this will be the way to go. 1 will be using I2C 16-bit io-expanders I can use 15 bits from each expander to run 5 lamps. So this implies I will need 4 expanders to run the lamps. Now I can use 16 digital I/O or one more expander for the data lines for the 16-segment displays. (WINNER-WINNER-CHICKEN DINNER)

KISS METHODE

  • Sign in to reply

Top Comments

  • DAB
    DAB over 4 years ago +2
    Yes, it takes a bit of current to drive these displays, but then they need to be seen under a wide range of lighting conditions. DAB
  • phoenixcomm
    phoenixcomm over 4 years ago in reply to DAB +1
    That's true, now add in dimming I most likely use a PWM signal as an input to a tri-state buffer. ~~Cris
  • phoenixcomm
    phoenixcomm over 4 years ago in reply to DAB

    That's true, now add in dimming image I most likely use a PWM signal as an input to a tri-state buffer.

    ~~Cris

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 4 years ago

    Yes, it takes a bit of current to drive these displays, but then they need to be seen under a wide range of lighting conditions.

     

    DAB

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
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 © 2025 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