Jump to content

Recommended Posts

Posted

Great thread and thanks for sharing guys.

 

I haven't any idea on how to program but hopefully I can follow the instructions. Now I've subscribed to the thread I'm off to grab a coffee and order up the parts on the shopping list.

[sIGPIC][/sIGPIC]

HTC Vive

Windows 10 Maximus VIII Hero i7-6700k CPU @ 4.2GHz 16GB Nvida GeForce GTX 1080. Ram Duel SSD's

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

IMAG0887.thumb.jpg.02b375d8a3b1e03d4ffa0585e09ab635.jpg

IMAG0888.thumb.jpg.b5711c5cd991c600db2a82dbf3fefa9a.jpg

IMAG0889.thumb.jpg.5187680e39490964df1f9eb529b3c2ab.jpg

IMAG0890.thumb.jpg.52c8dee4a880d88e9afb0e564788ecaa.jpg

IMAG0891.thumb.jpg.b22a2f10cae12f5bd4516055ada184da.jpg

Posted (edited)

I was not sure of the voltage so I got a 3.3V and a 5V. Good to know I can use them both :)

 

UPDATE....Received my Ethernet Shield W5100 this morning. What a great start :(photo1.jpg

Edited by Rockeyes
Update

[sIGPIC][/sIGPIC]

HTC Vive

Windows 10 Maximus VIII Hero i7-6700k CPU @ 4.2GHz 16GB Nvida GeForce GTX 1080. Ram Duel SSD's

Posted

Minutes ago I recieved my Arduino :) Just the shield is missing ....

Still downloading the software and will try my luck.

 

 

One question for understanding:

There are 2 versions of the software: One for Ethernet and for COM-port ?!

COM-Port means a real old school COM-Port or is that a USB version ?

Why use the ethernet solution ?

 

Intresting how many people are following this thread and building their panel !!!!

 

Hopefully it will work without any probs, I am too stupid for programming :noexpression:

Posted

Good question. I was following HMA shopping list which is a great place to start. I presumed that it was to cut down the amount of USB connections to the PC. I’m sure that we will receive an education as we build together :book: Like you ‘programing ‘isn’t my thing :(

[sIGPIC][/sIGPIC]

HTC Vive

Windows 10 Maximus VIII Hero i7-6700k CPU @ 4.2GHz 16GB Nvida GeForce GTX 1080. Ram Duel SSD's

Posted

Hello,

 

I did the Ethernet solution at it appealed to me as the easiest solution. I have found a few guys who have been sending/recieveing information to the game. From what I read on their quest was that they made a small program in C+ to make the connection between the UDP and USB. It worked very well for these guys but since my programming skills are limited and could figure out how it worked, I went for the straight UDP/Ethernet solution.

 

Also byt using the Ethernet way I avoid having more USB's connected and the original DCS A-10C Export is sent this way. Then later on I might be able to extract e.g. radio frequences from the DCS A-10C UDP export. However that is going to be much later.

 

@Rockeyes... Hop you can strighten the pins.

 

Cheers

Hans

Posted (edited)

Thanks Gremlin77 and HMA,

 

But I have use as icemaker' VFD , and have problem, how to fix to 20 x 2 text content for text 4,4,4,4 format?

 

Now I use com port to connect Gremlin77's CMSP recognition, whether we can use wifi shield of arduino that will more comfortably and powerful?

 

Mokendisplay.JPG

 

Moken1.jpg

 

 

In addition, have other good guy made the radio software for all frequencies that can support all of units between sky and ground, maybe can use as Gremlin77 recognition method to capture those , please see following address

 

http://ariescon.com/index1.html

 

http://ariescon.com/index10.html

Edited by moken
Posted

if Gremlin can contact me, maybe we can go further to make a 20x2 version of CMSP export.

 

By the way i get some issues with this version :

- FPS Drop to 15 when OCR reads.

- read frequency a bit slow so in prog mode the items don't blink they just disapear.

- I had to manually recon every character in every box once, i think it should be possible to recon each character once for all.

Posted

Hehe. It works (ofcouse) :-) :thumbup:

 

Thanks Gremlin and HMA for the added eth exampel.

Here only with Com version and a standard LCD (an Ethershield + VFD will be next step)

 

- Missed a character when edited the inputs, the "0" top row marked with an '?', marked in the pic attached.

Is there a way to edit just a specific character position or is it faster to redo the complete process ?

 

Cheers

Gus

IMG_0074.JPG.7e680b6181a92dd4186ffca2b7016cf6.JPG

- - - -

Posted

Hi Tom. I'm getting low on USB connections (allmost all ports on backside of PC is filled and I'm using 2 powered hubs already). EtherNet connections will leverage the possibilities and the cost is lower then an additional HUB.

