Jump to content

Recommended Posts

Posted

Hi all,

 

found a very good prog from tacno here in this forum to export the cmsp display. Thanks to him this was finally possible for cockpit builders like me. No more screen copy things.......

 

'cause of having my own developed i2c-udp system to connect the "real switches" with the simulation, I decided to write my own prog to export the cmsp. I had the idea to write a program that does not do any mathematical recognition things but that learns how the display looks at every individual machine. So, you have to go through some kind of teaching process in which you tell the prog witch character is displayed at the moment. Just saving this, and next time the prog knows it on its own.

 

The next days I'll write a little dokumentation for running the prog. Look at tacnos thread if you like, there I wrote a short disciption.

For download please use the link.

 

Have fun

http://www.737ng-homecockpit.de

  • Like 1

visit my build thread Gremlin's A-10 :thumbup:

http://forums.eagle.ru/showthread.php?t=86916

Posted

Definitely interested in using something like this with an Arduino, but don't have much time for my project right now. :(

 

Will be watching though...

Posted

Hi Gadroc,

 

this would be great. But I think my programming skill don't go that far. I use helios, too. So what do you think, when I give you my few code lines of VB (but don't be shocked about the bad programming style) and you insert them in your great helios program? Would be the easier way, I think. And I have no comercial interests with my code. it's the hobby of us all and hopefully this way we all can get further by helping each other

visit my build thread Gremlin's A-10 :thumbup:

http://forums.eagle.ru/showthread.php?t=86916

Posted
Hi Gadroc,

 

this would be great. But I think my programming skill don't go that far. I use helios, too. So what do you think, when I give you my few code lines of VB (but don't be shocked about the bad programming style) and you insert them in your great helios program? Would be the easier way, I think. And I have no comercial interests with my code. it's the hobby of us all and hopefully this way we all can get further by helping each other

 

I'd be happy to do the integration work with Helios.

Posted
Here are my code files for u

 

[ATTACH]76476[/ATTACH]

 

perhaps you can improve the mathematic model, cause some of the characters have the same countvalue..

 

And sorry for my bad programming style!! :megalol:

 

the .ino file comes per mail

 

Gadroc...Work you magic and let there be light...:)

  • 1 month later...
Posted

Hi Gremlin77. I have no programing skills at all but is there some way to use your software with SIOC and the usbLCD card from OC?

 

Regards, Daniel.

Posted

On this cannot give you a quick reply. The SIOC uses UDP, my software also. You'll have to find out on your own, 'cause I sold all my opencockpits stuff, so I'll have no chance to give it a try. Sorry.

If you can figure out what format the UDP string has to have, I can modify my program to generate the right string format for ya

visit my build thread Gremlin's A-10 :thumbup:

http://forums.eagle.ru/showthread.php?t=86916

Posted

I still have to buy the usbLCD card from OC but I will be happy to help you when I get it. I will send you a PM in a few months when I have some spare time! Thanks for your help!

  • 1 month later...
Posted

I found several builds of your great tool within the forums. I think this is the "mother of all CMSP threads".

 

Please, can you give me a "shopping card" what is needet to build the CMSP.

 

What is the difference between the COM version and the original ?

 

Would your tool be usable on a raspberry PI:

http://www.raspberrypi.org/

 

I bought one for just testing around, maybe this is a cheaper soltution than the arduino with all the add on cards and has RJ45 network "onboard".

 

Thank you for every hint. So far I have 27" mainscreen, 24" touch for helios, 4" for UHF and 7" for CDU ... an other monitor for CMSP would kill the system :( with all the adapters, converters, power supplies.

 

Thanks

Tom

 

BTW .. I can solder bit nor program :cry:

Posted (edited)

Hello Tom,

 

This is what I am using:

 

1 x Arduino Uno (or compatible) with AtMega 328 5 volts, You can find it on Ebay easily.

 

1x Arduino Ethernet shield W5100 (or compatible)

(http://www.ebay.co.uk/itm/300695278167?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649)

Reason for using a W5100 ethernet shield is because it is much easier then e.g. a shield with a ENC26J60. I have tried with ENC26J80 but couldn't get it to work.

 

1x 16x2 LCD,

(http://www.ebay.co.uk/itm/LCD-Display-Module-16-x-2-Blue-White-Backlight-/110638664240?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item19c2940a30)

I found one at this supplier which is black with green letters but it seems to be out of stock

 

You can find another Arduino compatible board e.g. Nano but the wiring between Uno and a the Etherned shield is very easy,

 

You need to download the Arduino software:

http://arduino.cc/en/Main/Software

 

Then you need to attach the place the Ethernet W5100 ontop of the Uno.

 

The connection between Uno/Ethernet W5100 and LCD is done as follows:

Uno LCD

Pin 9 RS

Pin 8 Enable

Pin 6 DB4

Pin 5 DB5

Pin 3 DB6

Pin 2 DB7

Please remember to attach the power circuits as shown on attachment.

 

Then you copy the program from my thread; http://forums.eagle.ru/showpost.php?p=1669869&postcount=25 into your Arduino software and download it to the Uno.

 

Last thing to do is setup Gremlin's CMSP export to export to the IP address you have set the Uno to. If straight copy paste from my small code it is IP:192, 168, 1, 100

 

Also remember to apply power to the Uno. The attached Ethernet shiels is without POE (power over ethernet) thus you need to have either USB connected to Uno or a separate power supply.

 

Hope this helps your building.

 

Cheers

Hans

LCD_bb.thumb.png.4af6692d00cb00525baa01541ad1cd6d.png

Edited by Hansolo
  • Like 1
Posted

Thank you very much !! :thumbup:

 

Questions for all the programming pros:

 

Would it be possible to make the same with a Raspberry PI ?

 

Here is something in the same direction:

http://my-raspberrypi.de/raspberry-pi-mit-openelec-und-einem-16x2-lcd-display/

 

 

Sorry, it is german ...

 

A workmate is very familiar with the raspberry and would help me.

Reason for the raspberry could be: all in one solution, more power can maybe run more exports (UHF, etc).

 

Would be nice to read from you, meanwhile I will organise the arduino :)

Posted

Hi Tom,

 

Hmmm having no idea of the capabillities of the Raspberry Pi I would say it might be possible.

The setup I am using for the Arduino is reading the UDP string which Gremlin's software is sending.

If you can setup the Raspbery Pi to reciece a UDP string then it probably works.

 

Having said so my programming skills for Arduino is very limited and for Raspberry Pi not excisting...

 

Cheers

Hans

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...