Building my own x-wing

Discussion in 'Science Fiction & Fantasy' started by dnalor, Apr 18, 2012.

  1. dnalor

    dnalor Active Member

    got a problem i can't figure out how to program the arduino that i can use the fade lines for more LED-outputs.

    I just want to enter the outputnumbers so that the program-lines of the fading don't need to be reprogrammed...


    i thought that i can use the part of:

    Init cockpit = {1,2,3,4}
    but that doesn't work..
    after that i tried the

    Init cockpit1= 1
    init cockpit2= 2
    But also didn't work..

    Damn i can't find the solution.

    Also i'm thinking to let the arduino outside of the x wing.
    First i wanted to seal in the arduino.
    but he doesn't fit anymore..
    i think i will use Rj45 connectors for attaching the arduino.

    so instead of an electric cable to the xwing..
    there will be an network cable to the xwing.
    i think it sounds ok...but still thinking about it.

  2. scyeige

    scyeige Member

    Wow! I was kinda expecting to see R2's head turn in that video! It is so real that it's unreal!!!!! Cool!
  3. thegreek270

    thegreek270 New Member

    Hi there dnalor,

    i was following your progress on this X-Wing and it is just faszinating what you have done with it.


    Thanks for the link. I checked it out and noticed that the original is in 1/48 scale.

    Yours is much bigger than that :rolleyes:.

    What scale did you actually use ??

    It looks like 1/24

    And again A really great modell.
    Keep up the good work
    Maybe i will make this modell too someday ???:p

  4. dnalor

    dnalor Active Member

    well some say it's 1:20...
    i hum..i don't really know.i only know that it's a nice size to display :)

    i used the x wing sheets A4 and printed them on A1..and it looked great so i build it.
    Maybe A0 was more epic...But for the learning curve this size was GREAT :)

    This is one of...uh .....this IS the best x wing you will find on the internet at this moment....
  5. Zathros

    Zathros Guest

    I think keeping your Arduino outside of the model, and running a connector through the stand is wise. If in the future, you decide to tie a couple of ships together, electronically, the external nature of the connectors, possibly wired to a header pin located behind an access panel on the model, will facilitate such a thing. Imagine a scale service cart housing the Arduino, and what looks like a service cable running to the ship, and to a couple of other ships. Just thinking out loud. :)
  6. DanBKing

    DanBKing Active Member

    Now that is a good idea..... :thumb:
  7. dnalor

    dnalor Active Member

    Sounds really great..
    But the ship is so big i don't have the space for a space-port..:)

    my arduino friend helped me with the sketch and i'm gonna try if it works what i want..
    then i can start to build the connectors.
  8. dnalor

    dnalor Active Member

    ok this is it.


    All the leds work ..
    they do what i want :)
    All with thanks to my arduino friend PJH from
    it's a dutch forum..but a good one.

    this is the final sketch

    int red[] = {12,7,2}; //
    int green[] = {11,3,4}; //
    int blue[] = {8,5,6}; //
    int flickerLED = 10; //
    int steady = 13; //

    int redNow[3];
    int blueNow[3];
    int greenNow[3];
    int redNew[3];
    int blueNew[3];
    int greenNew[3];
    int flickertime;

    void setup()
    { randomSeed(analogRead(0));// houdt het lekker willekeurig.

    //this sets the output pins
    for (int i=0; i<3; i++){
    pinMode(red, OUTPUT);
    pinMode(green, OUTPUT);
    pinMode(blue, OUTPUT);

    redNow = random(255);
    blueNow = random(255);
    greenNow = random(255);
    redNew = redNow;
    blueNew = blueNow;
    greenNew = greenNow;

    #define fade(x,y) if (x>y) x--; else if (x<y) x++;
    void loop()
    for (int i=0; i<3; i++){
    analogWrite(blue, blueNow);
    analogWrite(red, redNow);
    analogWrite(green, greenNow);
    redNew = random(255);
    blueNew = random(255);
    greenNew[i] = random(255);
    // fade to new colors
    while ((redNow[i] != redNew[i]) ||
    (blueNow[i] != blueNew[i]) ||
    (greenNow[i] != greenNew[i]))

    analogWrite(blue[i], blueNow[i]);
    analogWrite(red[i], redNow[i]);
    analogWrite(green[i], greenNow[i]);

    flickertime = random(20);


    digitalWrite(steady, HIGH); // deze kan uit de loop worden gehaald en naar de setup, omdat er nooit iets aan veranderd.


    Next week the connectors and backplate.[/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i]
  9. dnalor

    dnalor Active Member

    Nothing much the last days..

    The connector wallmounts are attached.

    Attached Files:

  10. dnalor

    dnalor Active Member

    My x wing is almost ready..
    and i'm looking for a next project :)

    Does anybody know if there is an Y wing which is the same details as the imcold X wing?..

    I found an a-wing at which is great but still WIP..
    and the imcold Tie fighter is also still WIP..

    or maybe another super detailed star wars papercraft model
  11. scyeige

    scyeige Member

    How about an AT-AT?
  12. dnalor

    dnalor Active Member

    great but this one isn't that detailed.
    i want to make him a little bigger then standard. :)

    the same is with the at-st..also a great walker but the model isn't made to scale up.

    Attached Files:

  13. Zathros

    Zathros Guest

    I forgot about the size, I guess a service cart would be like parking a large baby carriage in your living room! :)
  14. dnalor

    dnalor Active Member

    I try to make things i never had..or could pay..
    A large falcon....master replicas was to expensive.
    x wing.......captain cardboard was to difficult for me.....and to expensive :)

    and so on.......

    and this is my moment....:)
  15. dnalor

    dnalor Active Member

    backside installed..
    i had to cut it up a little for the 2 rj45 cables..
    but i did it this way so that i can fold back the pieces..
    now the arc piece on the outside for closing the gap

    Now, only i need a wall mounting thing
    And then he is ready for his final and last flight. :)

    Attached Files:

  16. scyeige

    scyeige Member

    Super duper impressive job on this build!!!!
  17. Zathros

    Zathros Guest

    Thanks for posting the code to the Arduino, I think many people will reference that, and the link you gave! This ranks as one of the best build threads I've seen! :)
  18. dnalor

    dnalor Active Member

    Thanks for the kind words..
    I have tried to get a new project pass my wife..
    but it didn't work.

    I wanted to build the x wing (or try to build) 1:2 when i calculated correct.

    On the picture you see one sheet (A0) with double the size i have build now, and the large nose cone would be 1:2..

    the wife said, no. damn :)

    Attached Files:

  19. Rhaven Blaack

    Rhaven Blaack ADMINISTRATOR Administrator

    1:2 scale? That would be HUGE!!! The detail on such a model would be absolutely breath taking. That you most definitely be a museum piece. Where would you put such a LARGE fighter like that?
    For structural integrity, you would have to use (at the least) 2mm card board.

    Either way, good luck with continuing to convince your wife that building this is a good thing.
  20. dnalor

    dnalor Active Member

    In our house my rooms where i am king :) are the computer room..and the attic.
    the attic will become my star wars room..i still have to rebuild it..
    and my idea was to place in the top of the roof/room as much of the x wing as possible would fit.

    But that idea was shotdown :-(..

Share This Page