Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: I've been a bit too enthusiastic

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I've been a bit too enthusiastic

    Hello,

    My name is Pim and I am a 17 year old Dutch grammar school student.
    In the Netherlands we have to pick a subject related to one of our subjects which we'll then have to spend 80 hours on to finish it.

    The project I choose was a bit too ambitious at first, but I slowly stripped it down to the bare basics over time to what it is now: kind of pathetic ( ).

    What I first had in mind, was to control the plane with my phone using the gyrometer for the wings / tail etc, and the touch screen for the camera hanging underneath it.

    Quite some time later I dumped my phone as well as a camera out of the plan, and what is left is that I want to control my plane from my computer via the remote which would be connected to my laptop with a 3.5mm cable (fits in the remote, that's not a problem).
    I had found this article about that: secure .ws /2010/03/09/control-rc-aircrafts-from-your-computer-for-0/

    So all that is left of my original idea is to be able to press a button to turn on the motor, for example.
    I want the motor to be controlled with the numbers 0 - 5, with 0 being off and 5 being maxed out.
    Due to being limited on spare time, I don't really need to get more to work, but if I could all servo's to work (2x tail + 1x motor) before I have to finish it.

    So, what is the reason for posting this here?
    Well, I have spent a lot of time learning Java (TheNewBoston), but I am not quite sure where to start programming, or how to output the PPM signal over my sound card, and I am looking for someone who could possibly help me a bit to get this done.

    You can view my progress at github (username: Pim16aap2, Project: Up-up-and-away). I am sorry I cannot give you a useful link, but I am not allowed to do so -_-


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    4,855
    My Mood
    Mellow
    Thanks
    178
    Thanked 631 Times in 618 Posts

    Default Re: I've been a bit too enthusiastic

    I don't have personal experience, but I've seen these kind of projects discussed. There's usually a kit involved or programmable parts/controllers/interface boards that have been purchased from hobby RC or robotics supply companies. I just did a search using 'java servo control' and turned up a few of the robotics companies. You might look at what they have for ideas or improve the search to find the type of components or ideas that are a bitter fit for your project. Any of those companies may have forums or areas where their customers can exchange ideas, software, etc. I think the info to get you going is out there, but I can't point you right at it.

    Good luck!

  3. #3
    Junior Member
    Join Date
    Oct 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: I've been a bit too enthusiastic

    Thank you for your reply.

    I've been searching a lot, and I've come across many different options such as Arduino and way more.
    The problem is that I do not have very much time left, and that, for example Arduino, isn't shipped to where I live (well, at least the parts I need are excluded).

    All that led to more searching, which brought me to http://www.secure.ws/2010/03/09/cont...omputer-for-0/, which told me I could control it simply with my sound card, a 3.5mm cable and a remote (with a 3.5mm input). And, since I've got all three of those, and since the remote does respond to being plugged into my computer via the 3.5mm cable, I got some hope back.

    What gave me more hope, is that the PPM signal seems rather easy, but as I have no idea how to program stuff for my sound card in Java (with specific amplitudes etc), I came here, hoping that someone with that knowledge could possibly help me out.

    If anyone would be able to provide me with a better solution, I'll be more than happy, but I really am short on time.

Similar Threads

  1. Enter in name ....need a little bit of help!
    By LAerving in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 25th, 2012, 08:14 PM
  2. Noob needs a bit of help
    By carmst74 in forum What's Wrong With My Code?
    Replies: 6
    Last Post: December 14th, 2011, 05:01 PM
  3. ClassNotFoundException (bit weird)
    By chronoz13 in forum Exceptions
    Replies: 1
    Last Post: April 26th, 2011, 02:15 AM
  4. Eclipse goes beyond me a bit
    By MagicMojo in forum What's Wrong With My Code?
    Replies: 5
    Last Post: March 9th, 2011, 09:05 AM
  5. bit of help please...
    By Andrew123 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: August 15th, 2010, 06:07 AM