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: Tech Tip I. Arduino Serial Port Traffic Status Light
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 15 May 2018 3:04 AM Date Created
  • Views 427 views
  • Likes 9 likes
  • Comments 1 comment
  • nexgen
  • diy cockpit
  • hardware development
  • status light
  • serial port
  • arduino
  • traffic indicator
Related
Recommended

NexGen: Tech Tip I. Arduino Serial Port Traffic Status Light

phoenixcomm
phoenixcomm
15 May 2018

You know you get the dumb look on your face and is this damn thing working? Ethernet has activity indicators, you know the two lights on the RJ45 socket.

Well, we can do the same for Serial Ports remember that Arduino's are only 2 pins (rx and tx). 

Factoid: I hate messing with RS232 connectors. So where does it say that You must use DB-9/15/25? really nowhere.image

So grab you an RJ45 Breakout Socket without magnetics from the web. So we have four (4) pairs to play with. BTW pairs are a good thing.

image

  1. Find the LED leads and check them with you DVM (diode check) this will be enough to lite them. find which one works both ways. We don't care about + or - so well refer to them as D1(1 or 2).
  2. Hook it up.
    1. Serial1(1) to 470 Ω resistor (for current limiter) R1(1)
    2. R1(2) to D1(1)
    3. D1(2) to Serial1(2)

WAIT, YOU SAY: How is this supposed to work? The LED is connected between two outputs (Rx & Tx); Duh?

Well get this,  both Rx and Tx are never both High or Low at the same time. So if Rx is high and Tx low then you get flow through one of the diodes, and when Tx is high and Rx low you get flow through the other diode.

THE BEST, NO SOFTWARE!

Neat huh? So this is pure win-win.

 

Arduino Comports
Serial 0Serial 1Serial 2Serial 3
Arduinopins 0 (RX) and 1 (TX)
LeonardoUSBpins 0 (RX) and 1 (TX)
Megapins 0 (RX) and 1 (TX)pins 19 (RX) and 18 (TX)pins 17 (RX) and 16 (TX)pins 15 (RX) and 14 (TX)
Duepins 0 (RX) and 1 (TX)pins 19 (RX) and 18 (TX)pins 17 (RX) and 16 (TX)pins 15 (RX) and 14 (TX)

 

Stay Tuned In. More To Come
  ~~ Cris H.

Back to the Indeximage

Updates:

  • Sign in to reply

Top Comments

  • DAB
    DAB over 7 years ago +1
    Great idea Chris. DAB
  • DAB
    DAB over 7 years ago

    Great idea Chris.

     

    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