element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Resurrection of sorts Jan 2025
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 21 Jan 2025 3:24 AM Date Created
  • Views 193 views
  • Likes 6 likes
  • Comments 0 comments
  • flight simulator
  • nexgen
  • diy hardware
  • desrect logic
  • AN/ASN-128
  • mcp23s17
  • TM11 5841-281-12
  • arduino mega
Related
Recommended

Resurrection of sorts Jan 2025

phoenixcomm
phoenixcomm
21 Jan 2025

imageOk, here we go again. This is a fresh (not quite) start Jan 2025 I have lost all of my work on the sim! So here we go one more time. Here is what I am up against.

  1. There are 4 Alphanumeric 16 digit displays these can be driven by 4 x MCP23S17 and some BJT(s). 
  2. There are 13 Numeric 7 digit displays these can be broken up into 2 sets of 4 plus 1 set of 5.  These can be now driven with 3 74247(s) plus BJT(s). These in tern will be driven by 3 half of 74LS244(s) the extra half will drive the other 3.  (74143 might eliminate the BJT(s) but I have to double check the ratings of each segment. 
  3. I need a display selector, which  are 3 74LS138(s) which are chained together to give me a 24-bit decoder with out external logic.
  4. ADDENDUM 1/22/25: So now you know there are 17 displays. SIDE NOTE: To make the display NOT TO FLICKER, The whole thing has to run at  less than .25 seconds Ouch! wait I said the 4 Alphanumeric displays are driven by 4 x MCP23S17(s) which means that its only 17 displays and they have to be driven less that .25 seconds. MATH: 17 x .25 sec = 4.25 sec so we have to be a lot faster 
  5. 1 need to output 2 BCD thumbwheel switches to a bus. 
  6. 1 need to output my two rotary switch to a bus
  7. problem 4 & 5 is solved again with my trusty MCP23S17 but the output of the rotary switches need to be handed by 2 priority encoders which give me BCD outputs. (74LS147 or 74LS148)image
  8. Then you have a keyboard:( The problem it self is the way it works you see ( first row: A B C) normal stuff but it isn't! you see you need to keep track of the column and the row! Now back in day I wrote in C a state table to handle this, as there are 17 keys and 4 of them are special.  From TM11 5841-281-12: "To display a number, press the corresponding key or keys ( 1 through 0). To display a letter, first press the key corresponding to the desired letter; then press a key in the left, mid, or right column corresponding to the position of the letter on the key. Example: To enter an L, first press L, then 3, 6, or 9 in the right column." Now while this nonsense is going on you also have to deal with the fact that the display is really 3 displays! I have included a print of the front panel for your entertainment. 
  9. Of course I would love to use 2 Arduino Mega(s), Now this is going to get busy, the display and the keyboard most likely be handled by one unit. and the other would handle the four switches plus communication to the host most likely this will be Ethernet I don't know If I want to run CAN aerospace on top of it or my own packet, as this is cumming from the simulation model  where I need the following: Speed over the ground, Altitude, Heading, Roll and Yaw (aircraft states), plus Heading, (on the ground) and for good measure we can toss in the Accelerations (vectors), and some other stuff. TBD (To Be Determined) . 
  10. One last little thing, we need inter-process communications as well. that is between the two CPU's. And lastly there has to be a CANaerospace Interface on this beast as well.   Problem: I have never seen  a CAN interface and a Ethernet interface on one Arduino. have you??  
  11. ADDENDUM! this will need a lot of interrupts so I will resort to a very dirty trick multi-layer interrupts! That is to say I have a priority encoder wired to the MCP23S17(s) interrupt lines that 4 so we need four bits 1, 2, 3, 4 this goes through a 4 input exclusive OR whose output can now go to one interrupt.  
    1. EXPLANATION: So we need  8 bits for the port the address. First the Interrupt number 1-4 is written to the port and then the CPU signals to route the data to the same port. So that is 2 reads and 1 bit written after the interrupt pin is pulled down! I am very tired and I'[m going to bed to decubitus (from Latin decumbo 'to lie down') ! 

EXTRA, EXTRA!! Pretty Pictures!!!! (TG I have the other half of the harness.. Still a lot of work.

imageimage

  • 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 © 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