Factsheet
Understanding serial communication
RS232 Serial Port: 7 Facts You Need to Know before Using - Knowledge Base - AV Access Community
RS232 serial communication two-way - best practice
RS232 serial communication - two way best practice
Videos
I'm having a hard time wrapping my head around the difference between serial communication standards (bus?) and serial communication protocols. Sometimes I feel like I've seen them used interchangeably and I can't put a finger on the difference. For example RS485 or RS232 vs MODBUS or CAN. What are each of these defining exactly? Logic levels, baud rates and packet structures? Also, what are SPI, I2C, UART, USB.. are those protocols or standards?
I’ve got an Arduino setup with a max3232 allowing me to send and receive serial commands between my arduino and old AV equipment I have.
At the moment I send with the arduino and then essentially ‘listen’ in a loop for a response. My question is ‘what is best practice for doing this?’. I want to maximise the chance of the AV equipment ‘seeing’ the command come through, and then want to maximise the chance of my arduino ‘hearing’ the response and capturing it.
As I understand it, there’s no acknowledgements that happen in the communication in either direction, and the arduino can’t listen and speak at the same time. So what’s the best practice to minimise the chance of the arduino picking up a response?
Thanks!
I’ve got an Arduino setup with a max3232 allowing me to send and receive serial commands between my arduino and old AV equipment I have.
At the moment I send with the arduino and then essentially ‘listen’ in a loop for a response. My question is ‘what is best practice for doing this?’. I want to maximise the chance of the AV equipment ‘seeing’ the command come through, and then want to maximise the chance of my arduino ‘hearing’ the response and capturing it.
As I understand it, there’s no acknowledgements that happen in the communication in either direction, and the arduino can’t listen and speak at the same time. So what’s the best practice to minimise the chance of the arduino picking up a response?
Thanks!