Skip to main content
Became Hot Network Question
added 5 characters in body
Source Link
dda
  • 1.6k
  • 1
  • 12
  • 18

I have 2 Arduino Nano that will communicate in half duplex mode with transcievertransceiver using MAX485. But the master has libraries like Wire.h, uses tone() and also recievesreceives UART communication.

I'm a beginner and I'm a little bit confused regarding serial communication. I read when using SoftwareSerial inrerruptsinterrupts called by some libraries can mess up SoftwareSerial's timer and it will not interpret incoming bytes correctly.

3 bytes are sendsent when something changes/max. every 200ms200 ms. So not a lot of data and at baud 9600 baud. Will it cause any problems when running RS485 on SoftwareSerial + together with DFPlayer? (DFPlayer's TX is disconnected)

Also, when it becomesdoes become a problémproblem using SoftwareSerial?

I have 2 Arduino Nano that will communicate in half duplex mode with transciever using MAX485. But the master has libraries like Wire.h, uses tone() and also recieves UART communication.

I'm a beginner and I'm a little bit confused regarding serial communication. I read when using SoftwareSerial inrerrupts called by some libraries can mess up SoftwareSerial's timer and it will not interpret incoming bytes correctly.

3 bytes are send when something changes/max. every 200ms. So not a lot of data and at baud 9600. Will it cause any problems when running RS485 on SoftwareSerial + together with DFPlayer? (DFPlayer's TX is disconnected)

Also, when it becomes a problém using SoftwareSerial?

I have 2 Arduino Nano that will communicate in half duplex mode with transceiver using MAX485. But the master has libraries like Wire.h, uses tone() and also receives UART communication.

I'm a beginner and I'm a little bit confused regarding serial communication. I read when using SoftwareSerial interrupts called by some libraries can mess up SoftwareSerial's timer and it will not interpret incoming bytes correctly.

3 bytes are sent when something changes/max. every 200 ms. So not a lot of data and at 9600 baud. Will it cause any problems when running RS485 on SoftwareSerial + together with DFPlayer? (DFPlayer's TX is disconnected)

Also, when it does become a problem using SoftwareSerial?

Source Link

Software serial and RS485

I have 2 Arduino Nano that will communicate in half duplex mode with transciever using MAX485. But the master has libraries like Wire.h, uses tone() and also recieves UART communication.

I'm a beginner and I'm a little bit confused regarding serial communication. I read when using SoftwareSerial inrerrupts called by some libraries can mess up SoftwareSerial's timer and it will not interpret incoming bytes correctly.

3 bytes are send when something changes/max. every 200ms. So not a lot of data and at baud 9600. Will it cause any problems when running RS485 on SoftwareSerial + together with DFPlayer? (DFPlayer's TX is disconnected)

Also, when it becomes a problém using SoftwareSerial?