Hi There,
I am busy with a major project and might need a lot of help.
I bought a TILT-57A dynamic inclinometer that communicates through RS232 interfacing using ASCII protocol or something similar. I had the order placed with a USB cable connection. From there I have plugged into a male USB cable end from which I connect my four cables directly to the Arduino.
I am not sure how I can program and interface further so that I can at least see some data read from the sensor in the serial monitor. I have tried SoftSerial but I am too unfamiliar with Arduino software in general. I don't think I know what I am doing.
I am still a new user and I am therefore unable to attach the datasheet for the inclinometer but the following but here is some information on the serial interface and data format if it helps.
The TILT-57A uses the following ASCII format, very similar to the widely used NMEA 0183 protocol, for data output:
Inclinometer message: $CSEAG,U,αX,αY,AX,AY,AZ,GX,GY,GZ,T*CC
Which:
AX,AY,AZ: X, Y and Z accelerations in milli g (three-axis accelerometer data)
GX, GY, GZ: X, Y and Z angular velocities in deg/s (three-axis gyroscope data)
αX, αY: Roll & Pitch angles in degrees
T: Internal temperature in degrees Celsius
U: Device unit number
CC: Checksum (Two ASCII characters)
: Carriage return, and line feed characters
Is there a simplistic program that anyone can help me with just to extract the data and maybe print the lines in the serial monitor for example:
$CSEAG,1,+006.756,-003.813,+0116.53,-0065.42,+0981.42, ,+000.21,-000.16,-000.27,+29.7*68
I would just like to at least read something.