How to make a java program sends data from PC to PIC or Arduino via serial port ?

Java

Video is ready, Click Here to View ×


Website: http://www.emaraic.com
Facebook Page: https://www.facebook.com/emaraic.page
**********************
“to see video in a good quality use 480p ”
javaxcomm lib and source code :-
http://www.mediafire.com/?bezau6ahv6fhmr5
or
http://www.4shared.com/rar/g0smzN9c/codes_and_javaxcomm_lib.html
netbeans:-
http://netbeans.org/downloads/
jdk7:-
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
virtual serial port…

36 thoughts on “How to make a java program sends data from PC to PIC or Arduino via serial port ?

  1. Hi Tahae marah,
    I developed PIC serial communication with PC . I send data from putty to PIC its working fine. But I tried your java code to send data its not working. I am using RXTX. I thing your code is working fine but my pic not receive data after I close your code and try in putty but it send what I gave data from java it apped with putty data now PIC work its my problem

  2. i got this:  Error loading win32com: java.lang.UnsatisfiedLinkError: C:Program FilesJavajdk1.8.0_31jrebinwin32com.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform !! 
    what should i do ?? 

  3. hi, I doing a software project in java about importing data and information from Scientific instrumenst like Atomic Absorption machine or read from compact scales. I am having a challenge when I want to receive information from RS232 serial connector. please …. would you help me.
    my email address is mbuyambaelie@gmail.com
    your work was impressive and great.
    thanks

  4. 1- you should add comm.jar to your project file "comm.jar" located in javaxcomm library folder
    as shown in video
    2- you should add some files "javaxcomm files " to different locations as :-

    1) win32com.dll : keep it in JAVA_HOME’s bin directory.
    In my case I placed it here C:Program FilesJavajdk1.6.0_05jrebin and c:windowssystem32

    2)comm.jar : place it in JAVA_HOME’s libext directory.
    Mine was in C:Program FilesJavajdk1.6.0_05jrelibext

Leave a Reply

Your email address will not be published. Required fields are marked *