Multiple serial communication

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
kjetilhansen
Posts: 13
Joined: 27 Mar 2017 00:09

Multiple serial communication

Post by kjetilhansen » 16 Jul 2018 08:15

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?

User avatar
PoltoS
Posts: 5081
Joined: 26 Jan 2011 19:36

Re: Multiple serial communication

Post by PoltoS » 17 Jul 2018 03:41

You can use SPI, I2C or even own digital protocol on a pin (or on many pins). This is up to your imagination

p0lyg0n1
Posts: 177
Joined: 04 Aug 2016 07:14

Re: Multiple serial communication

Post by p0lyg0n1 » 26 Jul 2018 07:57

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.

Post Reply