02 July 2017, 01:33 | #21 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,342
|
I'm no electronics expert either, but I surmise that there are online calculators for the correct resistor value.
|
02 July 2017, 05:17 | #22 |
Registered User
Join Date: Jun 2013
Location: Australia
Posts: 685
|
470R would be a good start.
|
02 July 2017, 05:37 | #23 |
Registered User
Join Date: Mar 2016
Location: MALTA
Posts: 104
|
|
05 July 2017, 12:56 | #24 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,369
|
As a rule of thumb, I always use either 330 or 470 ohm resistors on LEDs driven by 5V, depending on the type of LED - low current types (e.g. red) get a 470, higher current types (e.g. white or high brightness red) get a 330.
However, to properly calculate the resistor required, you need to know the forward voltage drop across the LED. The resistor value is then calculated from the remaining voltage and the desired current using Ohm's Law. Your LEDs are rated for 20mA, but that's probably a maximum, and you would usually not run them quite that high. A typical forward voltage drop is 2.2V, so that leaves 2.8V to drop across the resistor. To run 10mA through the LED, your resistance is 2.8/0.01, which is 280 ohms. For this I would pick a 330 ohm resistor as the next commonly available value. You can easily adjust this based on your actual requirements once you know them, for example if you really do want 20mA, and your LEDs have a drop of 2.4V, the calculation is adjusted for 2.6V/0.02A, which is 130 ohms. 150 is the nearest higher common value (though you can get 130 if you search for them). Hope that makes sense! Last edited by Daedalus; 05 July 2017 at 13:08. |
08 July 2017, 13:23 | #25 |
Registered User
Join Date: Mar 2017
Location: London
Posts: 125
|
Back in the day I modded my competion pro for a second fire button, was just a case of replacing the lead with one from a mouse that had more wires inside it.
It also worked on a MSX (nemesis 1 and 2 ftw!) To give your Idea a more profesional look, why not just get a 9 pin serial lead and lop of the end you dont need, then check the pin out with the wires with multimeter beep test so you got your connections right. http://www.ebay.com/itm/Durable-DB9-...AAAOSwXeJYLWjF Only problem I found was you are holding the joystick in your left hand with thumb over the fire button or reversed if you that way. Its quite difficult to hit that second button with any meaning! Last edited by Juz400; 08 July 2017 at 13:45. Reason: ebay example |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mod Competition Pro as a two button joystick | ancalimon | Hardware mods | 8 | 07 September 2022 14:11 |
2ND button joystick on a real Amiga | Fabie | support.Hardware | 36 | 20 November 2009 12:02 |
Amiga 2 Button Joystick to PC USB | Zetr0 | support.Hardware | 4 | 24 July 2007 12:47 |
WinUAE doesn't detect joystick button (via ppjoy) | oldpx | support.WinUAE | 16 | 15 July 2004 22:42 |
|
|