Results 1 to 10 of 47
Thread: total newb question
-
03-16-2009, 02:34 PM #1
- Join Date
- Mar 2009
- Location
- boston ma
- Posts
- 86
total newb question
could someone please point me in the dirrection as to how to light a led that is on a momentary switch.. im trying to get it so when i hit my ap engage button a light comes on and stays on letting me know auto pilot is on.
-
03-16-2009, 02:51 PM #2
Hi,
What interfacing solution are you using? In general your hardware output for the LED must be linked in software to the appropriate FSUIPC offset for the desired function, like AP ENGAGE.
BuddyM
-
03-16-2009, 03:16 PM #3
- Join Date
- Mar 2009
- Location
- boston ma
- Posts
- 86
i am using the desktop aviator rotary encoder and usb to 20 button interface
-
03-16-2009, 03:26 PM #4
I am not well versed with this hardware, but scanning the product pages on the website it looks like these boards do not have outputs. Maybe someone else here has some expertise, but to me it looks like inputs only.
BuddyM
-
03-16-2009, 03:50 PM #5
- Join Date
- Mar 2009
- Location
- boston ma
- Posts
- 86
buddym thank you for the quick return if that is the case do you know of a way to incorporate some diy outputs
-
03-16-2009, 04:05 PM #6
Well depending on your comfort level and electronics skills there are a couple... The no-hardware method would be a straight connection to output pins on a parallel printer port... BUT, you still have to get software to get the FSUIPC offset data to your hardware. You could write a application in C or VB to read the FSUIPC data and the take action on the parallel port pins accordingly... Jan Axelson's book on parallel ports would be the place to start. Another method would be using a PIC or AVR microcontroller in HID mode to drive some outputs via USB, this will require some small $$ for chips. This is all depending upon skill levels with such things, and how much your time is worth compared to buying something assembled and tested. I love to build things are write code (not an expert at either), so it's ok for me sometimes.....
that being said, I use the Opencockpit mastercard in my sim, but I am very interested in trying out the Bodnar cards.
Buddy
-
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikesdjcevera20 thanked for this post
-
03-16-2009, 04:10 PM #7
- Join Date
- Mar 2009
- Location
- boston ma
- Posts
- 86
i love to build things however im not too familiar with writing code so that would be fun to try....do you know if the oc master card kit comes programed also do you know of somewhere i could get some ideas as to how to do the pic controller method you spoke of? can i use oc master card with desktop products or would they conflict
-
03-16-2009, 04:47 PM #8
- Join Date
- Nov 2005
- Location
- Canada
- Posts
- 148
If the led is built into the switch which iam assuming it is from your question, then you need to run a seperate power line to your switch. The switch will have its own circuit for the light. This will work great if you physically push the switch to engage then have to push the switch same again to disengage the ap. If your wanting to turn the light off via software by using a different switch to disengage (in the yoke for example) then you probably going to have to go with a interface solution unless your good at electronics.
Edit: http://www.flightsim.com/main/howto/ortek2.htm this will give an idea how you can do it if the led is seprerate from a switch, but DONT ever hook power to a switch if it doesnt have a seperate circuit such as a spst switch. You may fry your board.
Gary
-
03-16-2009, 05:33 PM #9
- Join Date
- Mar 2009
- Location
- boston ma
- Posts
- 86
from the sonds of it it might be easier for me to switch to oc products as there master card has outputs...hmmmmm guess i wish i did a little better research before i purchased the stuff from desktop aviator...ah well lesson learned....
-
03-17-2009, 01:48 PM #10
well so far the OC products have been pretty good in my opinion. I have 2 mastercards and a USB expansion card, plus 3 displays cards to drive 7-segment displays. I have managed to get my FCU funtional so far, and will be trying to the EFIS and multi-radio panels working next. Kiek and others here are far more experienced with them than I am and they still use them I think. The OC mastercard has no programming on the card itself, but there is software on the pc (free) that you must use to make it work. These are the IOCARDS and SIOC. SIOC has less capabilities, but is easy to implement, one of the first "tests" you do is to make a switch toggle the strobe, and light an LED to indicate that is on. SIOC is very powerful and can be made to do very copmplex things, I am not using SIOC yet, but very soon.
Compared to writing your own code to drive a PIC or AVR module that you build, using OC would be easier.
For PIC info I would google the PIClist and look at some of the PIC examples on youtube and instructables. For AVR stuff look at the avrfreaks website and again at youtube. It is worth mentioning FSBUS too, that system seems to have matured a great deal, I almost went with it when I started.
Overall I would say that going with OC is a better bet than designing a custom solution using AVR/PIC, if for no other reason that so many people are available to help you when you run into problems. Given that some of the buildes using OC have been at this a LONG time, there is little they haven't run into. Looking through the forums here you will see numerous builders such as kiek and brianwilliamson who have accomplished a huge amount using OC, and they are always very helpful.
BuddyM
Similar Threads
-
NewB Multi Monitor Question
By ohioavi in forum Computer Hardware SetupReplies: 0Last Post: 02-28-2009, 12:54 PM -
FSXpand questions from an newb
By wingsuitdude in forum Computer Hardware SetupReplies: 10Last Post: 02-28-2009, 09:04 AM -
Newb question again Overhead Panels
By 737NGDriver in forum Where to Start Building a Home CockpitReplies: 2Last Post: 12-18-2008, 06:46 AM -
Newb: WideFS and WidevieW !!
By Kareem Hizam in forum Cockpit Outside VisualizationReplies: 4Last Post: 11-04-2008, 12:32 AM -
Newb looking for HELP!
By okrawinkel in forum Where to Start Building a Home CockpitReplies: 8Last Post: 10-02-2008, 12:04 PM
KIDS TEEN 9year GIRL DAUGHTER WEBSITE: OPEN IN AN ANONYMOUS BROWSER (the link does not work in...
Offsets for Trottle