HMA's cockpit build - Page 3 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 02-02-2013, 02:13 PM   #21
Cali
Veteran
 
Cali's Avatar
 
Join Date: Oct 2010
Location: Tucson, Arizona
Posts: 3,644
Reputation power: 85
Cali is a splendid one to beholdCali is a splendid one to beholdCali is a splendid one to beholdCali is a splendid one to beholdCali is a splendid one to beholdCali is a splendid one to beholdCali is a splendid one to beholdCali is a splendid one to beholdCali is a splendid one to beholdCali is a splendid one to beholdCali is a splendid one to behold
Default

Nice job
__________________
i5-2500k @ 3.3, Asus P8Z77-V LE mobo, Windows 7 64-bit, 8GB 1866mhz EVGA GTX 670 FTW 2GB, 256GB SSD, 500GB WD, TM Warthog, TM Cougar MFD's, Saitek Combat Pedals
TrackIR 5, G15 keyboard, 48" Sony LED (main), 24" monitor



Cali is offline   Reply With Quote
Old 02-02-2013, 03:24 PM   #22
agrasyuk
Senior Member
 
agrasyuk's Avatar
 
Join Date: Aug 2011
Location: Buffalo Grove, IL
Posts: 1,751
Reputation power: 21
agrasyuk is a glorious beacon of lightagrasyuk is a glorious beacon of lightagrasyuk is a glorious beacon of lightagrasyuk is a glorious beacon of lightagrasyuk is a glorious beacon of lightagrasyuk is a glorious beacon of lightagrasyuk is a glorious beacon of lightagrasyuk is a glorious beacon of lightagrasyuk is a glorious beacon of lightagrasyuk is a glorious beacon of lightagrasyuk is a glorious beacon of light
Default

Yep. Looks very good.
Waiting to see more
__________________
Anton.

My pit build thread .
Simple and cheap UFC project
agrasyuk is offline   Reply With Quote
Old 02-02-2013, 03:56 PM   #23
Ninefingers
Member
 
Ninefingers's Avatar
 
Join Date: Aug 2010
Location: Mediterranean Sea
Posts: 132
Reputation power: 8
Ninefingers is on a distinguished road
Default

I like a lot the embeded rotary encoders idea on the front panel
Nice pit mate ;-)
__________________
My TM Warthog DIY extension tutorial

C2Duo E8600 @ 4.4Ghz. | Asus Rampage Formula X48 |
MSI GTX 560Ti OC |
8Gb.Corsair DDR2 RAM @ 1103Mhz. | Crucial M4 128Gb. SSD | 850W. PSU |
HOTAS Warthog | Saitek Pedals | TIR 5 | Helios | 24" Monitor/22" Touchscreen





Last edited by Ninefingers; 02-02-2013 at 04:05 PM.
Ninefingers is offline   Reply With Quote
Old 02-03-2013, 03:33 PM   #24
Hansolo
Senior Member
 
Hansolo's Avatar
 
Join Date: Aug 2012
Location: Denmark
Posts: 1,373
Reputation power: 13
Hansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really nice
Default

Thanks gents. Still a lot of work but it is slowly getting somewhere
__________________
Hansolo is offline   Reply With Quote
Old 02-06-2013, 03:03 PM   #25
Hansolo
Senior Member
 
Hansolo's Avatar
 
Join Date: Aug 2012
Location: Denmark
Posts: 1,373
Reputation power: 13
Hansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really nice
Default CMSP victory with Arduino

Woohoo!!!!!!

I finnally got a break through with the outstanding software made by Tacno/Gremlin77.

I had long ago bought a an Arduino Uno with a 16x2 LCD. It is now fitted with an Ethernet shield (http://www.ebay.co.uk/itm/2012-Ether...item20ce65a8a6)

I have stacked them together and placed the lcd on a small prototype shield on the top.

The Ethernet shield is using pins 10, 11, 12 & 13 on the Uno. The LCD is using :
RS - pin 9
Enable - pin 8
DB4 - pin 6
DB5 - pin 5
DB6 - pin 3
DB7 - pin 2

After a lot of trial/error and reading on Google I finnaly found something which works. May not be very ggod programming but it works.
This is the Arduino code:
***** program start*****
// CMSP using Tacno/Gremlin77 export
// by HMA
#include <Ethernet.h>
#include <SPI.h>
#include <LiquidCrystal.h>
#include <EthernetUdp.h> // UDP library from: bjoern@cs.stanford.edu 12/30/2008
#include <string.h>

////////////////////////////////////////////////////////////////////////
//CONFIGURE
////////////////////////////////////////////////////////////////////////
byte ip[] = { 192, 168, 1, 100 }; //Manual setup only
byte gateway[] = { 192, 168, 1, 1 }; //Manual setup only
byte subnet[] = { 255, 255, 255, 0 }; //Manual setup only

// if need to change the MAC address (Very Rare)
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };

EthernetServer server = EthernetServer(80); //port 80
unsigned int localPort = 8892; // local port to listen on

// buffers for receiving and sending data
char packetBuffer[32]; //buffer to hold incoming packet,

// An EthernetUDP instance to let us send and receive packets over UDP
EthernetUDP Udp;

String data;

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(9, 8, 6, 5, 3, 2);
//Pins 10,11,12 & 13 are used by the ethernet shield
////////////////////////////////////////////////////////////////////////

