Hi guys,
I purchased an arduino a little while ago to start making a digital dashboard for my car. My initial progress can be see here:
arduino.cc/forum/index.php/topic,72862.msg547849.html
The idea was to have a number of inputs into the arduino and then output them to the LCD screen.
However, I have since learned that my wideband controller, the TechEdge 2J2 (the bit that allows me to measure the air-fuel ratio of the running engine) is capable of taking in RPM, speed, AFR and 2 other analogue measurements and then outputting them (typically to a gauge) via an RS232 serial output.
Therefore, instead of having lots of wiring to the arduino etc, I intend to connect all the sensors to the wideband controller and connect this to the arduino via the TX/RX serial, the arduino would then process the data and output it to the LCD screen.
HOWEVER, I have no experience of using serial communication (other than hello world type examples) or data capture/interpretation. I understand the basic concepts, how data is transferred etc, but that is all.
Can you please advise me on some good reading articles/tutorials that will help me get up to speed with how to go about my project. My understanding is that I will have to first retrieve the information from the wideband controller, then extract the relevant bits, interpret them, perform any calculations etc and then write them to the screen.
At the moment I have no idea how this is done, particularly the getting data and extracting the relevant bits. Is there some sort of standard "format" in which the serial data will be recieved or will I have to get in touch with the product manufacturer in order to understand what the serial data means as it comes out of the wideband controller. I am told that the technical support is excellent, so I hope they will be willing to help.
Similar projects are linked below. Whilst they retrieve data from a megasquirt ECU, the concept I believe is exactly the same.
EDIT:
So having done some reading, it would seem that the RS232 stream coming from the wideband will have to go through a MAX232 chip to convert the RS232 to 0V and 5V TTL.