Sign in to follow this  

[Hardware Plugin] Firmata and Direct Serial for Arduino/Others on (MAC/*NIX/WIN)

Recommended Posts

I have written PsimaxSerial, a re-namespace and modification of System.IO.Ports with some added features. This allows KSPAddons to open a direct serial port and talk with an Arduino or any serial device.


  • Direct Serial Communication
  • Firmata Protocol Support



So far I have only tested this on Mac and Windows, but I see no reason why it shouldn't run on Linux too.

I have a Arduino successfully talking over serial with KSP, using TVout and rendering some HUD elements over composite signal.

The HelloWorld and HelloWorldFirmata example basically just sends a few chars to represent the state of RCS when in control of a vessel.

HelloWorld sketch is in the comments of HelloWorld.cs, and the HelloWorldFirmata example requires FirmataStandard 2 to be flashed onto your Arduino, see

My Arduino running TvOUT

Screen shot of my Arduino Rendering on a LCD:

Video Demo:

The arduino sketch I am running is up at and it depends on TVout library and using a 1K and 440ohm to connect to a composite line input.



Edited by marzubus
More Info

Share this post

Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this