Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by sec3

  1. by the way: Version 1.12.3 works well with the last version... win10. - and in 2023 it still works for me on 1.12.5 !
  2. @CommanderMAM 1.) don´t run the .clear everytime... only once at void setup () to clear the display use subvoids and " " (spaces) and overwrite at the cursor position. no problems running i2c/ FastLED. for example: void LiquidFuel() { lcd.print("L%"); lcd.print((VData.LiquidFuel/VData.LiquidFuelTot*100),0); } lcd.setCursor(0,0); LiquidFuel(); lcd.print(" "); or with the sprintf function to combine text and digits ... you calculate and print as you need. it works great for missionTimer and so on in realtime. 2.) increase the buffer (handshaketime) and bauds, if it doesn´t startup. myUsage: NewLiquidCrystal_i2c lib as freshmeat told.
  3. As i now know that usb-joy encoders exist ;-), i would never ever use the SerialIO for Keys/switches as inputs ... only for display. also reached out for a 3d-printer. awesome... btw: does the mod work for 1.10 ? the party goes on. most of my 81 mods useless
  4. the bare minimum works well on new PC; Win10; V 1.9.1; COM3. BUT the mod doesn´t appear in the miniAVC-window or i´m too dumb in readin´ ;-) btw. the KSP starts in notime with 81 ! mods - or was it a failure to install on SSD ´cause of the Unity-Cache write-process ? - great job, finding the issue with the COMports after all this years!
  5. Hey Zitronen, my controller with fastleds / LCD / slider-pot is now working on IO Vers. 0.19.1 and a reset-up from code base 0.17. I altered the RX buffer to 256 and Serial rate to 115200 as i had a connection problem. but on my arduino i had to write-unlock the hardware.h in the core section, because there was no .h file in the preferences folder.
  6. tnx. wow; for multiplexing i didn´t expect an 328 on there ... this one is pre-burned with an RX-Receiver? or do you need to burn initial code on it? the sparkfun doc only says another uno or something serial device has to communicate. thats really simple; wire.write them... can you send me via PN some code snippets from your setup to study the code ?
  7. which library and chipset (max7219 ?) do you use for the 7segments? if so, basicly i can do it with an 8x8 matrix displays.
  8. thanx for the tipps again; Did they altered something in KSP 1.7, the old code does not "understand" in the serials section? the other Versions worked well. should i try an external power supply for a 20x4 i2C lcd / a short 2812 strip on 15% brightness; (switches doesn´t matter) ? using UNO old 328 p and r3; no difference.
  9. i´ll let ya know. edit: the 019-1 / V017 code bare minimum works stable. only traps were 1. com port (com02; win7 manual adjustment) 2. throttle (comment out the cpacket.throttle part). At 3000ms buffer the science! mod made a dropout; the game froze some time, but booted up well.
  10. helluu again... on KSP 1.7 (1) 64bit W7 , the Serial V14 with codebase 0.18.4a seems broken. The controls are booting, then stop at the vessel and went offline. bye bye old IOs... sorry Zitronen for that first pitty message...
  11. as far as i can see, my 80 mods are functioning. Only once again for my savestate the Wolfshound engine had to be placed back in "heavyRocketry" (file is in the SquadExpansions Folder). And i still haven´t made it to Duna. I didn´t remember when my probe was on Eve. long ago. on the 0.90 s Version or so.
  12. I deinstalled and erased all from the Steam 1.5.x ; before i did a backup of the 80 mods and got it over the fresh 1.6. In Career all the mods worked fine; BUT some Errors appear: - Wolfshound Engine is changed to veryHeavyRocketry -> copy or edit the cfg files SquadExpansion\making history - entry to a lower techLevel and redo the 2.5 tons weight) - on some Ships it comments: no connectedLivingSpace etc. and docking hatch missing - But the ships will be startable. - in the R&D the thumbs on the right screen say : own but with a placeholder symbol.
  13. ahhh.. indeed, the soundfiles are in the mod_folder; same as the speech-packs. I decoded some randomly -> works. I didn´t already know that the speeches in Chatterer are seperated as NASA and russian_like. maybe reversed and filtered i think. ;-)
  14. tnx for reply. In my oppinion Duna SSTV on the white hill was some versions ago reimplemented, after it stuck in ground. PS: maybe the chatterer _ mod is responsible for the random signal-pictures. but I am still worried about the fact, that almost no one (also the famous youtubers on easter-egg hunting) cares about the audio-signal on every science transmission. ;-)
  15. Hello There, since i didn´t found anything or very rare (here and elsewhere) media about more SSTV eastereggs i would like to ask, if someone recorded and decoded the science signals too. There will be various pictures transmitted via SSTV. very scary. PS: i did it just for fun. (MMSSTV). unfortunatly i have only my profile pic to show ... but it works.
  16. btw. my Board runs well at KSP V1.5.1 / Serial IO V1.4 / Arduino V18.4 (? i have the *.ino-base with just 54 attributes to TargetdV) / Win7 PS: Dez. 2018 -> KSP V 1.6.0 works well.
  17. (As i am a C-coder / Arduino noob -> correct me anyone if totaly wrong in the helpings). 1. Win 10... you have a USB problem. and don´t use pin 0 / 1 and keep A4/A5 free for SerialComms / I2C (LCD) 2. the number of the Data or action groups is a simple structure or byte array expession for object definitions as i understood for myself. not to be confused with the pinouts of an arduino or an #define substitute. you have to understand that the RCSpin, RCS, and the RCSLed (example)-defines are totally different things. 3. as a little help: at the top: #define CG1PIN 10 // the digital number of the pinout #define YLED 13 // YLED is called "13". and the other needed stuff. in setup: pinMode(CG1PIN, INPUT_PULLUP); // for example this switch - define that as input pullup with no resistors - important! pinMode(YLED ,OUTPUT); // pin physically on Pin 13 out. // but the slider don´t need an input def ? (why?) it´s analog? in subroutine // put in input/output section if (digitalRead(CG1PIN)){ //--------- This is how you do control groups // liest CG1PIN aus reads that pin MainControls(STAGE, HIGH); digitalWrite(YLED,HIGH); // you see below YLED is 13 and high / on } // wenn Status high dann führe staging aus - switch kann high gelassen werden; besser wäre ein Pushbutton /if high than ... else { MainControls(STAGE, LOW); digitalWrite(YLED, LOW); } // sonst low else low only an example. because the showing of a StageLED is not usefull. could do this with RCS SAS and the ActionGroups 0-10. as long as you have pins. You can also display the stuff in an LCD / 7seg or LEDs or whatever you want. Only Problem is to cope with the ComputersKeys; if you have the switch on and type the SAS off, the switch is on and the LED off ;-) firstly take the minimal config with the leds. then decide which you don´t need any more. for myself i don´t need any hardware pins for leds, because i use a digital LEDstripe (FAstLED). its only software. i realized at a certain point that i had a switch on pin10 and an LED on 10- that didn´t work (properly). i spared 3-4 pins. 4. the rest for the 20x4 is sent you in a pmessage. 5. the slider / pot you have strictly to define with YOUR min-max values and ranges. see my posts below. and put a resistor to the ground (debounce, because the values are go random crazy). with the super contrain/map function i had driven sucessfully a little 1 Volts analog display. 6. and don´t put any delay() function in code! in loop main is only input() and output(). nothing else for timing issues. ;-) PS: i forgot: the Throttle starting Value could be set to 0 or whatever in the settingsMenus
  18. @Sputnix indeed i had the same problem with the new files. it´s connecting and drops out and the switches gone bad. changing handshake delay and refresh rate helps a little bit.
  19. changing the Crash-tolerance to "50m/s" works on the lowlevel gears (also Kerbal X s legs) on Mun/Minmus. The problem will possibly be bugfixed in V 1.4.3 announced for last Aprils week. new DLCs and new bugs. :-(
  20. a little Question: i have a 5kOhm slider (2Ch, with 2x3 pinouts, 2x5k resistors on board) for throttle, but at peak the KSP shows ca. 98 percent. the slider corresponds on both channels very well to the keyboard on config value 2 (override by x/y keys) default code for constrain/mapping: CPacket.Throttle = constrain(map(analogRead(THROTTLEPIN),THROTTLEDB,1024-THROTTLEDB,0,1000),0, 1000); PS: solved it. just had to change the 1024 to the real pot value of ca. 950...
  21. "helluu" again: KSP V1.4.1 / Serial IO V1.4 / Arduino V18.4 (? i have the *.ino-base with just 54 attributes to TargetdV) / Win7 meanwhile it runs stable as desired in background. switches acting a like slow, but so far so good.
  22. thanx. Is the compatibility checked by somewhat else as the missing defines (from the PlugIn) ? I just wanna refresh/update the Version, nothing special. maybe monitor the SAS state or so on the LCD/ RGBs, or cycle-switch them on an 4D-Video-Mixer-Poti.
  23. @zitronen - I changed my code to V016 with adding the new codeparts but i can´t get the switches of RCS / SAS and 1 AG working, although the LED have the correct state on keypressing. - example V16Demo-> switches were ok. - i copied my codeparts to the Demo, i didn´t wanted actually do all the work again -> functions perfectly ... but goes sometimes "offline" ... checked twice... basicly same code but the switches weren´t recognised. ??? I have no glue... wrong bracket-loop? - now i´m running the old 018.x IOSerial with the 0.14b code ... standbymode while typing this in flight... no problems; PS: yes i know, without the code you can´t check and explain. but i dont want to release here, cause not to get laughed... ;-) PPS: by the way now realized after (1 (!) year coding), 6 LEDpins from the original Code were occupied... so stupid i am. win7 64; Uno; KSP1.3 LCD i2C / WS2812 strip / 5 switches
  24. Hello, 

    Great work since 2013/2014.


    have a question: 

    i´m running a lcd and want to switch basic-"banks" or "pages" of the parameters   -> hardware switch and get another indicators in LCD

    therefore i have a "page 1" void after the looping section in the main ide-tab -> it is called in the "indicators" void (utilities tab).  

    how can i switch in an second "void/page" ? or where can i put the voids and call them if/else/case? (like in the video -> rotary encoder-switch)

    i read in the thread, the LCD-outputs have to set in the input-tab under the case if/switch, what the "indicators" already does?


    PS: it worked once fine with the debug tool, but in KSP didn´t (on hardware). There i realized an 2 seconds lag/timing-problem of the arduino. I don´ t remember the jump-points of the if/else calls, because i deleted the lines. 






    arduino uno classic, COM2

    leds/switches for SAS RCS, warnings

    lcd 20x4  i2c


    KSP 1.1.3  x64

    electric/ coder skills: basics. (one step behind copy/paste).


    PS: SerialIO 0.18.3 does not work on 1.1.3 ?

    1. Show previous comments  3 more
    2. sec3



      i´m usin´ the  NewLiquidcrystal1.2 or somewhat. esp. for better I2C usage. 

      You mean, i just print first a "............" and then the digits again ?  that surely increases the refresh time...??? 

      such easy solution...

      Problem all in all is the alignment of the numbers-length. If a 3digit gets to a 2 then the last remains. If i put a " " on the digits it could be,  it makes a "linefeed" in the next row. :-(
      i heard about the probs of lcd.clear. I don´t understand why the WS2812 FastLED cycle the loopvoid with "lightspeed" and the LCD is getting flickering-problems. 









    3. zitronen


      no need to print blanks, just print the new number directly over the old ones. you can use dtostrf() to format your string so numbers always align: http://www.hobbytronics.co.uk/arduino-float-vars

    4. sec3


      I´ll try... thanx.

  25. Golf Scorecard solved i solved the problem (always worked, without testing in contract´s biome!!!) - Inventory: - Golf Club (aka AKI-G09) - SEP Central Station (the block with the plugs) - ToDo: - get out of the vessel - put the SEP on the ground (gets green and makes a skrew noise) - leftclick on the golf club (not the right-click equip-mode !) -- drag the club to the SEP and again leftclick (it vanishes) The SEP now tilts around and can be pushed. -> push it away and voila ---- the club lies there. Rightclick on it and perform the "Fore!" action. It gives now the science points. problem/issue with item data: The club, unequipped on ground, falls under the ground or disappears and can´t be mouse-hovered or clicked.
  • Create New...