Hi guys, I´m new here and i might not do everything right so sorry for that in advance.
my Project right now is using a Levelshifter and Arduino to read a Consistent Datastream of my Cars ECU. it´s Serial with 187500 Baud and only in one direction. i configured a Softwareserial for the ECU side and used the Hardwareserial to see what is happening. right now i can read the Stream as intendet and can see it in the Serial Monitor of the Arduino IDE. my Problem is Arranging it in an Array so i can Order every Byte of data and convert it to readable Data to output it on a Display.
the Stream is built up like this:
s a continuous stream with a start and end byte and 31 Bytes inbetween so together 33 Bytes it starts with 0xBB/187 dec and ends with 0xAA/170 dec. my Problem is that Arranging it in an character Array does not work. i think its converting it to an obscure Ascii Code and Arduino outputs nothing a vertical mirrored Questioning Mark.
i hope someone might be able to help me.
thanks in advance.
I´ll include the code in a comment when i find out how.
Setup is pretty simple,
Arduino UNO, Automotive KKL Adapter for Levelshifting from 12V to 5V And Bosch ECU