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: Fuel Load Indicator: Wiring Plan
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 24 Sep 2020 1:40 PM Date Created
  • Views 319 views
  • Likes 0 likes
  • Comments 2 comments
  • nexgen
  • diy hardware
  • arduino mega 2560
  • fuel load indicator
  • diy software
  • c progrmming
Related
Recommended

NexGen: Fuel Load Indicator: Wiring Plan

phoenixcomm
phoenixcomm
24 Sep 2020

Analysis:image

The first hurdle is that an Arduino has only GPIO pins but you can not get to a bus from here, without a lot of bit-banging by the CPU.
Second, the Displays are smart devices and designed to have both Address and Data Buses.
The only thing is to use an I2C peripheral expander.  The only problem is that the I2C bus limits to about 1 meter.

The Plan:

I will wire the MCP23017  to the display board as follows:

MCP Pin Display Pin
Data Bus
GPA0 21 D0 25
GPA1 22 D1 24
GPA2 23 D2 22
GPA3 24 D3 23
GPA4 25 D4 30
GPA5 26 D5 26
GPA6 27 D6 29
GPA7 28 D7 8, 10
Address Bus
GPB0 1 A0 19
GPB1 2 A1 21
GPB2 3 A2 20
GPB3 4 A3 D3
GPB4 5 A4 1
Arduino Pin
SDA 13 20
SCK 12 21
RST 181

I will need to drive the control  Lines from the Arduino itself

 

Control Lines
Mneumonic Display Pin Arduino
RST1 5 23
RST2 6 24
CE1 12 25
CE2 13 26
CLK1 7 27
CLK2 9 28
RD1 11 29
RD2 14 30
CAN Module
CS 10
SO 12
SI 11
CLK 13
INT 2

Parts List:

Switches
Mneumonic Display Pin Arduino
Up 12 31
Down 2 32
Common 3
Fill 4 33
Test 5 34
    • Interface PCB to hold parts and to interface to the display board
    • 30-pin (2x15) Female header with Wire-Wrap Registered tails. (Samtec SSQ-115-04-L-D)
    • 2 14-pin Augat turned pin, low profile IC sockets with Wire-Wrap Registered tails (Augat MBL5-14F).
    • 1 MCP23017-E/SPMCP23017-E/SP 16-bit  I2C  peripheral expander which is organized into 2 8-bit bi-directional ports.

Notes:

    1. Pulled up via a 10kΩ resistor.
    2. Pin 1 is by the white dot

Using Port-Manipulation:

  • Port A: 10 -> 7 Data Port (See Table on left  D0 -> D7)
  • Port L:   0 -> 5 Address Lines A0 -> A5
  • Sign in to reply

Top Comments

  • DAB
    DAB over 4 years ago +1
    Are you sure that the Arduino can power the display? I would consider triggering a transistor or a driver IC. DAB
  • phoenixcomm
    phoenixcomm over 4 years ago in reply to DAB

    DAB Yes, neat displays meant to be put on a data and address bus.

    ~~ Cris

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

    Are you sure that the Arduino can power the display?

     

    I would consider triggering a transistor or a driver IC.

     

    DAB

    • Cancel
    • Vote Up +1 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