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 5 of 5

Thread: HI WORLD! Can anyone point a complete novice in the right direction??

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile HI WORLD! Can anyone point a complete novice in the right direction??

    I've an interest in learning how to write my own programme to operate electrical relays, motors etc.
    I'm sure there are lots of ready made applications etc... but I would like to be able to add in some methods of controlling temperature, liquid flow etc....general mechanical & electrical control!
    Maybe this is too advanced an ask, but if anyone can help I'd appreciate some help or advice....


    By the way..

    thanks in advance...


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: HI WORLD! Can anyone point a complete novice in the right direction??

    How do those devices connect to the computer? Do you have drivers with API doc that can communicate with the devices? Java programs would probably have to use JNI to communicate with the drivers.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Member
    Join Date
    Apr 2012
    Location
    Superior, CO, USA
    Posts
    80
    Thanks
    0
    Thanked 14 Times in 14 Posts

    Default Re: HI WORLD! Can anyone point a complete novice in the right direction??

    While it isn't Java I use the Arduino to do some of what you're looking to do. Controlling a motor or a relay (of modest size) is very straight forward. Things like liquid flow could use a simple flow meter (that, by the way, has code for the Arduino on the site).

    If you use the included programming environment the language is more like C than Java but is very easy to use.
    Last edited by stdunbar; June 26th, 2012 at 02:13 PM.
    Need Java help? Check out the HotJoe Java Help forums!

  4. #4
    Junior Member
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: HI WORLD! Can anyone point a complete novice in the right direction??

    Hi, thx for reply!
    At present I have connected successfully an 8 relay USB type board to pc.
    So I guess that any type of programming involving either 232 or USB really,

    Cheers again mate..

  5. #5
    Junior Member
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: HI WORLD! Can anyone point a complete novice in the right direction??

    Thanks for this info mate!
    I'll have a wee look at this and keep you posted on how I get on..

    again many thnx!

Similar Threads

  1. [SOLVED] Need help with motion direction
    By Sayco in forum Java Theory & Questions
    Replies: 9
    Last Post: March 6th, 2012, 10:15 AM
  2. Novice needs advice
    By grahamgen in forum Java Theory & Questions
    Replies: 8
    Last Post: September 12th, 2011, 04:04 PM
  3. [SOLVED] Someone point me to the right direction..
    By ineedhelp in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: June 30th, 2011, 10:03 PM
  4. Direction,
    By Time in forum Algorithms & Recursion
    Replies: 2
    Last Post: May 21st, 2010, 05:21 PM
  5. Novice with java methods, please help!
    By raidcomputer in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 14th, 2009, 04:23 AM