PDA

View Full Version : Interfacing Arduino with OpenCockpits IRS B737 Panel



diegov
01-14-2016, 02:12 AM
Hi everyone,

I’m looking for some assistance with interfacing the OpenCockpit 737 IRS panel (http://www.opencockpits.com/uploads/manuales/IRS_B737_IDC_PANEL_Manual_2014_REV1.0_English.pdf) with an Arduino card.

The board is designed to connect to a Master Card, but I am trying to avoid buying a master card and a usb expansion card at this stage as I do not have any other use for these cards.

The panel card has on board circuitry (http://www.opencockpits.com/images/IOcards/Tarjeta_Displays/IocardDisplay_mulx.gif) including a PIC and multiple ICs including a HC154 and UN2003 to drive the 7 segment display digits, however the card must be connected to a Master Card to function.

From what I can see in the diagram, the a to g segments are driven from the pins connected to B port of the PIC and the 15 digit common cathodes are connected via the HC154 and UN2003.

I am trying to figure out a way to either connect the Arduino directly to the PIC or bypass the PIC completely to drive the 7 segments through Arduino. '

I can figure out the Arduino coding and how to multiplex the digits, but require help in understanding how to wire the pins in and which pins to light up.

I would happily share the sketch if I can get this to work. Failing this I may have to by a Master card.

Thanks
Diego

Live2Fly
01-14-2016, 03:39 AM
Not sure if this helps but give this a look. Look under the Microcontroller section for Digital Pins, Analog Input Pins and PWM.

https://www.arduino.cc/en/Tutorial/Foundations

you might want to also look into using FSUIPC and LUA scripts in addition to the arduino.

diegov
01-14-2016, 04:12 AM
Hi there,
Thanks for the quick reply. I am actually looking for someone to help me decode the OpenCockpit schematic. It may be as simple as sending binary data to one of the IC's, but this area is not my strength. I have written a few programs with Arduino and FSUIPC like this one : http://www.mycockpit.org/forums/showthread.php?t=27585&page=2, so this side i have covered. Thanks again for replying :)

diegov
01-20-2016, 04:20 AM
got it working... I love Open Cockpits hardware :)

http://www.mycockpit.org/forums/attachment.php?attachmentid=11146&stc=1