| Author |
serial communication with microcontrollers using java
|
Dhanno
Greenhorn
Joined: Jun 25, 2002
Posts: 1
|
|
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...
|
Dhananjay Panwar<br />Design Engineer<br />Narnix Technologies<br />New Delhi<br />India
|
 |
Matt Senecal
Ranch Hand
Joined: Dec 01, 2000
Posts: 255
|
|
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...
|
There's nothing more dangerous than a resourceful idiot. ---Dilbert
|
 |
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
|
|
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
|
"JavaRanch, where the deer and the Certified play" - David O'Meara
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
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/
|
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
|
 |
 |
|
|
subject: serial communication with microcontrollers using java
|
|
|