Jump to content

Recommended Posts

Posted (edited)

My first err in the setup was the pin assignment within arduino example but I guess you through that. Hang in there Tom.

 

Swapped to a VFD and the brightess in superb. If any still in for the standard LCD, skip that. Standard 100% brightness in the pic, Haven't yet got the scripted dim to work.

Edited by Duckling

- - - -

Posted
Hi,

 

As I am about to start packing down everything for moving I though I just make some quick pictures for setting up an Arduino Uno with and Ethernet shield W5100. I won't be totally off the air but are not sure when the game PC will be running again.

 

First picture shows the Ethernet shield placed directly over the Arduino Uno.

The USB is used to download the small program. After that it is only used for power supply 5VDC. Ethernet cable is connected to the router where the PC is also connected to.

 

Second and third pictures are close-up of the inter-wiring between LCD and Arduino. Fourth is just to see the LED's on the Ethernet shield. When Gremlin77/Tacno's export tool is running RX and LINK will be blinking.

 

Wires red are +5VDC and black wires are ground. In this quick setup, there is no potentiometer attached, thus LCD is running at full brightness. In one of the previos post in this thread there was a picture showing how-to-connect a potentiometer.

 

From the pictures it should be possible to perform wiring of the LCD. Below is a link to a very short test run today.

 

http://www.youtube.com/watch?v=6yI4MoQo8-c

 

Happy building :smilewink:

 

Cheers Hans

 

Good job HMA !

Which export tools do you use, and why ?

UniversRadio for DCS : http://universradio.fr

Homepit on eagle.ru forum :http://forums.eagle.ru/showpost.php?p=1547848&postcount=1 (more details : http://www.tacnoworld.fr)

3rd-Wing.net/75th vFighter "Tiger Sharks"/S-01 Tacno (squadron commander)

Posted

Hi Tacno,

 

Many thanks for the kind words from the father of the CMSP.

 

I am using the Gremlin export. The reason is quite simple. Compare to you I am a noob in programming and I simply got lost in the diagram you made with IIC bus and special panel electronics.

 

 

Back in January when I started up on my usage of the CMSP export I didn't have any idea of how to program an Arduino. Therefore the Gremlin looked simpler to me. It took me quite a long time to get the Arduino Ethenet setup up and running as I had to learn the simply Arduino code first, then attach a LCD and finally getting it to recieve a UDP string. Especially the last part took a lot of trial and errors.

Having said so my programming skills still have a very long way to go :smilewink:

 

 

 

Looking at the diagram now I am not sure what the difference is between your original setup and Gremlins. Hope this gives some explanation of why I used Gremlins setup. Had programming skills been better in my earlier stages I would probably your setup instead especially now that I realize that your setup is for 2x20 LCD. I guess that it would make any difference to the Arduino code whether using your or Gremlin's setup? They are both sending the information via UDP, correct?

 

 

 

Cheers

 

 

Hans

Posted

My CMSP now together (could be better looking, though ;-) in one piece and working. (COM port still..)

 

A big thanks to Gremmlin, Tacno and also to HMA his code example.

 

A long way for me still but I really hope for a possibility to include the CMSC in the functionallity, or is this already possible ?

 

Cheers

Gus

IMG_0081.JPG.39829dec8aed5377175932a648ea1481.JPG

- - - -

Posted (edited)

Thank you very much icemaker ^_^

 

But what happen your software?

 

When i start Your software it open unlimited Paypal payment every sec, I can not control anything

Edited by moken
Posted
started working on cmsc but didn't finish yet 'cause of having lot of work in business...sorry. Still may take a while....

Hy GREMLIN, is it possible for you to add a 20x2 Option for your Progam?

Posted (edited)

Me again :D

 

Today I found some hours to try again ... no luck.

I tested:

 

Ping to 192.168.1.100 works

Netmask, gateway and MAC are like in the script, IP is permanent for the arduino.

I took a new display and connected as HMA stated.

I tried also this script with no success:

 

http://arduino.cc/en/Tutorial/LiquidCrystal

 

There must be something wrong, I see no HELLO or something, just black blocks.

 

On this display I do not use a resisitor or anything, in the panel I have a potiometer connected which works and dimms the blocks.

 

