|
Post by valentin on Jan 17, 2018 22:26:15 GMT 2
Hi,
I would like to have more informations about the connections between the three 7 segments display ( 5v connection)
Thank you in advance. Best Regards
Valentin
|
|
|
Post by AlbEagle on Jan 19, 2018 5:16:54 GMT 2
Hi, I would like to have more informations about the connections between the three 7 segments display ( 5v connection) Thank you in advance. Best Regards Valentin Hi there valentin As described in the website, it is easy to connect three modules in series you just have to follow the instructions on the picture: After soldering the wires between three modules, you just have to use the pins to connect to the power supply and arduino like in the picture below. I'm using a PC power supply, but you have to be careful to use +5V output. Regards Albeagle
|
|
|
Post by valentin on Jan 25, 2018 22:47:45 GMT 2
|
|
|
Post by AlbEagle on Jan 26, 2018 4:15:40 GMT 2
That Adapter is too small. I would recommend at least 5V 4A. A PC power supply would be perfect or something like this: Here is the linkThat is correct. Just make sure you solder the wire on the side next to the chip like in the picture. AlbEagle
|
|
|
Post by hannes1 on Feb 10, 2018 19:38:42 GMT 2
Hello, Have the first segment (3x Max7219) soldered together according to your scheme. Works basically. With COM1 Active and NAV1 Active, the first display always stays on one of two. Ex: 116.60 should. Is 216.60. Do you have an idea what the mistake could be? Thank you
Attachments:
|
|
|
Post by AlbEagle on Feb 10, 2018 21:49:59 GMT 2
Hello, Have the first segment (3x Max7219) soldered together according to your scheme. Works basically. With COM1 Active and NAV1 Active, the first display always stays on one of two. Ex: 116.60 should. Is 216.60. Do you have an idea what the mistake could be? Thank you
I think you have added +$10000 two times. One time in the condition field and another time in the compare field. You just need to use it one time. Check and compare with Nav1 STBY as it shows correctly. AlbEagle
|
|
|
Post by hannes1 on Feb 11, 2018 21:46:30 GMT 2
That was it. Is working. Now wanted to start over the buttons and LEDs at the top. I really have no perspective here. Can you help me which offsets, dependencies, etc. I need. Or do you have a Konfig where all the switches are inside. So as a pattern config for me? And I have another question. Have the radio panel until now only partially equipped and already very many cables. Would be interested in your board. Ev. with components. I would like to equip myself. Will also learn something here Do you sell that and at what price?
|
|
|
Post by AlbEagle on Feb 12, 2018 0:37:22 GMT 2
That was it. Is working. Now wanted to start over the buttons and LEDs at the top. I really have no perspective here. Can you help me which offsets, dependencies, etc. I need. Or do you have a Konfig where all the switches are inside. So as a pattern config for me? And I have another question. Have the radio panel until now only partially equipped and already very many cables. Would be interested in your board. Ev. with components. I would like to equip myself. Will also learn something here Do you sell that and at what price? Great to hear it is working. As posted in a previous post, My cockpit is not here, it is in the third floor and I have been using Arduino Mega cards for different projects as I only have two Arduino Mega 2560. I do have the config file, I don't know if it will help, anyway it is worth giving it a try. Arduino Mega number 1 is named Kryesori with this config. Here you can download the mfmc file which you can upload directly to your arduino nr 1. kryesori.mfmc (1.38 KB) <?xml version="1.0" encoding="utf-8"?> <Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ModuleName /> <PowerSavingTime>600</PowerSavingTime> <LedModule Name="Com1Display" DinPin="22" ClsPin="24" ClkPin="26" Brightness="15" NumModules="8" /> <Encoder Name="COM1Mhz" PinLeft="2" PinRight="3" /> <Button Name="COM1Switch" Pin="53" /> <Button Name="NAV1Switch" Pin="52" /> <Encoder Name="COM1Khz" PinLeft="4" PinRight="5" /> <LedModule Name="COM2Display" DinPin="28" ClsPin="30" ClkPin="32" Brightness="15" NumModules="6" /> <Encoder Name="NAV1Mhz" PinLeft="7" PinRight="6" /> <Encoder Name="NAV1Khz" PinLeft="8" PinRight="9" /> <Button Name="COM2Switch" Pin="51" /> <Button Name="NAV2Switch" Pin="50" /> <Button Name="TransOnOff" Pin="43" /> <Button Name="AdfOnOff" Pin="45" /> <Encoder Name="Com2Khz" PinLeft="10" PinRight="11" /> <Encoder Name="Com2Mhz" PinLeft="12" PinRight="13" /> <Button Name="DME1" Pin="39" /> <Button Name="DME2" Pin="41" /> <Output Name="AP Led" Pin="34" /> <Output Name="SPD Led" Pin="36" /> <Output Name="HDG Led" Pin="38" /> <Output Name="ALT Led" Pin="40" /> <Output Name="NAV Led" Pin="42" /> <Output Name="APR Led" Pin="44" /> <Output Name="REV Led" Pin="46" /> <Stepper Name="Compass" Pin1="31" Pin2="33" Pin3="35" Pin4="37" BtnPin="5" /> </Config>
Here is the config file for the second Card. MobiFlight Mega.mfmc (807 B) <?xml version="1.0" encoding="utf-8"?> <Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ModuleName /> <PowerSavingTime>600</PowerSavingTime> <LedModule Name="Com1Display" DinPin="22" ClsPin="24" ClkPin="26" Brightness="15" NumModules="8" /> <Encoder Name="COM1Encoder" PinLeft="2" PinRight="3" /> <Button Name="COM1Switch" Pin="53" /> <Button Name="NAV1Switch" Pin="52" /> <Encoder Name="NAV1Encoder" PinLeft="4" PinRight="5" /> <LedModule Name="Trnsp" DinPin="34" ClsPin="36" ClkPin="38" Brightness="15" NumModules="3" /> <Servo Name="FlapsServo" DataPin="51" /> <Servo Name="VSIServo" DataPin="50" /> <LedModule Name="COM2Display" DinPin="28" ClsPin="30" ClkPin="32" Brightness="15" NumModules="3" /> </Config>
Here is the Config file for the whole cessna cockpit and the radio panel together mobiflightcessna172latest.mcc (140.06 KB) So you have to upload the first two files in two Arduino Mega accordingly and then open the third file and choose the inputs/outputs. At least the two configs I put in the code section can help you to see the pins I have used. About the wires yes you are right, there is a lot of wires, that's why I decided to build an entire Panel instead of different modules. This way there won't be any wires at all. only three usb cables from 3x Arduino Mega Cards to the PC for the whole Radio . I have calculated somewhat about 200 euro for the entire board with all the components. I will try to keep it as low as possible. Even with 20 euro profit from one radio I would (not be happy lol) sell it even though it has been a lot of work. I will also consider the possibility to sell it as a kit which means you get all the components and you have to do the soldering yourself. Only shipping from here to around the world cost around 27 Euro and I have to pay customs for some of the components including PCB-s. I'm still waiting for the PCB-s to arrive so once I get them and build the first one I will calculate the cost. But as always there is the option of building the radio yourself as documented in the website. I'll try to help whenever I can and whenever I have time. First time build is always the best with all the problems and challenges you face . Regards AlbEagle
|
|
|
Post by hannes1 on Feb 12, 2018 7:31:54 GMT 2
OK thank you. Please contact me as soon as you have put together a kit. I'm really interested in that.
|
|
|
Post by hannes1 on Feb 12, 2018 9:28:32 GMT 2
how did you do the buttons and the LED on top of the radio? Either I do not see it in the configuration or I do not understand it. Many Thanks
Attachments:
|
|
|
Post by hannes1 on Feb 12, 2018 17:33:50 GMT 2
two configurations. Did not you even write that you used for the radio 3 arduino? Thank you
|
|
|
Post by hannes1 on Feb 13, 2018 8:45:42 GMT 2
I have brought the switches with the LED to function. Thank you for providing the configuration. Could you give me more information about the ads NM and KN? How is the row interconnected between 7-segment and 14-segment?
|
|
|
Post by hannes1 on Feb 13, 2018 9:47:06 GMT 2
How did you realize on your radio panel the displays if parts of the autopilot are switched on or off. In the plane yes the button lights, but with your panel I see no LED?
|
|
|
Post by AlbEagle on Feb 14, 2018 21:52:32 GMT 2
I am sorry I have a flew I couldn't answer. I have started with one arduino Mega then purchased another one. Since I only had two arduino cards I wasn't using all funtions of the radio. Now with the new board there are 3xArduino mega cards needed for the radio to be fully functional.
For NM and KT letters you need two separate max7219 chips. You connect the 14 segment displays as in the picture on the website. It is important ro purchase cammon cathode displays as common anode won't work with max chip.
As for the autopilot leds, in the old radio I have drilled a small hole inside the button and added a 3mm led. In the new radio I have added the leds above the buttons of the autopilot. It is easier that way. There is another option to use buttons with leds incorporated on them, but those are 12v leds. I am planing to use those buttons with leds as kind if backlight for the buttons to be seen at night.
AlbEagle
|
|
|
Post by hannes1 on Feb 16, 2018 22:14:02 GMT 2
Hello, Hope you can help me again. Have the radio panel in the basic functions, technically finished. Enclosed a picture with orange arrows. Can you tell me the settings in Mobiflight? Do not do it that way. Many Thanks Attachments:
|
|