I have one external sensor and I want it to be connected with Arduino. The sensor came up with a usb cable and the pin out diagram is also given in the data sheet .
When I simply connect the the cabe which came along the sensor (E322968) with no Arduino board involved, but through Arduino IDE and setting baud rate to 115200 I am able to see the output in serial monitor of the Arduino .
Please help me get the data to Arduino variable .
What I tried is connected,
- the RX1 or Arduino mega to the TX1 of the sensor (pin2) and
- from Arduino VCC(5v) to VCC of the sensor :: pin(1)
- ground to gnd of sensor, (pin5)