Jump to content

marzubus

Members
  • Posts

    60
  • Joined

  • Last visited

Reputation

23 Excellent

Profile Information

  • About me
    Rocketry Enthusiast

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hej MrLao! There are quite a few complexities to overcome when designing any input system. I advise you to start with something very simple, like just a button panel for action groups and simple LED outputs. Get to know the arduino, and interfacing it with the game. You should ask yourself, are you making just a joystick, or are you making a whole new Input system ( which requires its own firmware ). Remember you can just turn your arduino into a Joystick with UnoJoy for instance! works great! MegaJoy would support more buttons! To your questions: 1. If you are only going to buy ONE arduino, then make it a Mega. You will be able to do much more on it later. Or you end up like me with 20 of the things lying around. But you need to be careful when wiring these things up. They release their magic smoke quite easily. So buy it from Aliexpress, or somewhere where its like 10 USD, not 100USD like here in Sweden. 2. I don't know if you are a programmer or not., but Arduino is C, and you don't need to read a book on C just yet. There are plenty of online tutorials to help you out. Take a look at zitronen's arduino source code for KSPDemo10 for example. Because that is what you want to extend to support your type of setup. 3. I have no experience with lawnmowerlatte's solution. I like KSPSerialIO, because its direct interface with my Arduino, not through any proxy / network system. 4. You probably don't need a external power supply. But you need to monitor your power draw on the Arduino, there are limits to how much stuff a AVR chip can power. There are per-pin limits and total limits. 5. Modular setups can be tricky. Its what I am trying to achieve. The problems you can encounter are things like building a common protocol that your modules speak. eg. I have a OLED gauge module, which I send values over i2c. So I know I need to send 4 bytes at a time to populate the 4 gauges on the OLED. That module also has a specific "address" which it listens on. ex 0x6c. So thats my Gauge module. Then if I have another one, I need a way to set it to have a different address, 0x6d perhaps. In retrospect. I started with UnoJoy, which gives you two analogs, and 10 or 12 buttons and DPAD. Its great to start with. The MegaJoy supports like 40 buttons or more. I highly recommend starting there, since you will find the firmwares already made for you, and you can tweak them a little. This would give you a Arduino that detects as a true joystick on your computer or PS3 even! Once you have had your fun with that, you can look at changing the software on the arduino to be a slave to something like KSPSerialIO. Regards! /Kegan
  2. midnitemax Did you come right? Or what is not working any more? Update, there has been a bump in the protocol's between the arduino and the KSPSerialIO module, so please check you are running the latest version and latest Demo10 based structures.
  3. I really like the feel of the clicky cherryMX keys. For WSAD keys for instance.
  4. Wow that red looks amazing! Looks almost like powder coating. My dad was a Country Manager for Dulux before he opened his own paint shop. So he was down on Australia some times.
  5. I would send u pics but I don't think it helps for 'feeling' the Finish. anyway, I highly recommend it. Family owns a paint shop, so I have access to such knowledge.
  6. I've had some success with Maston primers on mdf. I build an arcade cabinet and I'm very happy with the finish. A bit pricey but I think it's good.
  7. That looks really cool! great progress. What are you going to treat the MDF and wood with?
  8. Nice! I actually was inspired by KK4TEE's control panel, and went and bought my 3d printer when I saw that upper control panel which KK4TEE designed. I also went for the simple metal, but with the heated bed upgrade. Made a huge difference to my print quality! KK4TEE, do you mount cherry-MX's on that upper panel? Or what buttons will go in there? I really want to go with Cherry MX's but its so damn expensive for just a couple of those buggers.
  9. Nice! What were the final pin assignments? Because you have a D0 and a D1 port on that right?
  10. That is so awesome! I need analog gauges!
  11. Hi! Yeah that's the same oled driver. Sorry I didn't clarify its size. My plan with these was to emulate a single analog style VU each. I bought six of them because I got them cheap. You should be able to use my code as is for that particular display. Is it the monochrome or 2 color version? I am still shopping for a display double that size. If u find any other well priced ones, just check if the chip is mentioned in the u8glib drivers wiki.
  12. It's so hard with all these secondary workspaces. what oled did u buy?
  13. I guess u could push 3.0v to the VU and see if it reads max. Else have you got a stable power supply? One with lcd screen and all. Try ramp it up to determine the actual max voltage. Carefully though. Ur using a 5v Arduino right? So ur pushing 5v to that thing at peak I guess. Else maybe a cap or something to smooth out sudden shifts in value? I'm just guessing here.
  14. If you use pull-down on the pin, you could change the if (digitalRead(STAGEPIN)) to if (!digitalRead(STAGEPIN)) Remember that is only True if the pin is HIGH. To add more controls, KSPSerialIO would need to be changed. And that would require a feature request. Though I think enough of the controls are already exposed. ActionGroups take care of most of the work. Im not too sure on the reason for the second launch working. It sounds very strange.
  15. The "why" is because the default state is pulled-UP to HIGH, so when nothing is connected, the pin reads HIGH. I use different switches that disconnect when I activate them, so I stop pulling-gnd when I engage them. Im not sure on what you mean in the STAGEPIN passing question. There is a method in the arduino sketch, that does some bitshifting. So when you say MainControls(0, HIGH), this would set STAGE to 1. The sketch has name to bit position mappings for this which I guess you have seen. And there is a mapping for what bit values represent what Control value in KSP in KSPSerialIO code. So you can only set 8 states in this. And as you can see, the 1st bit ( position 0 ) is STAGE. Does that answer the question?
×
×
  • Create New...