Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.99 KB

File metadata and controls

23 lines (18 loc) · 1.99 KB

The Java Arduino Communication Library

SourceForge Weekly Downloads SourceForge Total Downloads

How to use:

To use the library, download and important both 'Arduino.jar' and 'jSerialComm-1.3.11.jar' into your JAVA project. Instructions on how to do so can be found on the instructions page in the wiki.

The source code for the library and examples on how to use it can be found in the 'src' folder. Feel free to contribute!

Description

Serial Communication between Arduino and Java has never been simpler. A better alternative to the RXTX library, the JavaArduinoLibrary is an easy to use library with simple methods that allow you, the JAVA programmer, to read and write from the serial port. Seamless serial communication with the port of your choice. It uses the jSerialComm library by fazecast for serial port access. Refer to the instructions page in the wiki for more information.
IMPORTANT: please download and import both JARs in the files into your project.

Features

  • Contains an arduino class whose objects can be used to communicate with the given port.
  • Platform-independent development ensuring uniformity across platforms.
  • Easy (overloaded) functions for serialRead() and serialWrite().
  • Overloaded constructors make it easy to make an object irrespective of scenario.
  • Also contains a class which will list all available serial ports for connection.
  • Getter and setter methods expand the use case to any scenario.
  • Does not require any firmware to be uploaded into the arduino beforehand. Will work out of the box.

    IMPORTANT: please download and import both JARs in the files into your project.