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


Video is ready, Click Here to View ×

Facebook Page:
“to see video in a good quality use 480p ”
javaxcomm lib and source code :-
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
    your work was impressive and great.

  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 *