Jump to content

zitronen

Members
  • Content Count

    692
  • Joined

  • Last visited

Community Reputation

241 Excellent

About zitronen

  • Rank
    Sr. Spacecraft Engineer

Recent Profile Visitors

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

  1. Serial port (TTL or RS232) and i2c are not the same thing, https://www.robotshop.com/community/forum/t/serial-vs-i2c-communication/12316 Serial port (over USB) is used by the Arduino to communicate with KSP
  2. Any reason why you are using 9600 for serial, not faster? Default should be 38400, but use fastest speed your board supports. lcd.clear() might be slow, if you are overwriting the display you could get rid of it. Otherwise I don't know? Have you tried just printing a simple line and see if that works?
  3. SDA SCL are for i2c, the mega has like 3 hardware serial ports, pin numbers are listed here: https://www.arduino.cc/en/reference/serial>
  4. LiquidCrystal possibly, SoftwareSerial can definitely cause problems. Do you need to use another serial port? I would recommend getting a board with 2 hardware serial ports rather than using softwareserial which is not only slow but also locks up the processor when it's working, which will lead to packet loss.
  5. You don't have anything like "delay(xxx)" in your code right? You can post which you changed here, or put it in pastbin or something if you can't figure it out yourself.
  6. Hi, apologies for the late reply, do you still need help with this? Just to confirm that the default Demo17 code works ok?
  7. Hi if you are using the demo code and not using the throttle on the arduino, you need to change the settings.cfg file to disable it (see first post for options).
  8. Update 0.19.3b: Changes: Ok so not sure when this happened, but it seems you no longer have to disable SAS to update vessel controls, so the annoy issue of having to disable SAS to move an axis is gone (the whole business with SASTol no longer an issue, it now doesn't do anything). Now the axis control behaves like normal joystick input. I didn't do anything apart from remove the check and doing some testing. Please let me know if this is actually fixed, that would be great! Thanks to @c4ooo for letting me know. Also recompiled against 1.10.1 Plugin download link: htt
  9. Huh.. weird... Anyway so now axes work fine with SAS on? What did you do, just delete the SAS check?
  10. In the config file: Enable value settings for axes: 0: The internal value (supplied by KSP) is always used. 1: The external value (read from serial packet) is always used. 2: If the internal value is not zero use it, otherwise use the external value. (Now default!!!) 3: If the external value is not zero use it, otherwise use the internal value. So if you set ThrottleEnable to 3, then the plugin will use your arduino throttle when it's not 0. You could for example have a switch to only send 0 when it's off and send analog input when it's on.
  11. Working fine for me so far, but I don't using everything available on my setup. Let me know if you have problems. Edit: updated SpaceDock/CKAN
  12. Jesus.. When I started this I thought surely 255 bytes should be enough for everybody...
×
×
  • Create New...