Second reason is it's fun :-)

- - - -

Posted (edited)

Okay Duckling !! Nice to know ....

 

 

BUT ... I am in need of help :(

 

I installed my arduino with the script from this thread.

I connected it to my router, the networkconnection-LED is green.

I connected USB to power the arduino.

I followed the instruction to read in monitor.lua:

 

ED_A10C_CMSP =

{

x = 2995;

y = 190;

width = 200;

height = 42;

 

This is still from my helios and as you can see I use the "KA50 and A-10 export.lua".

 

I followed the instruction to read in CMSP_Init.lua:

 

vp = env.ED_A10C_CMSP

 

This was already in from my helios setup.

 

I created the cmsp.txt

 

I startet Gremlins cmspCOM programm and it asked me to create a cmspCOM.txt for any reason. I did so .... but what now to do ?

 

Need the arduino script a IP address ??

Arduino answers not to ping ... what is his adress ?

Arduino shows not up in my router.

 

Thanks for any help !

 

 

 

The panel is connected and the display is powered on.

 

EDIT:

Started the programm while A-10 is running and it shows me the values from cmsp but not on the display.

The Arduino is blinking and working but the ethernetport is doing nothing ...

 

EDIT 2:

Okay .. I used the wrong program ... but with the correct one the recognition and software works but no export to my display.

Also no "READY" in the display. I soldered as in the drawing and will check tomorrow, also network is doing nothing. At least the software works and reacts right.

 

 

Any help welcome ...

Edited by TomDK
Posted

Hi Tom,

 

 

I suppose you are using the small Arduino code I made. In that case the Arduino's IP is : 192.168.1.100

The port used is 8892.

 

This you need to tell Gremlins program as can be seen on the post #29 of the thread. Otherwise Gremlins program is not sending the information to the Arduino but to another default IP adress and port.

 

If you don't want to change the IP address in Gremlin's program then you must change in the Arduino so that it matches. I guess it like if I wanted to call you on the phone. If you haven't given me the you phone number then I will be calling someone else.

The reason you Arduino ethernet port is not showing any activity may very well be that Gremlin is sending the information to another IP address and port.

 

@Gus... I don't think so. I have redone it compltely. Having said so I have just used it, I got no glue of the programming behind. Sorry :(

 

Cheers

 

Hans

Posted (edited)

As an total Arduino noob and also fresh into the cmsp scripts it's not much I could add but only some advice to split the troubleshooting into chunks as..:

 

# Check Arduino vs Display to verify it works. Grab one of the generic LCD scetches within Arduinos Libs, check pinout stated for the LCD (edit as needed) upload and verify you get a 'Hello World' or likewise on the LCD

 

# [edit, removed this bullet, already answered] (geeting a bit sleepy ;-)

 

# the Arduino not showing up on the router, do you get a link ? (The little LED of the routerport says something is connected). If not, you see any short 'blips' on same LED when you connect the ethernet cable from the Arduino ?

If link goes active, move to next bullet below

If it 'blips' you might have the router port hard set to a speed/flowcontroll not supported by the Arduino ethershield

if nothing, verify the Ethershield, Arduino LIBs etc (can't help you there, sorry)

 

# Run a CMD Window and make a 'ping <arduino IP address> and see if you get an answer if not, check thatyour PC is on the same subnet (Command window and 'ipconfig' )

Chousen IP address of your Arduino should be in the same 'subnet' as the PC and use same mask. If your PC is for example on 192.168.0.x and you have a standard mask (say 255.255.255.0) it wount reach a 192.168.1.x etc.

(Also verify that your chousen Arduino IP address is free and outside any DHCP scoop defined in your router etc, Firewall settings on your PC might block to the address or port of the Aurduino etc (but std settings is to allow all outgoing traffic but one never knows)

 

Not ventured yet in the cmsp tool IP setup so I'm lost there but as Hans says the target Arduino IP must be defined within there

 

Cheers

Gus

Edited by Duckling

- - - -

Posted

I suggest you should use simple Arduinos Libs ( Hello world) for test display work firstly, and then try test IP

Posted (edited)

Hi Tom,

 

Very valid point from Gus and Moken.

 

After reading your edit #2 it should be a wiring problem. I will try and make a connection sceme a little later instead of the pictures shown on post #29.

The pictures in post#29 is how-to-wire by may be a little difficult to see.

 

Will be back.....

 

Back.. I have attached a quick drawings of the connecting wires between the Arduino Ethernet and the LCD as assigned the my setup.

 

Cheers

Hans

Arduino Ethernet LCD setup.pdf

Edited by Hansolo
Wiring layout attached
  • Recently Browsing   0 members

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