Hi to everyone,
I'm implementing a serial communication between Arduino Uno and a Non Invasive Blood Pressure Model (NIBScan NIBP OEM module). This module has a RS232 port and I've used a RS232 to TTL converter to wire the module to Arduino.
I must send serial commands to the Module this way:
<STX>01;;D7<EXT> => Start measuring
<STX>18;;DF<EXT> => Read status from slave.
The problem is that I don't know how to correctly send the "<STX>" (0x02) and "<ETX>" (0x03) chars. I've tried this way:
blood_pressure_board.print("\u000218;;DF\u0003");
blood_pressure_board.print("<STX>18;;DF<ETX>");
but it doesn't work.
Besides, after booting, the module has to send a message like this:
<STX>S1;A0;C00;M00;P135345234;R087;T6890;;D9<ETX><CR>
but what I get into serial monitor of Arduino (setting 4800 baud rate how indicated into the guide) is:
Ë–X`1ƒ¶ fÌ;Mƒ¶µeË–µkÖ¬egÔ-k¶ È� Û Í´`Ã�9 Ö˜°jÌ�Á¶ 3Ì�Mƒ¶ZgË–-k Ë–X`˜;ÁMÁk˵j£ 9Ë6¬˜°˜;ƒ¶ 3Ì�MÁ¶ YË–-«Ö¬Ù3Ë–íF dÈ ; fÚ°á
What am I getting wrong?