Using Java to control external hardware

Hi all,
I'm new to the forums, I am an experienced Java developer for the internet and have done various GUI based academic and personal projects.
What I want to work on at the moment is basically a swing based controller program which will controller some hardware which switches LEDs on and off, moving later to maybe fans and motors and stuff.
My initial thoughts were get an LED matrix connected using a USB port, and then get a USB API to send commands to this. It would be far better if I somehow got a control board connected (wired or wireless) and then used Java to send over commands for a start to turn LEDs on and off.
In essence I'm in need of answers to 2 questions:
1) what hardware controller to use for this project, and how is it to be connected to my pc.
2) which API?
Thanks, I look forward to your replies.
Harry
Edited by: HPowar on Feb 25, 2008 5:07 AM

I believe that parallax makes a microcontroller (Javelin ???) with some sort of java vm in firmware.
Depending on your budget and assuming you want to go the microcontroller route, it might work for you.
Edited by: johndjr on Feb 25, 2008 8:57 AM

Similar Messages

  • Dynamic Java bean classes for XSD using JAVA (not any external batch or sh)

    Hi,
    How can we generate dynamic Java bean classes for XSD (dynamically support All XSD at runtime)?
    Note: - Through java code via only needs to generate this process. (Not using any xjc.bat or xjc.sh from JAXB).
    Thanks

    Muthu wrote:
    How can we generate dynamic Java bean classes for XSD (dynamically support All XSD at runtime)?
    Pretty sure you can't. Probably can do a lot of them with years of work.
    And can probably can do a resonable subset suitable for the business at hand with only a moderate effort.
    Note: - Through java code via only needs to generate this process. (Not using any xjc.bat or xjc.sh from JAXB).The Sun jdk, not jre, comes with the java compiler as part of it. You can create in memory class (I believe in memory) based on java code you create.
    I believe BCEL alllows the same thing (in memory) but you start with byte codes.
    You could just create a dynamic meta data solution as well, via maps and generic methods. Not as fast though.

  • External Hardware Control

    I have been using Mainstage for live for the last couple of months which has been fantastic however does anyone know of any way to control external hardware (modules, etc)? I suspect that there isn't at this stage.
    Assuming Apple reads these forums, can we register our desire for this type of control in a near-future update?
    Cheers

    MainStage 1.0 is designed to be "convert" your Mac into a software instrument. It is not a control software for external gear.
    I am sure Apple is monitoring these forums and collecting ideas for version 2 already. But they just ship version 1 - give them a little christmas break.

  • Issue with Java Mission Control 5.3

    I see the following issue when using Java Mission Control 5.3 - the text area that appears in the Method Profiler section of the Code => Call Tree tab accepts text for filtering purposes. However, the filtering is seen to be applicable only to the top level nodes. For e.g., I am unable to search for a certain Java package name (or its part) that I know exists deep down in the stack trace. Is there a way to search for text that appears in lower level nodes? I find that the search does not work even if I expand the tree using the Expand Subtree option. Thanks for any insight.

    I also have this issue on 5.3. It is very difficult to do even a basic level of profiler analysis. The tool is ok at finding big watermelons (CPU cost or memory allocations), but when you want to drill in and see any more detail, it becomes quite painful. Best case is that I would be able to "swim" through the profile data, moving easily from method-to-method, and see the recorded sample counts in a base (samples in this method itself) and cumulative (samples in this method and all called methods) fashion. The indentation in the tree view can be painful. I would suggest a more simplified view as an option,
    PARENT (callers) methods, full names and cumulative sample counts (percentages would be nice as well)
    SELF (called) method, full name and cumulative sample counts (percentages would be nice as well)
    CHILD (calles) methods, full names and cumulative sample counts (percentages would be nice as well)
    Clicking on any row in the above immediately makes that method become the SELF in the view.
    Also, I should be able to enter the class/method name into some text box above this view and easily get into the data for the method. With the current tool, there is no way to quickly go to the data for a specific known method.

  • 30 mins flight recording shows 1 hour 30 mins  in published dashboard of Java mission control

    Hi,
    We are facing some issue during flight recording using Java Mission Control (version: 5.4.0 (M5.4.0-102, 162463)).We have set flight recording interval for 30 mins in java mission control. But after completion, it showed 1 hour 30 mins in published dashboard. Though the flight recording has been completed within 30 mins. The issue is happened  for 15 mins,20 mins flight recording  also.
    In published dashboard, some extra time has been added before starting of actual test.
    Because of this extra time, we are bemuse to find out the actual result.
    Please help us.
    Thanks
    Debraj

    Hi,
    Sorry for late reply.
    We are doing flight recording for OSB performance testing.
    We have followed below steps during testing
    a. Disabled all the services.
    b. Then we start flight recording.
    c. After 20 seconds gap we are enabling the services to poll data.
    but after completion of flight recording it is showing wrong time interval in dashboard.
    Regards,
    Debraj

  • While dealing with an external hardware i got a Java update4 request,but was not able to complete that update.After that when i switch on my Mac it shows reinstallation required.i was working with OSX 10.8.5,but after reinstallation now it is 10.7.5 .

    While dealing with an external hardware i got a Java update4 request,but was not able to complete that update.After that when i switch on my Mac it shows reinstallation required.i was working with OSX 10.8.5,but after reinstallation now it is 10.7.5 .And while doing search for update it shows your software is uptodate..

    Hi Hal,
    One possibility, is a strange occurence when applying the big 10.5.8 combo, most people have to Repair Permissions twice in a row, then reboot.

  • I need to program a Hittite Fractional​-N Synthesize​r Evaluation Kit with a HMC702LP6C​E an external YIG oscillator​. Not sure how to use Labview to control the PLL.

    I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator.  Not sure how to use Labview to control the PLL.

    Here is how to use the PLL. But I don't know of how to interact with that device
    http://zone.ni.com/devzone/cda/tut/p/id/3781
    And for thouse who don't know what a PLL is a free bonus link is here:
    http://digital.ni.com/public.nsf/allkb/07BC8D77D4E​9AE258625708B007CE74F?OpenDocument
    and a second one on what that device is: http://www.hittite.com/products/view.html/view/HMC​702LP6CE
    Now we are all caught up to speed.
    Sam S
    Applications Engineer
    National Instruments

  • Reg:Whether to use BPM or not when the channels are controlled externally

    Dear All,
    My scenario is File to File and for this the channels are controlled  externally.
    This is achieved through the  Abap proxies to Http receiver scenario, where udf is being implemented for this.
    UDF:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey trig = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", "UrlParamOne");
    DynamicConfigurationKey trig1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", "UrlParamTwo");
    DynamicConfigurationKey trig2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", "UrlParamThree");
    DynamicConfigurationKey trig3 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", "UrlParamFour");
    conf.put(trig,action);
    conf.put(trig1,party);
    conf.put(trig2,service);
    conf.put(trig3,channel);
    return "";
    If the value of the Action is START then the existing communication channel should be stopped and restarted  again .
    If the value of the Action is STOP then the stop action should be performed.
    For this I have implemented two mappings  and condition is being given in Interface determination
    so as to have the splitting of messages when the start action is performed.
    Can anyone suggest me how to implement this by using a single mapping or this could be achieved only through BPM?
    Thanks in Advance,
    Lavanya .B
    Edited by: Lavanya Balanandham on Aug 4, 2010 2:24 PM

    Hi ,
       My requirement is ,I need to merge two mappings into one mapping without using BPM.
    My File to File scenario communication channel is controlled externally by using Proxy-to-Http scenario.
    For this I have used two mappings say when the value for the action is START then the File receiver communication channel should be stopped(which is already polling) and again the Action START should passed to the Receiver File Channel to start again using the proxy-http scenario.
    Now I need to merge the two mappings into a single mapping so as to perform the above stated flow without using BPM.
    lavanya

  • Taking control back while calling stored procedure using java programme

    I have stored procedure to load data. This procedure is invoked by java program.
    The stored procedure take around 10 to 15 minutes to do complete loading of database. I want to write stored procedure when it starts loading of database at the same return the control to calling java programme so that java program can do other operation i.e. java program can not wait for control back from stored procedure.
    In short stored procedure runs in background and return control back to java program when stored procedure is invoked. Is it possible then How we can achieve this.

    U can acheive this using Java Threads. Create a thread submit this loading job. Once you submit the thread, you will get the control back to do other stuff.
    Documentation:
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html
    -aijaz

  • Call external command using java

    Hi !
    I want to call a external command in linux system with java .I am new to this ,so need help ..
    Suppose a command is known as "foobar" in linux .generally executed by
    $./foobar
    What I was thinking is to call this using java and return the output to a file .
    how do I do this ?

    Take a look at ProcessBuilder.

  • I need to select and upload a image and corresponding url from an external website using file upload control in MVC4. Please help

    I need to select and upload a image and corresponding  url from an external website using file upload control in MVC4.
    Please help
    Latheesh K Contact No:+91-9747369936

    This forum supports .NET Framework setup.
    As your issue appears to have nothing to do with .NET Framework setup, please ask in the MVC forums for best support.
    http://forums.asp.net/1146.aspx/1?MVC

  • How do I stop the main volume slider being controlled by external hardware?

    Hi
    I really want to STOP the main volume slider in Logic 7.2 from being controlled by the main output volume knob of my Novation A-Station (external hardware synth).
    How do I just STOP that slider in Logic from responding to ANY midi messages?
    Cheers!

    Thanks - but i'm not clear on this.
    Is there a simple way of just stopping a slider or other control (like PAN for example!) from being controlled by MIDI ? I just want to be able to choose the thing in Logic and tell it "NO!! you will not be controlled by anything other than my mouse!!"
    I now notice that another knob on my Edirol Keyboard is controlling the main track PAN in Logic!

  • Multiple Speaker Output Control using Java!

    Hi,
    I am trying to connect around 4 speakers in 4 different rooms of the house. I would to create a Java program to play music through only 1 of the four at any one time or even better play different music in different speakers. How would i go about connecting these speakers to a PC and how would i control using Java what gets played in which speakers. I know this might be a little outside the scope of this forum but i dont know where else to go...ANY help will be REALLY appreciated.
    thanks guys!

    Checked this ? 
    http://windows.microsoft.com/en-AU/windows/no-sound-help#no-sound=windows-xp&v1h=win8tab1&v2h=win7tab1&v3h=winvistatab1&v4h=winxptab1
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • How to ge a hardware id using java?

    how to ge a hardware id using java? like cpu id??

    Why do you want the CPU code ?
    If you could read this using Java, it would fail most of the time, because a great many people are either not running Intel CPUs, or, like me, have the identification number 'feature' turned off.
    You'd get along much better if you view the Virtual Machine as the hardware on which you are running. Thus the concept of a CPU, or the 'Operating System' doesn't exist. Not true, but it would save you a great deal of disappointment, and would make your code much more portable. Can your code run on a machine that interprets Java natively in the CPU, for example?

  • How to execute external  spawned process using  java

    Hi,
    I am executing PGP from command line using java.
    For adding the public key I use Runtime object like this
    Runtime rt = Runtime.getRuntime();
    Process process = rt.exec("pgp -ka "+"d:/Mangesh/pubkey/sandy.asc "+"C:/PROGRA~1/NETWOR~1/PGPNT/keyrings/pubring.pkr");PGP is executing this but inbetween it asked for confirmation "Do you want to add public key (y/n)"
    I am providing data to process this way:
    PrintWriter pw = new PrintWriter(new OutputStreamWriter( process.getOutputStream()));
    pw.write('y');
    pw.flush();But after this their is no execution from PGP and console remains until I closed it.
    PGP is waiting for ENTER KEY
    How can I provide ENTER KEY from java
    This is right method ??? or any other options are available??
    I am awaiting for your valuable suggestions .
    Regards
    Man479

    On Windows the "enter key" consists of two characters: carriage return and a line feed (\r\n). You may have to send both. If that doesn't work, pgp is not reading the reply through stdin, only through the console, and there's no way to pass the 'y' to it through Java.

Maybe you are looking for

  • Printing to Epson CX4200

    I just bought an new iMAC G5 with an Epson CX 4200. I plugged it in, the Mac recognized the printer and it prints great B&W. When I print in color however I get red and blue text in a seperate lines, almost mirrored on top of each other. Is it a prin

  • How to have the library updated between two computers?

    I have two computers. One is running Windows XP(always on) with iTunes and the whole library in it. I share this iTune library wirelessly so that my MacBook Pro can access it. The problem is - whenever I update my library from one of this computers,

  • Calling a C++ MFC dialog from c code

    Hi, I use MFC for the GUI and want to use a dialog class from within the C code. Is that possible? Any comments gratefully appreciated.

  • MOVED: MSI AFterburner & Ti Hawk

    This topic has been moved to Overclockers & Undervolting & Modding Corner. https://forum-en.msi.com/index.php?topic=154628.0

  • Downloading songs from iTune network

    Hi there! I have broadband in my house and 2 of my housemates also have iTunes so I have access to all their tunes but I don't know how to download them to my iTunes. I have selected copy when a song is highlighted but nothing seems to happen. Can pl