ShinyThinks
Projects Blog About

Star Citizen Custom Controller

After seeing a couple posts of people's custom button boxes on reddit I knew I had found my next project. I've been doing quite a bit of Arduino and small electronics lately, and this was the perfect fit. So off I went to Amazon, ordered a bunch of stuff I thought might be cool / useful and started piecing things together.

Designing the layout I wanted to use with some rough idea of what they were for.

Got all the holes drilled, components mounted, and soldered. Ended up having to change some of the wiring due to splitting the inputs between the Arduino's pins and the expansion modules.

Put some cable wrap on after being informed my wiring was a bit of a "rat's nest," this is before I had solidified how I was mounting the Arduino and IO expanders.

Made a second smaller plate to mount the Arduino, terminal board, and PCF8574 IO Expansion Boards. Hot glued them in place, ran one row of inputs to the Arduino, and the other two rows to the expansion board. Had to strip off most of my wire cover, but the couple inches left makes for a nice flex point between the two plates.

The Arduino Micro and terminal adapter board. Only the Arduino Micro (and the Leonardo I believe) can be used to emulate a USB input device on Windows. I got the terminal adapter board to make it easier to move inputs around originally, but since I ended up soldering to the IO expanders they are still pretty fixed. I did have to unsolder and remove the four rightmost pins on the Arduino to make it fit since the board is designed for a nano. Other than having two extra analog pins the rest of them line up and work fine.

Some good ol' cable management. Much cleaner and less likely to put undue stress on the solder connections while I wrangle it into some sort of enclosure.

And the working product! Was originally going to set it into some sort of project enclosure, but ended up getting impatient and just mounting it to two pieces of plywood with some feet. It added enough heft to it that I can lift the switch guard and rotate the somewhat stiff selector without issue.

Eventually I'll get a better enclosure for it, probably grab one off of Hammond mfg or get someone with a larger 3D printer to make one. The engine start and black/red button (that I'm going to use for quantum jump) have leds in them that I don't currently have hooked up to the Arduino, but once we get some sort of API into Star Citizen hopefully I can tie them to engine state and jump spool/ready state.

The controls are:
Power on switch, flight ready button, 3 misc buttons, zoom rotary encoder, 3 misc buttons, quantum spool switch, quantum jump button
Hat switch + center for shield distribution and reset, engine, shield, and thruster power switches, power distribution profile selector, misc selector
Flare fire button, flare select, 7 misc toggle switches, self destruct switch, eject switch.

It works! I mapped everything to a button in the Arduino code (no rotary encoder as zoom in this screenshot) so that I can easily bind to functions in Star Citizen. Unfortunately without an API this means the switch positions can get out of sync with the actual ship status easily. If by the time of release / they make an API there still isn't a way to read / set state by API then I'll probably make a new version with only toggle buttons. 

And the proof that windows recognizes everything!

Project Materials

1 Terminal Expansion Board www.amazon.com
3 PCF8574 IO Expansion Board www.amazon.com
1 Rotary Encoder www.amazon.com
1 4 Position Rotary Selector www.amazon.com
1 Red Ring Momentary Push Button www.amazon.com
1 Engine Start Momentary Push Button www.amazon.com
5 Heavy Duty Toggle Switch www.amazon.com
1 12 Position Rotary Switch www.amazon.com
1 5-Channel Rocker www.amazon.com
1 Arduino Micro www.amazon.com
7 Red/Black Momentary Push Buttons www.amazon.com
2 Red Cover Toggle Switches www.amazon.com
8 Small Toggle Switches www.amazon.com

Project Tools

PCF8574 Instructables www.instructables.com
Joystick Instructables www.instructables.com

Image Gallery

23 Comments