Any other ideas ?!

 

Cheers and thanks so far !!!

 

 

Tom

 

 

 

EDIT: HAAAA ... I found it .. if I use the 9Volt pin instead the 5Volt the display telles me "READY" ... I dont have to understand this but will try on the weekend again with the sim !!

EDIT2: The datasheet for the dosüplay says 5Volt .. no idea why it wants the 9 Volt pin .. will measure the pins next time ... I am confused ...

arduino1.thumb.jpg.ab1647b8a9a610550cf7e2b37ff7bc6a.jpg

Edited by TomDK
Posted (edited)

Sounds great you found the cause Tom. When you connected the 9V power, was that to the Arduino or the LCD ? Just curious since when you had the Arduino connected via USB for power (if I understood it correct), if the Ethershield addon consumed the power needed for the LCD or something like that. On my Arduino specs it states a prefered power of 9V but works of with my VFD using only the USB connection.

Edited by Duckling

- - - -

Posted

A quiz to Gremlin and others here. A bit of topic and is regarding the OCR possibilities used the CMSP export.

 

Could the same type of OCR be made able to check the Magswitch positions on SAS panel, Anti-Skid and AEC/Laste quad ?

(in otherwords the position of the 'pin')

 

So far I know there is no way to detect or export the state of these.

- - - -

Posted (edited)

IIRC switch position data is exported. What is not exported is the mag hold state, the "invisible hand" so to say. As a result magnetic switches will stay on even if not energized because when physical switch is engaged DCS thinks there is invisible hand still holding them. So OCR even if it would have been possible would not resolve the issue.

 

The good news is that as soon as magnetic hold engages legally DCS will be able to drop the switches even though the ones on physical controllers are still on. I plan to intercept that on to off in-game transition and send a pulse to trigger the circuitbrakers I use for SAS , anti skid and such. At least that's half of functionality ...

 

EDIT: Ducking, I remember we had this conversation already in December or so:) I'm still sticking with toggle circuit breakers idea. Post 50 in my build thread following good discussion on the matter with gadrock chiming in ( just in case you need reminder :) )

Edited by agrasyuk

Anton.

 

My pit build thread .

Simple and cheap UFC project

Posted

Strange is it anyway.

It is now running with power from "9V" on the ethernetcard , same as "VIN" on the arduino itself. using no potiometer for dimming ! I measure 3,8 Volt on the pins. If I change to the 5 Volt it will not work. Using only USB-power, if I use a poweradapter ... no work due the screen is black.

 

Is there a chance to get rid of mismatched learned letters or kill the *.txt file in C:/A10 and start from the scratch ?!

 

However, this setup is running, the lcd in my panel not .. I will change the lcd in the panel as the easiest way :smilewink:

 

Thanks so far to you all and your time !!! :thumbup:

 

 

 

Wohoo Tom :thumbup: Congratulation on getting the LCD up and running. Looking forward to hear you got the complete setup up and running.

 

Cheers

 

Hans

Posted

Quick question to the friends of good taste and the CMSP panel ...

 

Is there a fix or something for the following issue:

If I should down (power off) countermeasurements on the panel, the lower row will stay with the last settings, the upper row shuts down as requested ?

 

 

Still missing the backlight but will solve it with the phidgets board next week. Also waiting for the black/green displays from the chinaman :thumbup:

Posted
just PM me you mail address, I did a 20x2 version for another guy in the forum

Hello Gremlin, i have sent you some MP's have you received them?

Posted

Hi all,

 

sorry for not replying any questions the last weeks. I'm very stressed in job at the moment.

the 20x2 version seems to be "not running" at the moment. Sorry for that. Just made a quick programming, but it didn't work. I don't have a 20x2 display, so I could not try.

Next week I'm on holiday , after that I'll give it another chance.

 

Sorry guys...

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

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

Posted

Hi Guys I am in awe of your electrical abilities. I have found out how to make lights flask how to make my CDU screen sort out the rotary switches and of course the toggle and push switches this week. Trying to get all the knowledge together to plan and price up my cockpit. But how do I make one of these wonderful CMSP led displays? I am afraid that my electronics experience is very limited i am willing to learn.

  • Recently Browsing   0 members

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