Page 1 of 1

Multiple serial communication

Posted: 16 Jul 2018 08:15
by kjetilhansen
Hello all!

Is there a way to communicate between a atmega328 and the Z-UNO? The TX&RX pin on the mega is already in use. maybe possible to use I2c?

Re: Multiple serial communication

Posted: 17 Jul 2018 03:41
by PoltoS
You can use SPI, I2C or even own digital protocol on a pin (or on many pins). This is up to your imagination

Re: Multiple serial communication

Posted: 26 Jul 2018 07:57
by p0lyg0n1
You could use SoftwareSerial on mega328 too, but I prefer I2C, because you could use only 2 pins for a number of devices. In that case you have to configure mega328 as I2C slave device.