Hi all,
I am currently writing a guide (in HEAVY draft state at the moment) to setting up the serial interface between pySerial and Arduino. I will post final code and documents hopefully within a week or two. That being said if anyone wants to read into the topic to see how to set it up, feel free.
Enjoy!
http://docdroid.net/9uwi
very quick scan
What I miss is real packeting , adding tag characters to indicate the start or end of a transmission/object
e.g <1234>
The < indicates a begin
The > indicates the end
< escapes the < char
\ escapes the \ char
Also consider a chapter about adding checksums e.g. XOR or CRC-32 codes to guard integrity of the data.
robtillaart:
very quick scanWhat I miss is real packeting , adding tag characters to indicate the start or end of a transmission/object
e.g <1234>
The < indicates a begin
The > indicates the end
< escapes the < char
\ escapes the \ charAlso consider a chapter about adding checksums e.g. XOR or CRC-32 codes to guard integrity of the data.
Thanks for the advice. I definitely intend to add the latter and will most likely include the former in the final draft.