• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

serial communication with microcontrollers using java

 
Dhanno
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am a new comer to this forum and i love java as language but i have worked for jdbc,jsp but now i am getting interest in java system programming..
i have a belief that java can do better then any other laguage at system level as it is platform independent.., so i want to know that is it possible reading serail port of pc from java language i/o stream class ..bcoj if it is possible then i would like to communicate my java programme to microcontrollers...using rs232 ..standards...pls don't feel bad for silly ques , but i really don't know anything....about this...
if somebody there..then do let me know...
i will be really thankful...
 
Matt Senecal
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know about microcontrollers, but in the past I've used Java to control remotely located radio equipment (transceivers, receiver, DF) in real-time. The control program used the serial port and actually wrote the hex control codes to the port. It worked very well!
Originally posted by Dhanno:
i am a new comer to this forum and i love java as language but i have worked for jdbc,jsp but now i am getting interest in java system programming..
i have a belief that java can do better then any other laguage at system level as it is platform independent.., so i want to know that is it possible reading serail port of pc from java language i/o stream class ..bcoj if it is possible then i would like to communicate my java programme to microcontrollers...using rs232 ..standards...pls don't feel bad for silly ques , but i really don't know anything....about this...
if somebody there..then do let me know...
i will be really thankful...
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dhanno,
Please change your name to be compliant with JavaRanch's naming policy.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
Thanks,
Cindy
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dhanno:
so i want to know that is it possible reading serail port of pc from java language i/o stream class ..bcoj if it is possible then i would like to communicate my java programme to microcontrollers...using rs232 ..standards...

You might want to look at the Java Communications API: http://java.sun.com/products/javacomm/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic