This post will guide you through on how to do serial communication through the RXTX library on java. Well of course first you will have to download the library, install before anything.
Download page : http://rxtx.qbang.org/wiki/index.php/Download
Instructions on installation: http://rxtx.qbang.org/wiki/index.php/Installation_for_Windows
Now you are good to go. In order to start coding you will have to import gnu.io.* to your program. I will follow this post with one explaining a sample code
Download page : http://rxtx.qbang.org/wiki/index.php/Download
Instructions on installation: http://rxtx.qbang.org/wiki/index.php/Installation_for_Windows
(Windows)
Now you are good to go. In order to start coding you will have to import gnu.io.* to your program. I will follow this post with one explaining a sample code
Thanks for putting this guide together! Getting RXTX working was a real headache for me too back in the day—those DLLs always ended up in the wrong folder. Your step-by-step is way clearer than the official wiki's scattered notes.
ReplyDelete________________
The Nema 17 stepper motor is trusted solution for precision motion, delivering dependable performance consistently.