Cockpitbuilders.com

sign up .

July 06, 2020, 05:07:51 am

Login with username, password and session length
29 Guests, 1 User
Members
Stats
  • Total Posts: 55361
  • Total Topics: 7387
  • Online Today: 33
  • Online Ever: 582
  • (January 22, 2020, 08:44:01 am)
Users Online
Users: 1
Guests: 29
Total: 30

COUNTDOWN TO WF2020


WORLDFLIGHT TEAM USA

Will Depart in...

Recent

Welcome

Use of Arduino to drive the Open Cockpit 7 Segment Displays

Started by Masterploxis, June 15, 2020, 02:39:11 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Masterploxis

Hello,

after some absence from the simulator business i have found out that Arduino in connection with Mobiflight is a powerful way to control and drive various hardware. As i have have finished most of the panels using Open Cockpits Hardware - i wonder if it is possible to drive the Open Cockpit 7 Segment Display panels also with Arduino.

As far as i am informed, a max7219 board needs to be used with Arduino. These boards are prefabricated with 4 digits or 8 digits.

I cannot use these boards as i would need to rework all panels to house the big max7219 boards.

What i want to know is - can i easily connect the Open Cockpit 7 segment displays with a max7219 card (placed somewhere else, just wired to the segment displays) and connect this to the Arduino ?

Any help is highly appreciated

Andy
www.masterploxis.de


ame

I'd suggest "yes". The Open Cockpits displays are common-cathode, and so are the MAX7219 drivers, which is a good start.

If you have the MAX7219 boards then you could desolder the displays and then connect wires to the Open Cockpits modules.

You need to know the pinout of the Open Cockpits modules, and the pinout of the MAX7219 chip, then connect the segment pins abcdefg and dp, and the digit pins (digit 1, digit 2, etc.)

It should work.

Joe Lavery

June 15, 2020, 09:51:45 am #2 Last Edit: June 15, 2020, 09:56:32 am by Joe Lavery Reason: Added a second image
Yes is the answer, I have used the MAX7219 chips with my own seven segment displays mounted on a daughter board I had fabricated in china.
As Ame said you only need the pinouts of the OC displays and the MAX7219 which I have attached. It's free to download anyway.  8)

Mobiflight is brilliant if you don't want to learn how to code the Arduino yourself.  There are plenty of examples on YouTube and the forum is great.

Hope that helps.
'Life isn't about waiting for the storm to pass, it's about learning to dance in the rain!'
www.pcpilot.net

Masterploxis

Hello,

after some desoldering and damaged boards - i finally was able to connect an Open Cockpits Segment Display Board via MAX7219 Tube to Arduino.

Thanks
Andy.

Like the Website ?
Support Cockpitbuilders.com and Click Below to Donate