Gremlin77 Posted January 24, 2013 Posted January 24, 2013 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 1 visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
Gremlin77 Posted January 25, 2013 Author Posted January 25, 2013 have written an COM version for LINDEN of the program. So you can directly hang an Arduino uno with LCD 2x16 via USB on your computer and you will have a smooth running CMSP Display. If there is any interest, please contact me. 1 visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
agrasyuk Posted January 25, 2013 Posted January 25, 2013 Sounds awesome as I plan to run the 2x16 of the CMSP with arduino as well. Anton. My pit build thread . Simple and cheap UFC project
ED Team BIGNEWY Posted January 25, 2013 ED Team Posted January 25, 2013 I have been trying to use an arduino with my pit but it was way over my head so I would be interested as well :) Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal
pitbldr Posted January 25, 2013 Posted January 25, 2013 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...
Gadroc Posted January 25, 2013 Posted January 25, 2013 Would you be interested in building this as a Helios plugin? I can share the C# api with you.
agrasyuk Posted January 25, 2013 Posted January 25, 2013 That would be even more convenient! I'm wondering, can this be adopted to OCR CMSC as well? And for that matter perhaps for other items like digits of ka50 countermeasures etc.. the ground work seems to be complete Anton. My pit build thread . Simple and cheap UFC project
pitbldr Posted January 25, 2013 Posted January 25, 2013 Would you be interested in building this as a Helios plugin? I can share the C# api with you. +1
linden Posted January 26, 2013 Posted January 26, 2013 Would you be interested in building this as a Helios plugin? I can share the C# api with you. +1:thumbup:
Gremlin77 Posted January 26, 2013 Author Posted January 26, 2013 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
Gremlin77 Posted January 26, 2013 Author Posted January 26, 2013 I'll do it for cmsc, too. Think, should be easy. visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
linden Posted January 26, 2013 Posted January 26, 2013 I'll do it for cmsc, too. Think, should be easy. :thumbup:
Gremlin77 Posted January 26, 2013 Author Posted January 26, 2013 first part of manual the first part to start from Manual for cmsp and cmspCOM.pdf visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
Gadroc Posted January 26, 2013 Posted January 26, 2013 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.
Gremlin77 Posted January 26, 2013 Author Posted January 26, 2013 (edited) for gadroc Here are my code files for u cmspteachin COM version+part of cmsc.rar 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 Edited January 26, 2013 by Gremlin77 visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
Gremlin77 Posted January 26, 2013 Author Posted January 26, 2013 Thanks to all for donating! Very happy and motivated about that! visit my build thread Gremlin's A-10 :thumbup: http://forums.eagle.ru/showthread.php?t=86916
linden Posted January 26, 2013 Posted January 26, 2013 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...:)
danipelos Posted March 11, 2013 Posted March 11, 2013 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.
Gremlin77 Posted March 12, 2013 Author Posted March 12, 2013 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
danipelos Posted March 12, 2013 Posted March 12, 2013 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!
TomDK Posted April 21, 2013 Posted April 21, 2013 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: My old, sold, pit: http://bilder.einzelart.de/thumbnails.php?album=74&page=3
Hansolo Posted April 21, 2013 Posted April 21, 2013 (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 Edited September 13, 2015 by Hansolo 1 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
TomDK Posted April 21, 2013 Posted April 21, 2013 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 :) My old, sold, pit: http://bilder.einzelart.de/thumbnails.php?album=74&page=3
Hansolo Posted April 22, 2013 Posted April 22, 2013 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 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
TomDK Posted April 23, 2013 Posted April 23, 2013 Thanks again .. ordered this arduino stuff .. hopefully the chipset for ethernet is the right one, it was not stated on the ebay offers in germany. Will see ... My old, sold, pit: http://bilder.einzelart.de/thumbnails.php?album=74&page=3
Recommended Posts