Hansolo Posted April 24, 2013 Posted April 24, 2013 IMHO the Ethernet shield with the W5100 chip is larger than the shield with ENC28J60. Hope you got the large once :thumbup: 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
TomDK Posted April 25, 2013 Posted April 25, 2013 The ordered one looks more than the right picture, so I am looking forward . Thanks again. A workmate will have after his vacation a look on a solution for the raspberry. Will see ... My old, sold, pit: http://bilder.einzelart.de/thumbnails.php?album=74&page=3
Rockeyes Posted April 25, 2013 Posted April 25, 2013 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
Hansolo Posted April 25, 2013 Posted April 25, 2013 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 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
Rockeyes Posted April 25, 2013 Posted April 25, 2013 (edited) Very handy thanks again and good luck with the move:) PS. All the parts are ordered. Found some Black Background displays http://www.ebay.co.uk/itm/170972304955?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649 Edited April 25, 2013 by Rockeyes [sIGPIC][/sIGPIC] HTC Vive Windows 10 Maximus VIII Hero i7-6700k CPU @ 4.2GHz 16GB Nvida GeForce GTX 1080. Ram Duel SSD's
Hansolo Posted April 25, 2013 Posted April 25, 2013 Thanks. Lcd looks nice. Just remember that you then need to use the 3.3VDC from the Arduino instead of the 5VDC I have used in the pictures :smilewink: Cheers Hans 1 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
Rockeyes Posted April 25, 2013 Posted April 25, 2013 (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 :( Edited April 27, 2013 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
moken Posted April 27, 2013 Posted April 27, 2013 Hi Gremlin77, I have format problem , I already PM you, please check, Thank you
TomDK Posted April 27, 2013 Posted April 27, 2013 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: My old, sold, pit: http://bilder.einzelart.de/thumbnails.php?album=74&page=3
Rockeyes Posted April 27, 2013 Posted April 27, 2013 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
Hansolo Posted April 27, 2013 Posted April 27, 2013 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 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
icemaker Posted April 29, 2013 Posted April 29, 2013 (edited) i use this one : http://www.adafruit.com/products/347 less wires and more characters 20x2, closer to the real one. still working on it, with teensy 2.0 Just managed to create dummy text for now. Edited April 29, 2013 by icemaker Add picture
moken Posted April 29, 2013 Posted April 29, 2013 (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? 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 April 30, 2013 by moken
Hansolo Posted April 30, 2013 Posted April 30, 2013 Hi Moken, I think Gremlin made it specifically for LCD 2x16, which is why a few of the letters are missing, e.g. CHF instead of CHAF. Looks very easy with the SPI setup you and Icemaker is using :thumbup: That Ariescon looks very interesting. Cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
icemaker Posted April 30, 2013 Posted April 30, 2013 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.
agrasyuk Posted April 30, 2013 Posted April 30, 2013 Intresting how many people are following this thread and building their panel !!!! : I'm subscribed :) Sadly it will be a while till I can get to pit building again. Ice, That VFD looks awesome ! Anton. My pit build thread . Simple and cheap UFC project
Duckling Posted May 1, 2013 Posted May 1, 2013 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 - - - -
TomDK Posted May 1, 2013 Posted May 1, 2013 Great !! Why will you use the ethernet solution if COM works for you ? I recieved my shield yesterday and maybe tonight I try to install ... Great thread !! My old, sold, pit: http://bilder.einzelart.de/thumbnails.php?album=74&page=3
Duckling Posted May 1, 2013 Posted May 1, 2013 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 :-) - - - -
TomDK Posted May 1, 2013 Posted May 1, 2013 (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 May 1, 2013 by TomDK My old, sold, pit: http://bilder.einzelart.de/thumbnails.php?album=74&page=3
Hansolo Posted May 1, 2013 Posted May 1, 2013 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 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
Duckling Posted May 1, 2013 Posted May 1, 2013 (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 May 1, 2013 by Duckling - - - -
moken Posted May 2, 2013 Posted May 2, 2013 I suggest you should use simple Arduinos Libs ( Hello world) for test display work firstly, and then try test IP
Hansolo Posted May 2, 2013 Posted May 2, 2013 (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 HansArduino Ethernet LCD setup.pdf Edited May 2, 2013 by Hansolo Wiring layout attached 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
TomDK Posted May 3, 2013 Posted May 3, 2013 Thanks so far ! Meanwhile I could ping the Arduino but the display is still blank. Yesterday I waited 6 hours for the update to be installed, now I have to reset all my setups, helios, TFS3 and so on and will start with your hints on the weekend. I wired from HMA´s nice drawing but will re-check ! My old, sold, pit: http://bilder.einzelart.de/thumbnails.php?album=74&page=3
Recommended Posts