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
  • 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 NexGen: RSS: Radio Set 3436A/ARN-30D: Interface Card part III - The arduino software - I
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 26 Aug 2014 3:19 PM Date Created
  • Views 568 views
  • Likes 1 like
  • Comments 3 comments
  • c
  • c-3436a/arn-30d
  • c3436a
  • rss_iop
  • software_design
  • radio
  • nexgen_flight_simulator
  • arduino
  • diy_cockpit
  • linux
Related
Recommended

NexGen: RSS: Radio Set 3436A/ARN-30D: Interface Card part III - The arduino software - I

phoenixcomm
phoenixcomm
26 Aug 2014

Well it has been a long time coming so here is the embedded software design.image

image
RSS block diagram
Figure 1.

The Plan: The Arduino must send and receive information asynchronously, via the byte serial USB host connection, on Port 1.

This connection

  1. It must receive and respond to the RSS_IOP commands
  2. It must send data to the RSS_IOP when something changes
  3. Basicly you need 1 Arduino Mega per tuner. It has lots of Digital I/O, and its cheap!
  4. The protocol must be easy and expandable for all types of radios.

Since a physical radio can have multiple tuners (Figure 1), you must use the command lsusb() to display the information of the devices. As this is different for every radio and each

computer is different at this time you must manage this in  the RSS_IOP software. This Protocol has three (3) Byte Message.

 

The Protocol: There are two sides to the Protocol and I will describe both sides. This is documented fully in the Protocol Manual.

Basic RSS_IOP Discriminants

Read Frequency * .01

0

Read Frequency *.1

1

Read Frequency * 1

2

Read Frequency * 10

3

Read Frequency * 100

4

Write Dial Lamp

10000005

Write Aux Meter

Write Aux Lamp

The RSS_IOP can send the following commands:

Message Format to the Interface Processor

0-7

8

9-15

16-23

!

0/1

 

 

Start

R/W

Discriminant

Payload

  1. Read Tuner Radio Frequency
  2. Read Tuner Power Switch
  3. Read Radio Special Switches (see notes per radio)
  4. Write Tuner Radio Dial Lamp(s)
  5. Write Radio Special Lamp(s) TBD (see notes per radio)
  6. Write Power Flags in Instruments TBD (see notes per radio)
  7. Write Meter Output on Radio(s) & in Instruments TBD (see notes per radio)


The Interface Processor (Arduino) can send the following messages:

(only when something changes,) ie. No Change, No Message.

During the RSS_IOP start up, the Interface Processor will send a start message "!!!" followed by initial values of all that tuners Discriminants and payloads.

Basic Interface Processor Discriminants

Power

0

Frequency * .01

1

Frequency * .1

2

Frequency * 1

3

Frequency * 10

4

Frequency * 100

5

Aux Meter

(see notes per radio)

Aux Switches(see notes per radio)

Message Format

0-7

8-15

16-23

!

 

 

START

Discriminant

Payload

  1. Frequency

  2. Switches, Power
  3. Meter, Aux, TBD (see notes per radio)
  4. Switches, Aux, TBD  (see notes per radio)

The Software:  There are several steps in writing this software. As C programer I like to put things in a .h file so the file is C3436A.h the body of the my code is in C3436.ino  the reason why your use multiple files is to logically manage your program.  ( As of yet I can not show my finished code - CAH)


image  Keep tuned in; More to Come!!

~~~~ Cris

PS!! I will be at Cockpit Fest 2014 August 29, 30, 31!! @ Lancaster Airport, So if you live in the Dallas, Fort Worth Metroplex come down and say hello....


PS. I wish to thank Paul Z. for the review of this document. 8/2/2014


  • Sign in to reply

Top Comments

  • phoenixcomm
    phoenixcomm over 11 years ago in reply to dragonstyne +1
    Way Cool, but hot here is South Dallas, We are going to do it again next year... I put some pics up in FB.. just friend me.. Cris Harrison https://www.facebook.com/cris.harrison.9
Parents
  • dragonstyne
    dragonstyne over 11 years ago

    How was Cockpit Fest!

     

    -Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • phoenixcomm
    phoenixcomm over 11 years ago in reply to dragonstyne

    Way Cool, but hot here is South Dallas, We are going to do it again next year... I put some pics up in FB.. just friend me.. Cris Harrison https://www.facebook.com/cris.harrison.9

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • phoenixcomm
    phoenixcomm over 11 years ago in reply to dragonstyne

    Way Cool, but hot here is South Dallas, We are going to do it again next year... I put some pics up in FB.. just friend me.. Cris Harrison https://www.facebook.com/cris.harrison.9

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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