Skip to content

Serial Communication between JAVA and Arduino made easy. Source code and importable JARs available in this repo.

Notifications You must be signed in to change notification settings

WSorban/Java-Arduino-Communication-Library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Serial Communication between JAVA and Arduino made easy. Source code and importable JARs available in this repo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 95.2%
  • Other 4.8%