Hi Guys,
FSAE student here getting pretty stressed over my senior capstone project. We're trying to make a rear wheel steering system that uses steering angle and vehicle speed as an input, so I want to pull the steering angle and wheel speed signals from the dash via the TX pin to an Arduino to compute the actuator outputs.
I'm only familiar with serial communications as of about a week ago though, and I'm starting to reach the limit of my own learning before I need some help. I was able to use the following scripts from the Arduino forums to get two Unos to communicate with one another via the serial connection, but I'm struggling to swap the sender Arduino with the C185.
https://forum.arduino.cc/t/serial-input ... ted/382007
The issue is I don't know what exactly I'm supposed to be receiving. I've set up the RS232 connection in the dash manager to only send steering data for now, so I know the motec is sending what it should, but I don't know how to see that. Are there starting and ending characters, or is it just a constant stream of data? And should I be expecting a certain data type (i.e. char, floats, etc.)
I'm sorry if this is a broad question, I'm just really out of my depth here and none of the forums I've checked over the last week seem to be addressing this issue; they're mostly about serial connections to ECUs. Any help understanding is appreciated!