Jump to content

My homebuild controller for KSP (Picture heavy)


Freshmeat
 Share

Recommended Posts

No, you will need Arduino Leonardo or clone (like teensy 3.1) for key strokes.

Edit: It won't work by default, but it looks like people have been able to get it to work. Do a search on uno usb hid keyboard.

I looked into it, and it is all very complicated. I think I'll have to live without it for now. Is it only the Leonardo? Will it work with the Mega2650?

Ok I'm looking some more, and I have to attach a resistor to the back of the board. but my board doesn't match the one on the site. Mine is an Uno R3.

I give up....

Edited by jandcando
Link to comment
Share on other sites

  • 9 months later...

I bought my meters as very cheap (€3) analog meters 0-1 mA. The turned out to react nonlinear to a PWM pin, so I made a few readings of PWM vs meter and made a 5th order polynomial fit. Works fine. Additionally, the radar altitude is on a logarithmic scale in the code to cover precision at low altitude with higher range.

I have a similar problem with an almost antique amp meter. It seems to be more common than I thought. Damn, I trusted analog meters for years before I got my digital multimeter!

Link to comment
Share on other sites

Well, there is a non-linearity _somewhere_, but whether it is the PWM or the meter I cannot tell (and frankly don't care). The thing is to be aware and do the measurements against known values instead of blindly trusting things will turn out.

In the end, I tore out the resistor ladder and used shift-in registers for switches and display IC's for LEDs. Looking forward to doing a new control unit in the summer holidays (and making an imigur account for pictures).

Link to comment
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.

Guest
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.

 Share

×
×
  • Create New...