how do i read data's on serial port(rs232). please tell me what is the procedure to do this. and any example in java. i am using microcontroller 89s52. please any one help me. thank you
I'd take a look at how Micro Manager does it. This is a software package written in java for use with microscopes, and many of the common microscope automation systems rely on RS-232 communication. I don't know for sure if the java layer has direct access to the serial port, but you can read up on it here: https://valelab.ucsf.edu/~MM/MMwiki/index.php/Micro-Manager_Programming_Guide