erenevux
June 14, 2021, 11:54 a.m.
http://slkjfdf.net/ - Amocos <a href="http://slkjfdf.net/">Ubiwuip</a> her.mugh.shinythinks.com.kjd.yf http://slkjfdf.net/
ewagulet
June 14, 2021, noon
http://slkjfdf.net/ - Eqaqoxuxi <a href="http://slkjfdf.net/">Auzazifu</a> kck.petr.shinythinks.com.fnw.qs http://slkjfdf.net/
lefinufuheamo
June 14, 2021, 12:06 p.m.
http://slkjfdf.net/ - Itulug <a href="http://slkjfdf.net/">Kipudoe</a> jrk.uqsu.shinythinks.com.iiz.nk http://slkjfdf.net/
http://tinyurl.com
March 25, 2022, 7:45 p.m.
all the time i used to read smaller articles or reviews that as well clear their motive, and that is also happening with this piece of writing which I am reading here.
http://tinyurl.com/y84joe54
March 26, 2022, 2:05 p.m.
Magnificent goods from you, man. I've understand your stuff previous to and you're just too great. I really like what you've acquired here, certainly like what you are saying and the way in which you say it. You make it entertaining and you still care for to keep it smart. I can't wait to read much more from you. This is actually a tremendous web site.
http://tinyurl.com/y6u6zzs4
March 27, 2022, 3:18 a.m.
Have you ever considered writing an ebook or guest authoring on other sites? I have a blog centered on the same subjects you discuss and would really like to have you share some stories/information. I know my audience would value your work. If you're even remotely interested, feel free to send me an email.
http://tinyurl.com
March 28, 2022, 1:20 p.m.
I just like the valuable information you provide on your articles. I'll bookmark your weblog and test again right here frequently. I am fairly sure I'll be informed many new stuff right here! Best of luck for the next!
tinyurl.com
March 28, 2022, 7:44 p.m.
This piece of writing gives clear idea in favor of the new people of blogging, that really how to do running a blog.
http://tinyurl.com
March 29, 2022, 12:23 a.m.
I am sure this post has touched all the internet viewers, its really really fastidious article on building up new webpage.
absolutely cheapest airfare possible
April 2, 2022, 2:53 a.m.
Do you have a spam problem on this site
cheapflight
April 3, 2022, 6:30 a.m.
My developer is trying to convince me to move to .net from PHP. I have always disliked the idea because of the expenses. But he's tryiong none the less. I've been using WordPress on various websites for about a year and am concerned about switching to another platform. I have heard excellent things about blogengine.net. Is there a way I can import all my wordpress posts into it? Any kind of help would be greatly appreciated!
air ticket booking
April 3, 2022, 7:33 p.m.
great put up, very informative. I wonder why the opposite experts of this sector do not realize this. You should proceed your writing. I am confident, you've a great readers' base already!
cheapest international airline tickets possible
April 4, 2022, 3:41 a.m.
This piece of writing presents clear idea designed for the new visitors of blogging, that actually how to do blogging.
plane tickets
April 4, 2022, 10:47 p.m.
Your method of describing the whole thing in this article is really fastidious, every one be capable of simply understand it, Thanks a lot.
cheap flight tickets
April 5, 2022, 2:03 a.m.
Hello, i read your blog from time to time and i own a similar one and i was just wondering if you get a lot of spam comments? If so how do you protect against it, any plugin or anything you can advise? I get so much lately it's driving me crazy so any support is very much appreciated.
the cheapest flights possible
April 5, 2022, 4:06 p.m.
Hello, i feel that i saw you visited my website so i got here to return the favor?.I am trying to to find issues to enhance my website!I suppose its adequate to use some of your ideas!!
airline flights
April 6, 2022, 3:42 a.m.
Nice blog right here! Also your site quite a bit up fast! What host are you using? Can I get your affiliate link in your host? I want my site loaded up as fast as yours lol
gamefly
April 6, 2022, 4:52 p.m.
Good day! Do you use Twitter? I'd like to follow you if that would be okay. I'm undoubtedly enjoying your blog and look forward to new posts.
gamefly
April 10, 2022, 6:46 a.m.
Awesome post.
tinyurl.com
May 9, 2022, 8:30 p.m.
Heya this is kind of of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I'm starting a blog soon but have no coding skills so I wanted to get advice from someone with experience. Any help would be enormously appreciated!
tinyurl.com
May 11, 2022, 12:52 p.m.
Hello, yup this piece of writing is in fact fastidious and I have learned lot of things from it about blogging. thanks.
tinyurl.com
May 16, 2022, 5 a.m.
Very rapidly this website will be famous amid all blogging and site-building people, due to it's pleasant articles or reviews
Acoubre
May 23, 2022, 4:59 a.m.
Xqoisj Amoxicillin Works Bowel Bacteria https://newfasttadalafil.com/ - Cialis Levitra Apothekenpflicht <a href=https://newfasttadalafil.com/>Cialis</a> Exfijl discount levitra?purchase Dvfnkd https://newfasttadalafil.com/ - Cialis