Results 1 to 10 of 13
-
02-18-2011, 06:13 PM #1
- Join Date
- Jan 2009
- Location
- Denmark
- Posts
- 35
Opencockpit and usb output
I want to build some "lights" using the opencockpits usb output board. There's only one GND on the board so how do i connect more LED's? Do i need some kind of split cable or how to do it?
Also what is the best way to connect to an LED - just solder the cable to the led-legs? or?
Sorry i'm kinda new to this - hope i can get some help
-
02-18-2011, 08:54 PM #2
- Join Date
- Jul 2006
- Location
- Kansas
- Posts
- 149
Re: Opencockpit and usb output
If you are using the onboard USB power to light your LEDs you connect each LED ground to each individual output connector on the board, and the LED + side all connect together to the power + terminal on the board. Ignore the GND. The positive side of ALL the LEDs maust be ganged together to the + slot on the board.
If you use an external power supply then you connect the power supply - to the GND slot on the board and then connect the power supply + directly to your LED or light bulbs. Once again the + from ALL of the LEDs are ganged together.
So to sum it up, The 64 outputs at this card share a common +5V. This is different from the 38 outputs at a Master card that share a common GND.
In SIOC you do not have to take these differences into account, writing a '1' to an output in SIOC will always make the led light.
justinHome of the world's first South American DC-8 jetliner.
Home of the Blue Angel F-4 Phantom simulator.
-
02-19-2011, 04:45 AM #3
Re: Opencockpit and usb output
Hi there,
also dont forget to protect the leds and the card with a resistor for each led (limit the current through the led)
one remarks about the above posst. The USBoutput card allows also tu use higher voltage for the outputs. Hust need to take care that the jumpers are in the right position so the higher voltage doesnt reach the usb port electronics. These are then powered by the USB port of the PC and the outputs receive there voltage from the external power. I think the card allows up to 50V external power. Of course if you only power leds then 5v is enough.
Greetz PeterFS9+PM+AST+opencockpits
-
02-19-2011, 05:02 AM #4
- Join Date
- Jan 2009
- Location
- Denmark
- Posts
- 35
Re: Opencockpit and usb output
Hey,
Thanks for the answers - i'm still abit confused (not very good in electronics)
so lets say i have 2 LEDs i want to connect to that board. Where should the two wires from each leg of the LED go? Should they go to the numbers on the board? or - can you try to be more specific?
thanks!
-
02-19-2011, 11:04 AM #5
- Join Date
- Jul 2006
- Location
- Kansas
- Posts
- 149
Re: Opencockpit and usb output
(1) What voltage are your LEDs set up for? As Peter pointed out, LEDs are basically 3v DC. If you are using the card's onboard power it provides 5v. You will need a resistor on the positive side of each individual LED to make them work on 5v. Im not sure what size resistor you need for this. You should be able to purchase LEDs with resistors already connected. I purchase LEDs configured for 12v on Ebay.
(2) LEDs are ground and positive specific. The ground side of each LED connects to the numbers(outputs) side of the card. So one LED ground goes to 0, One LED ground goes to 1, etc. To quote the manual, "Numbered from 0 to 63, there we can connect the ground poles (GND) of leds, lamps or another elements." The posotive side to all of the LEDs you must connect together into one connected bundle and then connect this bundle to the Positive (V+) on the card.
(3) WARNING: If you want to connect an EXTERNAL power source for the outputs with a different voltage than +5V and you have the jumper1 and jumper2 connected, the card will be damaged.
Take a close look at page 3 of the manual. It shows 5 volt light bulbs (the circles with x through them) connected to the card and it also shows LEDs with resistors between the LEDs and the 5v power supply.
http://www.opencockpits.com/uploads/...utputs_eng.pdfHome of the world's first South American DC-8 jetliner.
Home of the Blue Angel F-4 Phantom simulator.
-
02-19-2011, 12:13 PM #6
Re: Opencockpit and usb output
Just for clarification: leds have a 'Forward Voltage' ranging from 1.5 to say 4.6 V. Most of them are 1.5 V. A led with a forward voltage of N Volt will work with any Voltage greater then N Volt. However, a led has no resistance, so that's where the resistor comes in. You have to put a resistor in series in order to limit the forward diode current (through the led) according to its specification (mostly 20 mill ampere), otherwise your led will burn to death immediately...
At this page you can calculate the resistor depending on Supplied Voltage, Forward Voltage and optimal diode current: led calculator
-
02-20-2011, 05:03 AM #7
- Join Date
- Jan 2009
- Location
- Denmark
- Posts
- 35
Re: Opencockpit and usb output
Ok, I think i get it now. Some more questions:
1. How do i know which resister to buy?
2. Should i buy a resister for each LED or just one for all of them set to the 5v on the board?
3. The LED's available at OC - are they 3v?
4. Is there a good way to collect all the wires into one (to be inserted to the 5v)? Is there some kind of device that will collect wires - or how should this be done?
Thanks in advance
-
02-20-2011, 02:17 PM #8
Re: Opencockpit and usb output
1) by calculation, see the led calculator link in my post
2) each led needs a resistor
3) that depends on the type of led, ask for specifications. But every electronics shop sells leds, there's no need to buy them from OC.
4) the only thing that's important is that he current can flow, so make good contact. How you physically solve that is up to your imagination, but it is certainly wise to use a bread board or something like that to solder the +5V wires together and let one wire go to the +5V.
-
02-21-2011, 01:51 AM #9
- Join Date
- Jul 2006
- Location
- Kansas
- Posts
- 149
Re: Opencockpit and usb output
These LEDs already have resistors attached,
http://cgi.ebay.com/Wired-LED-Bright...item27acaccd3e
Search Ebay and there are other colors available.
Regards,
JustinHome of the world's first South American DC-8 jetliner.
Home of the Blue Angel F-4 Phantom simulator.
-
02-21-2011, 01:52 AM #10
- Join Date
- Jul 2006
- Location
- Kansas
- Posts
- 149
Re: Opencockpit and usb output
Thank you for the correction, Im used to dealing with specific RGB LEDs that are about 3v.
Home of the world's first South American DC-8 jetliner.
Home of the Blue Angel F-4 Phantom simulator.
Similar Threads
-
OpenCockpit MCP Configuration
By aviatorden in forum Computer Hardware SetupReplies: 8Last Post: 01-08-2010, 01:34 PM -
Opencockpit Indicator Box
By andarlite in forum OpenCockpits General DiscussionReplies: 1Last Post: 10-16-2009, 02:08 PM -
New: OpenCockpit Throttles
By CessnaGuy in forum MyCockpit News and AnnouncementsReplies: 6Last Post: 10-10-2009, 09:11 AM -
Bug in Opencockpit IOCARD
By oliver_mpt in forum I/O Interfacing Hardware and SoftwareReplies: 6Last Post: 12-19-2008, 01:46 PM -
opencockpit tutorial?
By imported_767300 in forum OpenCockpits General DiscussionReplies: 4Last Post: 03-20-2008, 08:22 PM
Hi...realize this has been a long time, but I'm heading down the path of building my own 777...
B777 Overhead Panel Design