sparty72 Posted September 12, 2018 Posted September 12, 2018 Hi guys, I made a button box for my bro a few months ago and some of you expressed an interest in a build diary so, I am making a new box for myself and want to know should i do a build diary for this inc components etc? any interest for the DIY'ers trying to save a few quid on their flight sim experience?? Below is the box and testing with my rig setup before giving to my bro. Let me know guys Regards Sparty 1
GVL224 Posted September 12, 2018 Posted September 12, 2018 Hello. There is a question on the LED on the toggle switch. Have you connected it to the voltage separately?
sparty72 Posted September 12, 2018 Author Posted September 12, 2018 1 hour ago, GVL224 said: Hello. There is a question on the LED on the toggle switch. Have you connected it to the voltage separately? Ok! the LED + is connected directly to 5V with a 220 ohm Resistor in between and the LED - through the the switch toggle ground, inputs go through to the board, as you can see im using an Arduino Uno lol. If i remember correctly the image is basically how i wired the LED's and switch up! Hope this helps m8 I am of course assuming you mean the the red and green LEDS and not the illuminated toggle switch with the safety cover, for that you will have to wire input, ground and 5V normally and then set the input switch to LOW in the sketch corresponding to which og the pins you use, assuming you are of course using and arduino uno. If the switch state remains HIGH the illuminated toggle light wont work properly and the LED will be trying ti light up in a weak way whilst in the off position and the switch will not activate properly. (As i found out through trial and error) and i am ni no way and arduino expert so please check for yourself Regards Sparty
Sokol1 Posted September 14, 2018 Posted September 14, 2018 GVL224 This scheme was posted By Leo Bodnar (BU0836) years ago, for use LED in matrix with DPDT switch. http://s33.postimg.cc/iip9wonvz/BU0836_LED.jpg http://simhq.com/forum/files/usergals/2016/06/full-18924-122508-simpit_how_to_use_led_switch.jpg
GVL224 Posted September 14, 2018 Posted September 14, 2018 You probably did not understand what I wanted to know. I'm interested in how the LED in the switch 12V shines from 5 volts?
sparty72 Posted September 14, 2018 Author Posted September 14, 2018 2 hours ago, GVL224 said: You probably did not understand what I wanted to know. I'm interested in how the LED in the switch 12V shines from 5 volts? It will still shine on 5V but not as bright as 12V but to be honest its still bright enough at 5V i have found, please remember electronics is a recent hobby and i dont understand all the quirks just yet but so far its working for me , hope this helps Regards Sparty
SAS_Storebror Posted September 14, 2018 Posted September 14, 2018 Maybe you'll find my "switchbox" project interesting in that regard too: https://www.sas1946.com/main/index.php/topic,58176.msg644830.html#msg644830 It's 5 axis, 40 buttons, 10 two-position switches and 10 three-position toggle switches. Works perfectly fine with both BoS and the good old Il-2 1942. Mike
AtomicP Posted September 14, 2018 Posted September 14, 2018 1 hour ago, SAS_Storebror said: Maybe you'll find my "switchbox" project interesting in that regard too: https://www.sas1946.com/main/index.php/topic,58176.msg644830.html#msg644830 It's 5 axis, 40 buttons, 10 two-position switches and 10 three-position toggle switches. Works perfectly fine with both BoS and the good old Il-2 1942. Mike I wish I had the time for something like this. Not with a toddler around though! Instead, I sourced a secondhand Logitech G13, programmed it to my liking and printed sticky vinyl labels for the keys. It's currently set up for BoX and works really well.
sparty72 Posted September 14, 2018 Author Posted September 14, 2018 Well, I'm gonna bring this one to an end, few tweaks still to do but pretty much done and dusted Sparty
2000_qwertyalfa Posted May 22, 2020 Posted May 22, 2020 I have question about non returning awitches (not momentary). How to asign them to work properly in the game? For example to make lights turned on as long as the switch is on and when I flick the switch to off, the lights turn off. Is this done in the game settings or in the arduino programm?
Sokol1 Posted May 22, 2020 Posted May 22, 2020 8 hours ago, 2000_qwertyalfa said: I have question about non returning awitches (not momentary). How to asign them to work properly in the game? For example to make lights turned on as long as the switch is on and when I flick the switch to off, the lights turn off. Is this done in the game settings or in the arduino programm? IL-2:GB series don't support "ON-OFF" toggle switch command, with few exceptions, like flaps and landing gear. Then you need an external keymapper program for send command in ON and OFF state of switch. The more simple to use is JoyToKey - no install is required, that allow map key press in ON and OFF state of toggle switches, but the game may don't see combo keys, e.g. LCtrl+A, due lack of delay between keypress. Ideal is Joystick Gremlin, but their install process is a bit PITA, since require install previously vJoy. 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now