​ ​ ​ ​ IR-controlled Airport model
Results 1 to 2 of 2

Thread: IR-controlled Airport model

  1. #1
    Senior Member
    Join Date
    Jan 1970
    Location
    Groningen, The Netherlands
    Posts
    466

    Default IR-controlled Airport model

    In a joint project my son Joost and I built an airport model a while ago (Joost built and painted the hardboard-based construction, I took care of the electronics part). The model includes 68 programmable LEDs, all of them in three main landing and departure tracks as well as the support tracks. This is probably the one-and-only remote-controlled airport available on the globe that can be steered by a Sony RC!

    The system is based on PICAXE-18X directly connected to an IR receiver (the latter part being an IRM-3638 which has a 2.7 V minimum operating voltage) and connected via i2c with a MAX6955 for controlling the LEDs. The system is powered with a Nokia mobile phone wall unit and a 3.3V voltage regulator. For each track individually, the LEDs can be programmed to be on continuously, to blink or to be off, allowing children to select the departure and/or landing tracks themselves. The global illumination level of the LEDS and the blinking speed can be controlled with RC as well.

    Included as attachments are a picture of the model and the program for running the show (which has comments in Dutch only so I mention that the program is basically a state machine which alters state after an IR signal has been received). The IR receiver output is connected with the interrupt input (input 0), and the interrupt routine sets a parameter "NieuweIRCode" as a signal that a new command has been received:

    Code:
    interrupt:
    	infrain2
    	NieuweIRCode = TRUE
    	PAUSE 200
    	SETINT %00000000,%00000001     ' Enable interrupt (active low) on input 0
    	RETURN
    The variable "NieuweIRCode" is then used together with the "infra" variable (that is associated with the INFRAIN2 command) by the state machine in the program body to decide what to do.
    This IR-interrupt approach is useful in general as it allows the PICAXE to do other work whilst being receptive to IR commands.

    Best regards,
    Jurjen
    http://www.kranenborg.org/electronics
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by kranenborg; 02-03-2011 at 17:38.

  2. #2
    Moderator
    Join Date
    Mar 2008
    Location
    Western Australia
    Posts
    12,183

    Thumbs up IR-controlled Airport model

    Hello Jurjen,

    That project looks quite impressive and use of the Sony IR RC is interesting to avoid lots of switches and wires.

    Since I have in the past designed runway and taxiway lighting for commercial airports here in Australia, one item which either differs from our local scheme or needs checking is the runway numbering. Here the runway (Baan) number is based upon the runway takeoff direction in degrees with the units digit excluded. Thus a runway with a take off direction of 20 degrees is Runway 2. (Okay so far). Then from the other side, the direction is 180+20 = 200 degrees and becomes runway 20 (whereas you have runway 7).

    Now for further enhancements:
    you could have the RESA /threshold LEDs as white as seen from the incoming plane and red as seen of on the runway. (That is white facing out and red facing inwards onto runway).
    Add a T-VARSIS glide slope indicator system (an Australian invention) for each runway and maybe even at least one illuminated wind indicator (wind sock) in the middle of the airport.


    Nevertheless, well done to you and your son.
    Last edited by westaust55; 28-02-2011 at 05:05. Reason: typo time
    westaust55

    Hey Hamlet, 2B OR NOT 2B = $FF

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •