I want to use a maxbotix mb1030 sensor and i wish to use the “TX” output of this sensor in which it gives:
When the *BW is open or held low, the TX output delivers
asynchronous serial with an RS232 format, except voltages are 0-Vcc.
The output is an ASCII capital “R”, followed by three ASCII character
digits representing the range in inches up to a maximum of 255,
followed by a carriage return (ASCII 13). The baud rate is 9600, 8
bits, no parity, with one stop bit. Although the voltage of 0-Vcc is
outside the RS232 standard, most RS232 devices have sufficient
margin to read 0-Vcc serial data. If standard voltage level RS232 is
desired, invert, and connect an RS232 converter such as a MAX232.
When BW pin is held high the TX output sends a single pulse, suitable
for low noise chaining. (no serial data).
now, it looks like the only way that i can read this input with the arduino is to connect it to the RX pin on the arduino (i have an arduino nano)
i read up on some documentation and it says that this serial connection with the pins 0 & 1 (rx and tx) is the same serial connection that the arduino uses to connect to the computer. How would i go about connecting this so that i can use the digital output from the sensor, power the arduino via USB and display the range numbers in the serial monitor inside the arduino program?
or is this not possible…?
it is okay for me if it is not possible to do but it would be nice to see live ranges show up on my computer for debugging purposes