Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33
  1. #11
    150+ Forum Groupie Tony Hill's Avatar
    Join Date
    Jun 2008
    Location
    South West, Western Australia
    Posts
    245
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Help on small Phidgets job...U/C and low volts.

    Ok, I couldn't even get teh programme to run but you gave me an idea ...that it was the project that was corrupt...I actually found that even though I had deleted the whole program and the directories, when i reinstalled it bought back my project!!!! So that was stuffing it up...I deleted the project (how the ^&%%^$%^& did that survive a complete delete and reinstall??)

    So I now have it starting again but will have to leave it until the weekend to have another look at getting it working....cheers mate!! and hope I can lean on you a bit more as I go.


    Thanks


    Darryl
    "Tony"

    In memory of Flt Lt Tony Hill who, on 5 December 1941, at the request of Doctor R V Jones, successfully photographed a small "Würzburg radar" at Bruneval on the French coast. This from a height of only 200 ft, at high speed, under fire and from a camera mounted obliquely behind the cockpit.

  2. #12
    300+ Forum Addict gokhotit's Avatar
    Join Date
    Oct 2004
    Location
    Tucson, AZ
    Posts
    308
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Help on small Phidgets job...U/C and low volts.

    lean away..I will help where I can..
    I'm not replicating anything, because I like to fly everything.
    http://www.youtube.com/watch?v=HG1LP3xxn0Q

  3. Thanks Tony Hill thanked for this post
  4. #13
    150+ Forum Groupie Tony Hill's Avatar
    Join Date
    Jun 2008
    Location
    South West, Western Australia
    Posts
    245
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Help on small Phidgets job...U/C and low volts.

    Thanks for that. Just to make sure I have the concept right:

    For the "Gear down light":
    I assign a "high value" to the offset (0FB4 being left gear) say 16383 and make this switch the light on by reading the FSoutput through the valve and into the "output". So when I drop the gear, the offset increases from 0 to 16383 as the gear goes down. When it is down and locked (16383) the light comes on. When I pull th gear up, the value decreases steadily to 0 and the light goes off as soon as the value is 16382 or lower (approximate numbers of course).

    I have no "gear transit light" so the other thing needed is to do the opposite on another phidget port for the "up" figure (ie 0FB4 = o) to turn the light on when the gear is "up".

    At the moment I can turn the light on and off with the test button, can get the offset reading to follow the sim...but can't make the light come on at the appropriate value?

    I have organised some more time Wednesday night now and hope to crack it.

    The "UP" is lit by two LEDs and the "DOWN" by four, I presume I need a port for each light and a duplicated circuit for each port.

    How am I looking so far?

    Darryl
    "Tony"

    In memory of Flt Lt Tony Hill who, on 5 December 1941, at the request of Doctor R V Jones, successfully photographed a small "Würzburg radar" at Bruneval on the French coast. This from a height of only 200 ft, at high speed, under fire and from a camera mounted obliquely behind the cockpit.

  5. #14
    builder
    Join Date
    Jan 2007
    Location
    Texas
    Posts
    582
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Help on small Phidgets job...U/C and low volts.

    You have got the SHUTOFF property set correctly, right?

  6. Thanks Tony Hill thanked for this post
  7. #15
    150+ Forum Groupie Tony Hill's Avatar
    Join Date
    Jun 2008
    Location
    South West, Western Australia
    Posts
    245
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Help on small Phidgets job...U/C and low volts.

    Quote Originally Posted by CocnutAir View Post
    You have got the SHUTOFF property set correctly, right?

    I think so Alan,

    the Valve section, shutoff is set to "true' as suggested.

    I think the main problem is that I am not at all sure where to put each value, ie the vavle, the light and the input all have spaces for "max" and "Min"... but I can't see whether i need the 16383, for instance, in ALL of them, or just the input etc.

    I have a mental block when it comes to software. I used to be able to pull it apart (in the days of dOS and "BASIC") and do whatever i wanted but these days unless it is a GUI and I understand it (ie it is "moron proof") I don't seem to be able to grasp it easily...I either have to do it "parrot fashion" or spend ages learning the software inside out (as I did in over a 100 hours or so with the gauges). It doesn't come naturally at all these days!!

    I can at least see the philosophy behind your marvellous software now, just the details are not sinking in! I'll get there!

    thanks


    Darryl
    Last edited by Tony Hill; 08-11-2010 at 11:09 AM. Reason: Managed to get my name AND Alan's wrong in same post!!!
    "Tony"

    In memory of Flt Lt Tony Hill who, on 5 December 1941, at the request of Doctor R V Jones, successfully photographed a small "Würzburg radar" at Bruneval on the French coast. This from a height of only 200 ft, at high speed, under fire and from a camera mounted obliquely behind the cockpit.

  8. #16
    300+ Forum Addict gokhotit's Avatar
    Join Date
    Oct 2004
    Location
    Tucson, AZ
    Posts
    308
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Help on small Phidgets job...U/C and low volts.

    lets use your gear down light. Goto the valve for that light. Make sure Shutoff is set to true (last value for the valve),got the ComponentValue section set Minvalue to 16382 and maxvalue to 16383. Light will only come on when the gear is down.
    I'm not replicating anything, because I like to fly everything.
    http://www.youtube.com/watch?v=HG1LP3xxn0Q

  9. Thanks Tony Hill thanked for this post
  10. #17
    builder
    Join Date
    Jan 2007
    Location
    Texas
    Posts
    582
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Help on small Phidgets job...U/C and low volts.

    Let me chip in with an analogy:
    The valve is like an adjustable pressure valve on a steam pipe.
    The FS Variable supplies the "steam pressure".
    The valve shuts off the steam supply (Shutoff = True) when the supplied "pressure" is outside its Min and Max Value. If the pressure from the FS Variable is outside the valve's range, the valve switches off the steam supply completely. The digital output that is connected downstream to the valve receives no steam and the light goes off (LEDs aren't really steam-powered these days, at least not directly).

    If Shutoff = False, the valve will restrict the line "pressure" to a range between the valve's Min and Max setting. In this mode, the valve acts more like a regulator.

    I only added this steam analogy to, hopefully, help others who might also be struggling with the concept, not to imply in any way that you were being slow. I don't want you to get wrong idea. Any person that can replicate a Spitfire is pretty sharp.

    Let me know if you think I should try this approach in the documentation. If this did not work for you let me know too.

    Regards,
    Alan
    Last edited by CocnutAir; 08-11-2010 at 01:12 AM. Reason: wordcrafting

  11. Thanks Tony Hill thanked for this post
  12. #18
    150+ Forum Groupie Tony Hill's Avatar
    Join Date
    Jun 2008
    Location
    South West, Western Australia
    Posts
    245
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Help on small Phidgets job...U/C and low volts.

    OK, gokhotit... Thanks, yes I see so I was on the right track.

    Alan,

    No offence taken, largely because when it comes to this I AM slow....but I am at last starting to catch on, the steam makes sense.

    I have, tonight, got the Undercarriage lights working. I have so far been unable however to tie them to the main battery. I have two lights for "UP", one left and one right and four lights for DOWN..two left and two right...ONLY so that each letter in the words has its own LED for light distribution. So at the moment when the left gear retracts, say, that light comes on "U" and then a few seconds later the "P" comes on as the right gear hits the well. This is necessary to track both wheels, but it is NOT how the Spitfire gear indicator works. In reality unless BOTH wheels have retracted fully NO "UP" indication comes on...same for "DOWN"

    So I have to work out how to give them independant lights (done) but make them co-dependant (to be done). I guess the theory for that will work for the lights being restricted to when the Generator is on!!

    The LOW VOLTS light is also problematic as I can't seem to find which offset the A2A Spitfire uses for the light.


    Thanks guys, any help wth the next step would be appreciated....I am out of town on business until Saturday now though,

    THANK YOU BOTH!!!!!!!!


    Darryl
    "Tony"

    In memory of Flt Lt Tony Hill who, on 5 December 1941, at the request of Doctor R V Jones, successfully photographed a small "Würzburg radar" at Bruneval on the French coast. This from a height of only 200 ft, at high speed, under fire and from a camera mounted obliquely behind the cockpit.

  13. #19
    builder
    Join Date
    Jan 2007
    Location
    Texas
    Posts
    582
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Help on small Phidgets job...U/C and low volts.

    If there was an offset for a switch that detected when the left undercarriage is up and locked and another offset for a switch on the right undercarriage would that help?

    You could connect both switches in series to the UP lights. If both switches are closed the UP lights would go on. In other words, both switches would have to be closed for the UP lights to come on?
    Each switch only closes when their respective undercarriage is up and locked.
    Would that work?

    Regards,
    Alan
    Last edited by CocnutAir; 08-13-2010 at 12:16 AM.

  14. Thanks Tony Hill thanked for this post
  15. #20
    300+ Forum Addict gokhotit's Avatar
    Join Date
    Oct 2004
    Location
    Tucson, AZ
    Posts
    308
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Help on small Phidgets job...U/C and low volts.

    That sounds like it might work.. If both offsets are in the same line as both lights with a valve in between each offset, then both lights at the end, sound good. Something like this:

    --rt gear--valve--lr gear---valve---U light---P light--
    I'm not replicating anything, because I like to fly everything.
    http://www.youtube.com/watch?v=HG1LP3xxn0Q

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. 5 volts for backlighting etc?
    By Drewsta in forum I/O Interfacing Hardware and Software
    Replies: 3
    Last Post: 09-30-2010, 09:05 AM
  2. SIOC help with low volts light needed
    By Steve1970 in forum General Aviation (GA) Builder Disccusion
    Replies: 9
    Last Post: 02-23-2010, 09:47 PM
  3. Small question
    By mondo50m in forum General Builder Questions All Aircraft Types
    Replies: 2
    Last Post: 11-03-2009, 04:04 AM
  4. Looking for a small lcd ?
    By spitfire9 in forum Cockpit Parts and Motion Platforms
    Replies: 12
    Last Post: 02-04-2008, 12:19 PM
  5. Two small questions
    By Andras Kozma in forum PM General Q & A
    Replies: 8
    Last Post: 12-03-2004, 02:29 PM