I am trying to use Java to detect signals from the serial port sent from an IR circuit. When the IR circuit detects an obstacle, it gives an output of 0 volts and otherwise the output is 5 volts. Can I read these voltage differences directly on the PC using Java. Do I need to have a PIC or some other micro controller integrated in the circuit?
shawnv100 0 Newbie Poster
Recommended Answers
Jump to PostA steady 5v or 0v signal is not a standard RS-232 signal. First, you need a specialized driver capable of detecting that the voltage change is valid and not just a transient glitch (not uncommon), and then passing the appropriate information to the user-space application (java in this case). Honestly, …
All 4 Replies
NormR1 563 Posting Sage Team Colleague
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
shawnv100 0 Newbie Poster
shawnv100 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.