void setup(){
Serial.begin(9600);

//Initialise LCD
lcd.begin(16, 2); // set up the LCD's number of columns and rows:
lcd.print("Ready"); // Print a message to the LCD.

//start ethernet and UDP
Ethernet.begin(mac);
Ethernet.begin(mac, ip, gateway, subnet); //for manual setup
Udp.begin(localPort);
}

void loop(){
int packetSize = Udp.parsePacket();

if(packetSize) // if there's data available, read a packet
{
// read the packet into packetBufffer
Udp.read(packetBuffer,32);
data = packetBuffer;

// Write data to LCD in two lines
lcd.clear();
lcd.setCursor(0,0);
lcd.print(data.substring(0,15));
lcd.setCursor(0,1);
lcd.print(data.substring(17,32));

delay(300);
}
}

****program end****

Big thanks to Tacno and Gremlin// to making this even possible. Only downside to above is that second line is visible eventhoug the CMSP is turned off in the simulator but I can live with it :-D

Small clip: http://www.youtube.com/watch?v=L9tUCRZiXvc

cheers

Hans
Attached Thumbnails
Click image for larger version

Name:	IMAG0702.jpg
Views:	556
Size:	931.9 KB
ID:	76906  
__________________

Last edited by Hansolo; 02-06-2013 at 03:34 PM.
Hansolo is offline   Reply With Quote
Old 02-06-2013, 03:28 PM   #26
Gremlin77
Member
 
Gremlin77's Avatar
 
Join Date: Dec 2011
Location: Germany, Augsburg
Posts: 295
Reputation power: 6
Gremlin77 will become famous soon enoughGremlin77 will become famous soon enoughGremlin77 will become famous soon enough
Default

Oh, the second line is visible when CMSP is turned off???
Will look for the bug these days.
Gremlin77 is offline   Reply With Quote
Old 02-06-2013, 03:33 PM   #27
Hansolo
Senior Member
 
Hansolo's Avatar
 
Join Date: Aug 2012
Location: Denmark
Posts: 1,373
Reputation power: 13
Hansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really nice
Default

Hi Gremlin,

May also just be my programming which is not good enough

Anyway I am am more than happy. Thought this would never be possible. Thanks a lot

cheers

Hans
__________________
Hansolo is offline   Reply With Quote
Old 03-04-2013, 02:10 PM   #28
Hansolo
Senior Member
 
Hansolo's Avatar
 
Join Date: Aug 2012
Location: Denmark
Posts: 1,373
Reputation power: 13
Hansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really nice
Default

A little update in the building process.

I have finally managed to get my modified landing gear panel up and running. Seeing Anton's outstanding work gave me a lot of good idea to the mechanical side. Thanks a lot. It is a easy solution utilizing the Helios screen to show the landing gear and flaps indication. The TEMS DATA button is not used in the simulator so I have hot-wired the on-off switch for the LCD instead.

http://www.youtube.com/watch?v=RutKkDSRYc0

The CMSP panel is progressing. Still missing to hook up the new LCD display black with green letters to the Arduino board but I am getting there.
http://www.ebay.co.uk/itm/1106386649...84.m1497.l2649

Finally I by accident came to buy an Asus GTX680 4GB card and after some struggling with getting it to work it is not online running at 45-50fps while the old one did only 20-25 fps

Cheers

Hans
Attached Thumbnails
Click image for larger version

Name:	IMAG0722.jpg
Views:	349
Size:	1.03 MB
ID:	78008   Click image for larger version

Name:	IMAG0759.jpg
Views:	376
Size:	884.9 KB
ID:	78009  
__________________
Hansolo is offline   Reply With Quote
Old 04-20-2013, 08:16 PM   #29
Hansolo
Senior Member
 
Hansolo's Avatar
 
Join Date: Aug 2012
Location: Denmark
Posts: 1,373
Reputation power: 13
Hansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really nice
Default

Yes... finally it got hold of a oxygen regulator panel via E-bay. Pretty sure this is going to work in the cockpit with a little fiddling about.

Also got hold of an IFF panel from a Nimrod. Not identical to the A-10 but some of the parts look familiar. Since this is not functioning in the game I haven't decided yet if I am going install as is or modify to resemble the real one.

More good stuff is on its way once it has passed customs
Attached Thumbnails
Click image for larger version

Name:	IMAG0878.jpg
Views:	369
Size:	837.4 KB
ID:	79927  
__________________
Hansolo is offline   Reply With Quote
Old 06-03-2013, 06:51 PM   #30
Hansolo
Senior Member
 
Hansolo's Avatar
 
Join Date: Aug 2012
Location: Denmark
Posts: 1,373
Reputation power: 13
Hansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really niceHansolo is just really nice
Default Push-pull potentiometers

Hello gents,

Not really an update of the pit building as I am still strugling with getting the house ready.

However that does not mean that I cannot buy stuff and have therfore just recived these Allen Bradley push-pull potentiometers from the US;
http://www.electronicsurplus.com/Item/157068-1.jpg

They look absolutely perfect for the Intercom panel which is why I bought them The difference in length between push and pulled is app. 3'ish mm. I guess that it is probably 1/8"

Please observe though that they are NOT 1Kohms. I have measured them to app. 10Kohms. Anyway I am certain they will do the job. A small test reveal them to be linear.

Cheers

Hans
Attached Thumbnails
Click image for larger version

Name:	IMAG1053.jpg
Views:	247
Size:	564.3 KB
ID:	83048  
__________________
Hansolo is offline   Reply With Quote
Reply

Tags
a10c panel cockpit, cockpit building, cockpit controls

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:15 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.