I am trying to communicate with 2 sensors that operate at a baud of 9600. The sensors operate on 5V logic and so does the Arduino Mega I am using. The sensors are connected to the appropriate power and the logic controls for the multiplexer are set-up and functional. Below is the pins that are connected.
An: Arduino Tx
Bn: Arduino Rx
A0 and A3: Sensor Rx
B0 and B3: Sensor Tx
Vcc: 5V
Vee: 0V
The information returned to the Arduino should be plain ASCII text (ex Z 00123). Instead I am getting stuff like this:
5.þ+
úÂNþ
Êþ ŠÊüÿ1þ0ü üÿùþþŠÿò
ª
úþ¢ÿ
ü%ðøøÿ.
ŠÊÊÀþ01ù0ñð‚‚
�‚.1à
5.ñú2
2ð
¢ùò
The same sensors work when directly connected to the Tx and Rx on the Arduino with the same commands being sent to them. The only difference is the multiplexer chip. Is there something wrong with my set-up and can the multiplexer be used in this situation?