connecting arduino ide with other software

Hi,

Currently,I am making a project with help of temperature sensor and arduino.
I want to display the value of temperature, obtain with those two on the software(that i made on netbeans with help of java application) and that software will save the data into mySQL database(so in future to display that temperature again, in that software).

As of now, I manage to do the project in parts(completed the software & mySql connection).

But I cant figure out the way to connect the software and Arduino IDE together.

Anyone can please help me??

THANKS

http://plugins.netbeans.org/plugin/46054/arduino

I think you are not understanding the purpose of the Arduino IDE. The Arduino IDE is merely used to write, compile, and upload code that will run on the microcontroller of your Arduino board. It sounds like you want to connect your software with the Arduino board, not the Arduino IDE.

You do not use the IDE (integrated development environment) because you are not developing at that point.

The arduino will output serial information (what you see in the serial monitor). The IDE is just one way to see what the arduino is doing. For your program, you instead want it to see what the arduino is doing. Your problem is connecting the software to the arduino's output. Your problem is NOT about connecting the software to the IDE software.

Arduino data >> IDE

Arduino data >> software

You are wrong for thinking it is
Arduino data >> IDE >> software

a Java program can use the jSerialComm software to receive serial data from the Arduino

INTP:
You do not use the IDE (integrated development environment) because you are not developing at that point.

The arduino will output serial information (what you see in the serial monitor). The IDE is just one way to see what the arduino is doing. For your program, you instead want it to see what the arduino is doing. Your problem is connecting the software to the arduino's output. Your problem is NOT about connecting the software to the IDE software.

Arduino data >> IDE

Arduino data >> software

You are wrong for thinking it is
Arduino data >> IDE >> software

thanks for reply.

And yeah, thats what I want to do but I don't the way to do it.

I think first I will try what @horace mention

horace:
a Java program can use the jSerialComm software to receive serial data from the Arduino

horace:
a Java program can use the jSerialComm software to receive serial data from the Arduino

hey horace there some issue with jserialcomm library.

So, Is there any other way ?

what problems have you had?
I have used it communicating with an Arduino OK
e.g. a VERY simple terminal

// jSerialComm read integer and transmit to COM port

// java -cp D:\Programming\JAVA\JSerialComm\jSerialComm-1.3.11.jar;.  SimpleTerminal

import com.fazecast.jSerialComm.*;
import java.util.*;

public class SimpleTerminal {
  public static void main(String[] args) { 
  Scanner console = new Scanner(System.in);
   System.out.println("List COM ports");
   SerialPort comPorts[] = SerialPort.getCommPorts();
       for (int i = 0; i < comPorts.length; i++)   
          System.out.println("comPorts[" + i + "} = " + comPorts[i].getDescriptivePortName());
  int port = 1;
  comPorts[port].openPort();
  comPorts[1].setBaudRate(115200);
  try {
    while (true)
    {
      System.out.print("*");
      if(console.hasNext())
           {
        System.out.println("enter chars ");
           String s = console.nextLine() + "\n";                // read Byte
         //  comPorts[port].writeBytes(data, 1);
           byte[] writeBuffer=s.getBytes() ;
           comPorts[port].writeBytes(writeBuffer, writeBuffer.length);
           System.out.println("write " + writeBuffer.length);
          }
     // read serial port for response and display it
      while (comPorts[port].bytesAvailable() > 0)
          {//   Thread.sleep(20);
          byte[] readBuffer = new byte[comPorts[port].bytesAvailable()];
          int numRead = comPorts[port].readBytes(readBuffer, readBuffer.length);
          System.out.print("Read " + numRead + " bytes from COM port: ");
          for (int i = 0; i < readBuffer.length; i++)   
           System.out.print((char)readBuffer[i]);
          System.out.println();
          }
     }
  } catch (Exception e) { e.printStackTrace(); }
  comPorts[1].closePort();  
}
}

I am running on a desktop with COM1 so it opens the second COM port in this case COM7

List COM ports
comPorts[0} = Communications Port (COM1)
comPorts[1} = Arduino MKR FOX 1200 (COM7)
*666666
enter chars
write 7
*

I have a JavaFX GUI terminal somewhere will look for it