Tuesday, September 8, 2015

Prepare jSSC - download and add library to NetBeans, and create project using it.

jSSC (Java Simple Serial Connector) is a library for working with serial ports from Java. jSSC support Win32(Win98-Win8), Win64, Linux(x86, x86-64, ARM), Solaris(x86, x86-64), Mac OS X 10.5 and higher(x86, x86-64, PPC, PPC64)

link: https://code.google.com/p/java-simple-serial-connector/

Here show how to download and add library to NetBeans, and create NetBeans project using jSSC library. Next post will show a javaFX example to communicate with Arduino Uno via USB Serial.

Prepare jSSC - java serial port communication library - Download and add library to NetBeans

Prepare jSSC - Create NetBeans project using jSSC library

Example of using Java + jSSC:
- Example of using jSSC, communicate between JavaFX and Arduino Uno via USB Serial port
- JavaFX + jSSC - read byte from Arduino Uno, read from Analog Input
JavaFX + jSSC - read byte from Arduino Uno, display in LineChart
Bi-direction communication between Arduino and PC using Java + jSSC
Java + JavaFX + jSSC run on Raspberry Pi, control Arduino Uno
Java/JavaFX/jSSC control Arduino + 8x8 LED Matrix
- Raspberry Pi control Arduino + 8x8 LED Matrix, using Java/JavaFX/jSSC


  1. Hello, I have been working for several days to get my Arduino serial communications working, and you have the best tutorials I've found. Sadly, even after installing NetBeans and adding JSSC to my NetBeans library, the Adruino IDE isn't accessing it. What needs to be done so the IDE finds the JSSC?



    1. As I know, Arduino IDE (start from ARDUINO 1.5.6 BETA - 2014.02.20) come with jssc, no extra installation needed.

      reference: https://www.arduino.cc/en/Main/ReleaseNotes

  2. Thanks. have the port working now.

    Appreciate your time.