I'm trying to get a Apex Series 5000 Bill Acceptor to communicate with an Arduino Mega 2560. When I plug the Bill Acceptor's output Serial TTL line into the raw Serial input port (TX0->1) of the Arduino and run the Windows program RealTerm, the data can be seen in the Terminal.
Screenshot: http://i.imgur.com/Nt0LyVs.png
81 (hex) means 1 dollar was inserted in the bill acceptor.
When I try to use the Arduino Mega's Serial1 input port, it doesn't recognize and display the input from the bill acceptor.
Source code: http://codebender.cc/sketch:58090
Is the config in the screenshot different from the config in the source code?