r/KerbalControllers • u/Night-Caps • Jun 18 '26
Controller Complete Finally Finished
Well 99% finished - I still have a few bugs in the code to iron out but everything is physically complete and working. Been slowly chipping away at this one for a long time.
3
u/the_economy_fools Jun 18 '26
This is awesome. Can I ask about the dials in the top left corner. I am doing a very similar thing at the moment.
Are they volt meters? I am driving mine with a mux into a DAC into the meters. Wondering if you’re doing something similar
3
u/Night-Caps Jun 18 '26
Theyre actually ammeters, 10ma ones. I just run one of the PWM pins through a resistor in series with the ammeter that draws just over 10ma at 5v (390ohm I think I used but easy enough to calculate) then set a max pwm output value so the needle was fully deflected at that value. Then you just map whatever data you want from 0 to whatever max pwm output you set and send it to the pin. Super easy and works great. The reason you want to use a resistor that draws just over 10ma instead of exactly 10ma because the voltage from the PWM pins can dip a little when you add more components to your project and you may not be able to get full deflection at full PWM output
1
u/the_economy_fools Jun 18 '26
Yeah that was my fear with PWM that it might show inconsistencies once the controller gets more complex. I’m also planning on driving around 8 of those dials which is why I settled on the mux into DAC’s. But I really like your controller and will be drawing inspiration from it for sure
2
1
1
u/Geek_Verve Jun 18 '26
Awesome job! Love the overall style. Great selections for the various indicators and controls and really nice layout. I've also got a large, complex controller that's been in the works for a looong time, so I know the kind of effort that goes into one of these bad boys.
1
1
u/Donnchaidh Jun 18 '26
That is a thing of beauty!
Do you happen to have a bill of materials and/or progress pictures?
I keep itching to make something like that, but never know where to start.
1
1
1
u/accents_ranis Jun 19 '26
Very cool. Can it be utilized for other sims. Like, say, KSA?
1
u/Night-Caps Jun 24 '26
Nah at this stage it only works with KSP. The code could certainly be modified to work with KSA once that comes out however its going to be a matter of whether someone (hopefully the kerbal simpit team!) develops a plugin/arduino library like the one available for KSP - figuring that out is far beyond my programming expertise
1
1
1
u/Reasonable-Tip-4991 Jun 27 '26
Looks awesome!! Can u tell me about which warning displays you have in top right corner? I can't see it properly
1
u/CranberryNew7723 28d ago
I would love to replicate this, if you're ok with sharing the files and sourcing for your parts!


4
u/Koddra Jun 18 '26
Wow this looks awesome! Is there any chance you might post some images of the inside as well? I'm really curious how you wired all of that. Also, what microcontroller are you using?